packageresources 0.1: Standard access to package related resources
dieter at handshake.de
Fri May 27 14:42:34 CEST 2005
packageresources is a Python package for
standard access to package related resources (e.g. configuration files,
package related data, presentation templates, ...). Such a standard access
is essential for applications running from a zip archive or as a frozen
application (in case they use associated non-code resources).
packageresources defines a new
URL scheme (see RFC 2396), the 'pypackage' scheme, used to
designate package resources and a set of functions to access
such resources. It also provides a function to patch Python's
standard library such that 'pypackage' URLs are handled
transparently. The current implementation supports packages in the
filesystem or in a zip archive and frozen packages. It has been tested
on *nix and Windows (XP). Not everything may work for installations
using the macpath module (i.e. older Macintoshs).
Read "doc.rst" in the tarball, for details.
More information about the Python-announce-list