python-rarfile-2.6-1.fc25.x86_64.rpm


Advertisement

Description

python-rarfile - python-rarfile - RAR archive reader for Python

Property Value
Distribution Fedora 25
Repository CERT Forensics Tools x86_64
Package name python-rarfile
Package version 2.6
Package release 1.fc25
Package architecture x86_64
Package type rpm
Installed size 111.12 KB
Download size 41.71 KB
Official Mirror forensics.cert.org
This is Python module for RAR_ archive reading.  The interface
is made as zipfile_ like as possible.  Licensed under ISC_
license.
.. _RAR: http://en.wikipedia.org/wiki/RAR
.. _zipfile: http://docs.python.org/library/zipfile.html
.. _ISC: http://en.wikipedia.org/wiki/ISC_license
Features:
- Supports both RAR 2.x and 3.x archives.
- Supports multi volume archives.
- Supports Unicode filenames.
- Supports password-protected archives.
- Supports archive 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:
- News: http://rarfile.berlios.de/NEWS.html
- FAQ: http://rarfile.berlios.de/FAQ.html
- API documentation: http://rarfile.berlios.de/doc/
- Downloads, GIT: http://developer.berlios.de/projects/rarfile

Alternatives

Package Version Architecture Repository
python-rarfile-3.0-1.fc25.i686.rpm 3.0 i686 CERT Forensics Tools
python-rarfile-3.0-1.fc25.x86_64.rpm 3.0 x86_64 CERT Forensics Tools
python-rarfile-2.6-1.fc25.i686.rpm 2.6 i686 CERT Forensics Tools
python-rarfile - - -

Requires

Name Value
/usr/bin/python -
python(abi) = 2.7

Provides

Name Value
python-rarfile = 2.6-1.fc25
python-rarfile(x86-64) = 2.6-1.fc25
python2.7dist(rarfile) = 2.6
python2dist(rarfile) = 2.6

Download

Type URL
Binary Package python-rarfile-2.6-1.fc25.x86_64.rpm
Source Package python-rarfile-2.6-1.fc25.src.rpm

Install Howto

  1. Download cert-forensics-tools-release-25 rpm:
    https://forensics.cert.org/cert-forensics-tools-release-25.rpm
  2. Install cert-forensics-tools-release-25 rpm:
    # rpm -Uvh cert-forensics-tools-release*rpm
  3. Install python-rarfile rpm package:
    # dnf --enablerepo=forensics install python-rarfile

Files

Path
/usr/lib/python2.7/site-packages/rarfile-2.6-py2.7.egg-info
/usr/lib/python2.7/site-packages/rarfile.py
/usr/lib/python2.7/site-packages/rarfile.pyc
/usr/lib/python2.7/site-packages/rarfile.pyo
/usr/share/doc/python-rarfile/LICENSE
/usr/share/doc/python-rarfile/PKG-INFO
/usr/share/doc/python-rarfile/README.rst

Changelog

