unrar-cffi -- Work with RAR files.
Description
unrar-cffi is a python extension that exposes unrar library
functionality through a zipfile-like interface.
Features
The package implements the following RarFile functions:
namelist()infolist()getinfo()read()open()testrar()rarfile.is_rar_file()
Usage
-
Install with PIP:
pip install unrar-cffi -
Use from code:
from unrar.cffi import rarfile
rar = rarfile.RarFile('sample.rar')
assert rar.testrar() == None
for filename in rar.namelist():
info = rar.getinfo(filename)
print("Reading {}, {}, {} bytes ({} bytes compressed)".format(info.filename, info.date_time, info.file_size, info.compress_size))
data = rar.read(filename)
print("\t{}...\n".format(data[:100]))
Build
Requirements
Linux:
- gcc compiler suite (
build-essentialpackages should be enough) - docker (only for
buildmanylinux)
Windows:
- VS2017 Build Tools (PLATFORM_TOOLSET=v141)
- Visual C++ compiler suite
Compile and test
./build.sh init./build.sh build./build.sh test
If you have docker installed, you can build all the manylinux wheels:
./build.sh within [manylinux docker image] buildmanylinux./build.sh within [manylinux docker image] testmanylinux
By deafult the image quay.io/pypa/manylinux2010_x86_64 will be used.
Use $DOCKER_IMAGE and $PLAT variables to customize the build.
Metadata
Release files for unrar-cffi 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unrar-cffi-0.2.2.tar.gz | 244.1 kB | Without provenance | Details for unrar-cffi-0.2.2.tar.gz |
Built distributions (wheels)
Total release size: 3.6 MB
Release files / unrar-cffi-0.2.2.tar.gz
| Download URL | unrar-cffi-0.2.2.tar.gz |
|---|---|
| Size | 244.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9de6d907c0728724be07acfcb479eadf2692f1039ca7cf2df268abb5dfaf4b5d
|
|
BLAKE2b-256 checksum How to use checksums |
5e8669bb34ba96db686d05c27d8db00df5b524cacc21e0727cfe52fbf7e17e46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp39-cp39-win_amd64.whl
| Download URL | unrar_cffi-0.2.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e4c00b0ce1532aea581236445e7c854f5af0166577402e3cef7710d0b91ab4af
|
|
BLAKE2b-256 checksum How to use checksums |
cedc71a46270fc47ed1d3db0bc1e4a7dfd8182e86106cd995ce4cb0e724229c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / unrar_cffi-0.2.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 196.0 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
52e4d9c930893ac297c8b657c3d93b30c1f8a68a22f88aa56c5bc18c27314221
|
|
BLAKE2b-256 checksum How to use checksums |
94b6b53437008e65b1b35d390ea88fa00c2cfb68f4980fdd2f6809bbf957662b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 189.3 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
4f27aca951c34312e9b5038835a344c2cee37345492e7283d7385ec67a37e791
|
|
BLAKE2b-256 checksum How to use checksums |
69b3af77ecff4138b63cc27082d2f2b0bf3016f55b6cc43ae8fe3d84c610f49b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | unrar_cffi-0.2.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 194.1 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
97d47ee108601ec0fbe89aba18a208a57dc9f319830162ecccdc9763a24be540
|
|
BLAKE2b-256 checksum How to use checksums |
182d5ea6e499b3823af0249d6bc0ee587077c48929f9d3acb10425802de4f66a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp38-cp38-win_amd64.whl
| Download URL | unrar_cffi-0.2.2-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7986bf7931a6eb4fb241ef99dcf95c51567a6237eccf06c17bdf4c2797ab02a2
|
|
BLAKE2b-256 checksum How to use checksums |
9c2df58c65b032c3e98df13ccf2b3b534bdd1b5eac6f05a94d8e30837ff69d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|
Release files / unrar_cffi-0.2.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 196.3 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
f64b7cf3def3674de2cc77ab301cbaf1e4d2feedee6ee2b68c464deee0aad461
|
|
BLAKE2b-256 checksum How to use checksums |
d622c8e8a42c1b7371839934feac00269baeb987c5729148b3da11da4b9ce01f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 189.6 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff49b48adfab3b847b8c0b5b34c5195e7bfcc7f77e8398870faf863108fa6f88
|
|
BLAKE2b-256 checksum How to use checksums |
4466d564c800c4df96732695f8e9f6470c10178aa1b4017e3ae18d85ecdd1809
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | unrar_cffi-0.2.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 194.4 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
66fa34e5889913b1615177094e5936103486f784240c6c58a813b9280f4776e4
|
|
BLAKE2b-256 checksum How to use checksums |
fd469886e6d562daf72cc3b53e03634ec450222a90a483d3fa36b047467321af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp37-cp37m-win_amd64.whl
| Download URL | unrar_cffi-0.2.2-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9907f973561df85f0c69e14fe1ddf0dcbccc4b6679570842ae5358dfda75c024
|
|
BLAKE2b-256 checksum How to use checksums |
d1272161393d82a6ebdeb7fa95659325851988613429cec69093810abc7df039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8
|
Release files / unrar_cffi-0.2.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 195.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
77a58b469a8166eec671f6d86365f8b8e039fe2fde658272a6be07b8a1c98556
|
|
BLAKE2b-256 checksum How to use checksums |
622d297d32b9b392ad2df395973d0bedae70c34992b7795e6d5152feef4f5530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 189.2 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e3605fcd65c1c045e1a35c4d017492ecd3d6fbb182b43bf35a94bc826e52b4a9
|
|
BLAKE2b-256 checksum How to use checksums |
8fef3c76fef407ad0bdb9feb5b493e23d6239ec11424076a475a046cd3c60e6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | unrar_cffi-0.2.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 194.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
6acc7b6f20116b66df11e57fd9a0905e4db0e8468f2b5a64571c526ef0487304
|
|
BLAKE2b-256 checksum How to use checksums |
6c1283fb052c093c1e863b1edd58dbefe5aa1dc1c94977e5d0939874c8128724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl |
|---|---|
| Size | 195.8 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc3f22f2816594c4b3ca47a11fad3f09ef22a035ce33296a0648b4c3ad8b2214
|
|
BLAKE2b-256 checksum How to use checksums |
1d333715d11ab636996b540df3832aa7d0062670fe58589cd0221e823d121c8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 189.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
5033d417fd0e00719e0a9d6179eff8f24445061723d02a0f5ee750bdb70e0122
|
|
BLAKE2b-256 checksum How to use checksums |
ba3337b6a9cfa7b8ae8e5f180714fc4a3c43b1c48acc18aad7cadfa9bf9c300c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | unrar_cffi-0.2.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 194.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
04757483c727cc4006594d4d1cf0a982294522f2d0c6654dfbd7f655d0cbc584
|
|
BLAKE2b-256 checksum How to use checksums |
f72885c9db1aec9b8b862c9517806953ee6baad35de902cce4daf9914d0adab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp36-cp36m-macosx_10_12_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp36-cp36m-macosx_10_12_x86_64.whl |
|---|---|
| Size | 153.3 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
b06be02128974f53846ecee62f1e812ea4189acd711d3ecd6aad03f02aa121d0
|
|
BLAKE2b-256 checksum How to use checksums |
e60f3a9b2b2be6a16d5e2030c45676ab1e288f333e29bc7886482bc2ec50b3a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.3
|
Release files / unrar_cffi-0.2.2-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | unrar_cffi-0.2.2-cp35-cp35m-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 189.2 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
6a0ac9b2aad4576cd2621806896619727b2362c96beabc62fa1027915a7590be
|
|
BLAKE2b-256 checksum How to use checksums |
20f81a38cea37a162f4743da49dd42673c773f3494e39e4f2678b50125e1236b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Release files / unrar_cffi-0.2.2-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | unrar_cffi-0.2.2-cp35-cp35m-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 194.0 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
1a63510b9d20ba54061a8f261ac7e5e209656e9439c7852c8e5d82510d3f107c
|
|
BLAKE2b-256 checksum How to use checksums |
235926cca26ab676c475fa165b462b5b13d24b53778c7c19567fade853f83559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
|
Security for unrar-cffi 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.