rarfile - RAR archive reader for Python
=======================================
This is Python module for RAR_ archive reading.
The interface follows the style of zipfile_.
Licensed under ISC_ license.
Features:
* Supports both RAR3 and RAR5 format 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.
* Compressed files are extracted by executing external tool:
unrar_ (preferred), unar_, 7zip_ or bsdtar_.
* Works with Python 3.6+.
.. _RAR: https://en.wikipedia.org/wiki/RAR_%28file_format%29
.. _zipfile: https://docs.python.org/3/library/zipfile.html
.. _ISC: https://en.wikipedia.org/wiki/ISC_license
.. _bsdtar: https://github.com/libarchive/libarchive
.. _unrar: https://www.rarlab.com/
.. _unar: https://theunarchiver.com/command-line
.. _7zip: https://www.7-zip.org/
Backends:
+-------------+----------------------+-----------------------------------------------------+
| Backend | Status | Notes |
+=============+======================+=====================================================+
| unrar_ | Supported | * Recommended: full format support. |
| | | * Non-free software, but free to use. |
+-------------+----------------------+-----------------------------------------------------+
| unar_ | Supported | * Not usable on Windows: last build is from 2013 |
| | | (v1.8.1) that does support output to stdout. |
| | | * Does not support RAR2 locked files. |
| | | * Does not support RAR5 Blake2 hash checking. |
+-------------+----------------------+-----------------------------------------------------+
| 7zip_ | Supported | * RAR support not available on Debian/Ubuntu repos. |
+-------------+----------------------+-----------------------------------------------------+
| p7zip_ | Supported | * Unmaintained? |
| | | * Requires ``p7zip-rar`` package on Debian/Ubuntu. |
+-------------+----------------------+-----------------------------------------------------+
| bsdtar_ | Supported | * Not recommended: limited RAR format support. |
| | | * Does not support multi-volume archives. |
| | | * Does not support solid archives. |
| | | * Does not support password-protected archives. |
| | | * Does not support RARVM-based compression filters. |
+-------------+----------------------+-----------------------------------------------------+
| unrar-free_ | Supported | * Supports output to stdout (v0.2.0). |
| | | * Based on libarchive so similar format support |
| | | as ``bsdtar`` but supports multi-volume (v0.3.0). |
+-------------+----------------------+-----------------------------------------------------+
.. _p7zip: https://sourceforge.net/projects/p7zip/
.. _unrar-free: https://gitlab.com/bgermann/unrar-free
Links:
- `Documentation`_
- `Downloads`_
- `Git`_ repo
.. _Git: https://github.com/markokr/rarfile
.. _Downloads: https://pypi.org/project/rarfile/#files
.. _Documentation: https://rarfile.readthedocs.io/
Raw data
{
"_id": null,
"home_page": "https://github.com/markokr/rarfile",
"name": "rarfile",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "rar, unrar, archive",
"author": "Marko Kreen",
"author_email": "markokr@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/26/3f/3118a797444e7e30e784921c4bfafb6500fb288a0c84cb8c32ed15853c16/rarfile-4.2.tar.gz",
"platform": null,
"description": "rarfile - RAR archive reader for Python\n=======================================\n\nThis is Python module for RAR_ archive reading.\nThe interface follows the style of zipfile_.\nLicensed under ISC_ license.\n\nFeatures:\n\n* Supports both RAR3 and RAR5 format archives.\n* Supports multi volume archives.\n* Supports Unicode filenames.\n* Supports password-protected archives.\n* Supports archive and file comments.\n* Archive parsing and non-compressed files are handled in pure Python code.\n* Compressed files are extracted by executing external tool:\n unrar_ (preferred), unar_, 7zip_ or bsdtar_.\n* Works with Python 3.6+.\n\n.. _RAR: https://en.wikipedia.org/wiki/RAR_%28file_format%29\n.. _zipfile: https://docs.python.org/3/library/zipfile.html\n.. _ISC: https://en.wikipedia.org/wiki/ISC_license\n.. _bsdtar: https://github.com/libarchive/libarchive\n.. _unrar: https://www.rarlab.com/\n.. _unar: https://theunarchiver.com/command-line\n.. _7zip: https://www.7-zip.org/\n\nBackends:\n\n+-------------+----------------------+-----------------------------------------------------+\n| Backend | Status | Notes |\n+=============+======================+=====================================================+\n| unrar_ | Supported | * Recommended: full format support. |\n| | | * Non-free software, but free to use. |\n+-------------+----------------------+-----------------------------------------------------+\n| unar_ | Supported | * Not usable on Windows: last build is from 2013 |\n| | | (v1.8.1) that does support output to stdout. |\n| | | * Does not support RAR2 locked files. |\n| | | * Does not support RAR5 Blake2 hash checking. |\n+-------------+----------------------+-----------------------------------------------------+\n| 7zip_ | Supported | * RAR support not available on Debian/Ubuntu repos. |\n+-------------+----------------------+-----------------------------------------------------+\n| p7zip_ | Supported | * Unmaintained? |\n| | | * Requires ``p7zip-rar`` package on Debian/Ubuntu. |\n+-------------+----------------------+-----------------------------------------------------+\n| bsdtar_ | Supported | * Not recommended: limited RAR format support. |\n| | | * Does not support multi-volume archives. |\n| | | * Does not support solid archives. |\n| | | * Does not support password-protected archives. |\n| | | * Does not support RARVM-based compression filters. |\n+-------------+----------------------+-----------------------------------------------------+\n| unrar-free_ | Supported | * Supports output to stdout (v0.2.0). |\n| | | * Based on libarchive so similar format support |\n| | | as ``bsdtar`` but supports multi-volume (v0.3.0). |\n+-------------+----------------------+-----------------------------------------------------+\n\n.. _p7zip: https://sourceforge.net/projects/p7zip/\n.. _unrar-free: https://gitlab.com/bgermann/unrar-free\n\nLinks:\n\n- `Documentation`_\n- `Downloads`_\n- `Git`_ repo\n\n.. _Git: https://github.com/markokr/rarfile\n.. _Downloads: https://pypi.org/project/rarfile/#files\n.. _Documentation: https://rarfile.readthedocs.io/\n",
"bugtrack_url": null,
"license": "ISC",
"summary": "RAR archive reader for Python",
"version": "4.2",
"project_urls": {
"Homepage": "https://github.com/markokr/rarfile"
},
"split_keywords": [
"rar",
" unrar",
" archive"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "62fcab37559419ca36dd8dd317c3a98395ed4dcee2beeb28bf6059b972906727",
"md5": "abfba4b941182ebb4d32d7d793de5123",
"sha256": "8757e1e3757e32962e229cab2432efc1f15f210823cc96ccba0f6a39d17370c9"
},
"downloads": -1,
"filename": "rarfile-4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "abfba4b941182ebb4d32d7d793de5123",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 29052,
"upload_time": "2024-04-03T17:10:52",
"upload_time_iso_8601": "2024-04-03T17:10:52.632861Z",
"url": "https://files.pythonhosted.org/packages/62/fc/ab37559419ca36dd8dd317c3a98395ed4dcee2beeb28bf6059b972906727/rarfile-4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "263f3118a797444e7e30e784921c4bfafb6500fb288a0c84cb8c32ed15853c16",
"md5": "b6ee1935d0fcb29966e5ec27ba62a346",
"sha256": "8e1c8e72d0845ad2b32a47ab11a719bc2e41165ec101fd4d3fe9e92aa3f469ef"
},
"downloads": -1,
"filename": "rarfile-4.2.tar.gz",
"has_sig": false,
"md5_digest": "b6ee1935d0fcb29966e5ec27ba62a346",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 153476,
"upload_time": "2024-04-03T17:10:53",
"upload_time_iso_8601": "2024-04-03T17:10:53.798355Z",
"url": "https://files.pythonhosted.org/packages/26/3f/3118a797444e7e30e784921c4bfafb6500fb288a0c84cb8c32ed15853c16/rarfile-4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-03 17:10:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "markokr",
"github_project": "rarfile",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "rarfile"
}