2013-04-10 - Marko Kreen <markokr@gmail.com> 2.6-1
* Release 2.6-1
Version 2.6 (2013-04-10)
Add context manager support for RarFile class. Both RarFile and RarExtFile support with statement now. (Wentao Han)
RarFile.volumelist() method, returns filenames of archive volumes.
Re-throw clearer error in case unrar is not found in PATH.
Sync new unrar4.x error code from rar.txt.
Use Sphinx for documentation, push docs to rtfd.org
Version 2.5 (2012-01-19)
Fixes:
RarExtFile.read() and RarExtFile.readinto() now do looping read to work properly on short reads. Important for Python 3.2+ where read from pipe can return short result even on blocking file descriptor.
Proper error reporting in RarFile.extract(), RarFile.extractall() and RarFile.testrar().
RarExtFile.read() from unrar pipe: prefer to return unrar error code, if thats not available, do own error checks.
Avoid string addition in RarExtFile.read(), instead use always list+join to merge multi-part reads.
dumprar: dont re-encode byte strings (Python 2.x). This avoids unneccessary failure when printing invalid unicode.
Version 2.4 (2011-11-05)
Fixes:
USE_DATETIME: survive bad values from RAR
Fix bug in corrupt unicode filename handling
dumprar: make unicode chars work with both pipe and console
Version 2.3 (2011-07-03)
Features:
Support .seek() method on file streams. (Kristian Larsson)
Support .readinto() method on file streams. Optimized implementation is available on Python 2.6+ where memoryview is available.
Support file comments - RarInfo.comment contains decompressed data if available.
File objects returned by RarFile.open() are io.RawIOBase-compatible. They can further wrapped with io.BufferedReader and io.TextIOWrapper.
Now .getinfo() uses dict lookup instead of sequential scan when searching archive entry. This speeds up prococessing for archives that have many entries.
Option UNICODE_COMMENTS to decode both archive and file comments to unicode. It uses TRY_ENCODINGS for list of encodings to try. If off, comments are left as byte strings. Default: 0
Option PATH_SEP to change path separator. Default: r'\', set rarfile.PATH_SEP='/' to be compatibe with zipfile.
Option USE_DATETIME to convert timestamps to datetime objects. Default: 0, timestamps are tuples.
Option TRY_ENCODINGS to allow tuning attempted encoding list.
Reorder RarInfo fiels to better show zipfile-compatible fields.
Standard regtests to make sure various features work
Compatibility:
Drop RarInfo.unicode_filename, plain RarInfo.filename is already unicode since 2.0.
.read(-1) reads now until EOF. Previously it returned empty buffer.
Fixes:
Make encrypted headers work with Python 3.x bytes() and with old 2.x ‘sha’ module.
Simplify subprocess.Popen usage when launching unrar. Previously it tried to optimize and work around OS/Python bugs, but this is not maintainable.
Use temp rar file hack on multi-volume archives too.
Always .wait() on unrar, to avoid zombies
Convert struct.error to BadRarFile
Plug some fd leaks. Affected: Jython, PyPy.
Broken archives are handled more robustly.
2010-08-19 - Marko Kreen <markokr@gmail.com> 2.2-1
* Release 2.2-1
Fixes:
* Relaxed volume naming.  Now it just calculates new volume name by finding number
in old one and increasing it, without any expectations what that number should be.
* Files with 4G of compressed data in one colume were handled wrong.  Fix.
* DOS timestamp seconds need to be multiplied with 2.
* Correct EXTTIME parsing.
Cleanups:
* Compressed size is per-volume, sum them together, so that user sees complete
compressed size for files split over several volumes.
* dumprar: Show unknown bits.
* Use ``struct.Struct()`` to cache unpack formats.
* Support missing ``os.devnull``. (Python 2.3)

See Also

Package Description
python-registry-1.2.0-1.fc25.x86_64.rpm Read access to Windows Registry Files
python2-certifi-2016.9.26-2.fc25.noarch.rpm %{sum}
python2-certifi-2018.1.18-1.fc25.noarch.rpm %{sum}
python2-psutil-5.4.3-4.fc25.x86_64.rpm A process and system utilities module for Python
python2-ssdeep-3.2-1.fc25.x86_64.rpm Python wrapper for the ssdeep library
python3-certifi-2016.9.26-2.fc25.noarch.rpm Python 3 package for providing Mozilla's CA Bundle
python3-certifi-2018.1.18-1.fc25.noarch.rpm Python 3 package for providing Mozilla's CA Bundle
python3-psutil-5.4.3-4.fc25.x86_64.rpm A process and system utilities module for Python
python3-ssdeep-3.2-1.fc25.x86_64.rpm Python wrapper for the ssdeep library
pytsk3-20160721-1.fc25.x86_64.rpm pytsk - Python binding for The Sleuth Kit
pytsk3-20170324-1.fc25.x86_64.rpm pytsk - Python binding for The Sleuth Kit
pytsk3-20170802-1.fc25.x86_64.rpm pytsk - Python binding for The Sleuth Kit
pytsk3-20171108-1.fc25.x86_64.rpm pytsk - Python binding for The Sleuth Kit
pytsk3-20180228-1.fc25.x86_64.rpm pytsk - Python binding for The Sleuth Kit
qphotorec-7.0-3.1.fc25.x86_64.rpm Signature based file carver. Recover lost files
Advertisement
Advertisement