RAR Archive Reader for Python
http://rarfile.berlios.de/
This is Python module for RAR archive reading.
Features:
- Supports both RAR 2.x and 3.x archives.
- Supports multi volume archives.
- Supports Unicode filenames.
- Supports password-protected archives.
- Supports archive and file comments.
- Archive parsing and non-compressed files are handled in pure Python
code.
- For compressed files runs ``unrar`` utility.
- Works with both Python 2.x and 3.x.
- Links to devel:languages:python / python-rarfile
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:alois:branches:devel:languages:python/python-rarfile && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
python-rarfile.changes | 0000010074 9.84 KB | |
python-rarfile.spec | 0000002438 2.38 KB | |
rarfile-4.2.tar.gz | 0000153476 150 KB |
Latest Revision
- Update to version 4.2 Features: * Support unrar-free >= 0.2.0. * Add RarFile.is_solid to check if archive uses solid compression. Fixes: * Support old multi-volume archives better where ENDARC does not contain NEXTVOL. version 4.1: Features: * Support 7zip/p7zip as decompression backend. * RAR5: check password before trying to read file. New APIs: * Make get_rar_version a public function. * New option: ``part_only`` for :class:`RarFile`, to read only single file and allow it to be middle-part of multi-volume archive. * Add :meth:`RarFile.printdir`, use it in dumprar. Needed to examine FILE_COPY or HARD_LINK entries that do not contain data. Fixes: * Use OS separator to access filename. * DirectReader: check seek position on each read. Fixes read reading from multiple entries in parallel on RarFile backed by file object. * DirectReader: properly disable CRC check when seeking. * Reset _hdrenc_main before processing a new volume. Fixes CRC checks on multi-volume reads. * Adapt to Python 3.10 argparse. * SFX: Handle volume numbering special cases better. * nsdatetime: support pypy internal use
Comments 0