-
Notifications
You must be signed in to change notification settings - Fork 84
pyxar
The Python bindings for xar currently include a single Python module, xarfile, which attempts to be as compatible with the Python tarfile module as reasonably possible.
pyxar is currently under active development, and as such, is incomplete. A brief "todo" list of known issues/unimplemented features is included below.
There existed a previous Python module for xar, simply named xar, but it has been deprecated.
pyxar has been tested to work with Python 2.4 and 2.5, and has the following requirements:
NOTE Pyrex has issues with Python 2.5 and the new-style exception classes it introduced, which may cause cryptic TypeErrors when pyxar tries to raise an exception. This should be fixed in the next Pyrex release.You can get pyxar from xar's Subversion repository: pyxar is currently only available from xar's Subversion repository. It can be checked-out individually:
svn checkout http://xar.googlecode.com/svn/trunk/python pyxar
If you're checking out the entire xar repository, pyxar is located in the python subdirectory.
To build pyxar:
python setup.py build
To install pyxar:
python setup.py install
pyxar's API documentation is currently available in the xar project wiki. This covers the pieces of pyxar that are implemented, and should function as described. As new features are added, they will appear in this documentation.
- Most errors are not properly handled
- XarArchive should implement Python container methods
- XarArchive needs general clean-up and organization to remove the redundant code
- XarInfo filetype methods needs implementing