Skip to main content

Multi-format archive library based on libarchive

Project description

Archi

Build Status

Multi-format archive library based on libarchive . Forked from pyarchive

Usage

import archi

with open("test.tgz", "rb") as f:
    archive = archi.Archive(f)
for file in archive:
    print(file.filename)
    print(file.read())

Keep in mind that you can't store Entrys, they're freed as soon as the loop moves on to the next or ends. So this won't do:

archi = archi.Archive('file.zip')
files = [f for f in archi]
files[0].filename # Address boundary error !

Changelog

v0.1.1

  • Fix binary wheels for macOS

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archi-0.1.1.zip (7.4 kB view details)

Uploaded Source

Built Distributions

archi-0.1.1-cp38-cp38-manylinux2010_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

archi-0.1.1-cp38-cp38-manylinux2010_i686.whl (1.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

archi-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl (417.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

archi-0.1.1-cp37-cp37m-manylinux2010_x86_64.whl (987.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

archi-0.1.1-cp37-cp37m-manylinux2010_i686.whl (1.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

archi-0.1.1-cp37-cp37m-macosx_10_6_intel.whl (449.4 kB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

archi-0.1.1-cp36-cp36m-manylinux2010_x86_64.whl (986.8 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

archi-0.1.1-cp36-cp36m-manylinux2010_i686.whl (1.0 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

archi-0.1.1-cp36-cp36m-macosx_10_6_intel.whl (450.8 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

archi-0.1.1-cp35-cp35m-manylinux2010_x86_64.whl (986.4 kB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

archi-0.1.1-cp35-cp35m-manylinux2010_i686.whl (1.0 MB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ i686

archi-0.1.1-cp35-cp35m-macosx_10_6_intel.whl (448.8 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

Details for the file archi-0.1.1.zip.

File metadata

  • Download URL: archi-0.1.1.zip
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1.zip
Algorithm Hash digest
SHA256 190f77d59604789818e36cc722df741bed1cedf40fa28e9f6c5627acc9317cd6
MD5 093bff0a385add85b12a6acc0eb19336
BLAKE2b-256 a9f642068502ef7f260eeb437cf2974a2eabafc06f9606ed5a39b4786e8cf27a

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: archi-0.1.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 94cd335baff7c9cbc1d3c3a2deba6ecb58039d9bf56571256a73cfd6b508dd06
MD5 4e8276225724d7c624c535e4ec7c7787
BLAKE2b-256 cb499c79aadcfbfe72f80f3d5fb82ef30b029d673e585f6355da3d980e596a53

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp38-cp38-manylinux2010_i686.whl.

File metadata

  • Download URL: archi-0.1.1-cp38-cp38-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp38-cp38-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 0730203a3ff7b69a2f9d0727cf5473de3bbfacf6296598eafa0b2b4cecbc717b
MD5 31740735b14286a05216222fcfa3d3a1
BLAKE2b-256 6761a476dfbafa09b64abe9b41a84198412c5af7b604255352234d441da857c3

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: archi-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 417.5 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 eb33e085774ac85b2f1217a954a1ffeba984f373ecafd009498d29c1c6b12304
MD5 038ab9e3ee61e39231c7c11485899292
BLAKE2b-256 7d1b771c31711e56189a1140103d6a907450ad6539618955892aced90916468a

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: archi-0.1.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 987.5 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 e2fa9f8aa6139ce78efa23e62d62a8142a0961ae91378b5783dd859220476061
MD5 4ee34073600ab9bdcb383ab0dfcc746e
BLAKE2b-256 b1fe1e57dd5df4653e1b688755e5ad1e3f99a28a7f0a7a7821c81c42ae6d33e6

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp37-cp37m-manylinux2010_i686.whl.

File metadata

  • Download URL: archi-0.1.1-cp37-cp37m-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 0f8a931bf9057ad642c8ad22d0c08efb04ae4c0879b838659ef5de08a1b3424a
MD5 fdaa4f638dd9eda3b0df9303ac076970
BLAKE2b-256 7d771a305322dadc2ad25ea33a277463bfc8187945520e656004a56545cdba79

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: archi-0.1.1-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 449.4 kB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 d785470b5d40a10791489aad7a835289e157300ec954b319b71238a28260d1db
MD5 65b8e7d92a5a78fc852f4bf7c064f26f
BLAKE2b-256 5cea469bc97559e04067abecc4200525a9e77b83062da8967320f644d005d0cb

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: archi-0.1.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 986.8 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f625580f3b729b20a0bcc166836e8dcce1550b06ba3e413c80d78ed67678845a
MD5 97ab67836837d316d7dba8c7c04172dd
BLAKE2b-256 3c0a18aee82befb1e2029b4bfc29dd30ea3462357db721340321d138506a7e0e

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp36-cp36m-manylinux2010_i686.whl.

File metadata

  • Download URL: archi-0.1.1-cp36-cp36m-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp36-cp36m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 56554acafcabfb6b97efe1cf9a88a1e4f40ed0182d5fa77c9ad1b4eb7b549621
MD5 c2df6a163916d3df425b5bfb5c48dd15
BLAKE2b-256 a4ecd9aef5dd1d0fdfbd3ea14024257d37e418b9751a7906fe30c2f4fb9d3ba4

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: archi-0.1.1-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 450.8 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8a137d6e2ff345a70c4d87dc51904012b3bccca1d2debf2a20eadce98ec2ea25
MD5 33f05f8cfbcdfb1b279dccc39c2e9219
BLAKE2b-256 0fbd3ca94667a465a0fb27fb78c2e1dce97a9b9c4022d4e38cf3cc6cb2e011ae

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: archi-0.1.1-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 986.4 kB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 da05901bd7f978bb416b9f935c1c0d37e7049ecd58e00fbcd2f572ba7e9e0910
MD5 bca2f1c1d6440da37e66ad30ad4934f8
BLAKE2b-256 ef06427bcabcd26f6bf7f33f533f1ef289fb99396b5c8ff321570ae678e0ca5d

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp35-cp35m-manylinux2010_i686.whl.

File metadata

  • Download URL: archi-0.1.1-cp35-cp35m-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp35-cp35m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 7f87472148415e0a40fbe54a0dea0203a673058ccd1d63bbc69a056a0ba1ff8c
MD5 3d2fded1b6f51e02c1ce15b0c999ae6d
BLAKE2b-256 985015abe4d91d8718e3abf773d32b4976f0ad4f20df0c0f65a600cbb4a77326

See more details on using hashes here.

File details

Details for the file archi-0.1.1-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: archi-0.1.1-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 448.8 kB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for archi-0.1.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f33c2103aa921c6a823c685b68c5c9a83388277ea1af0d6b88a15ce3d89a25c3
MD5 87cc8f70bb4ed7a9797d7e5f225c186e
BLAKE2b-256 295c2bb8d470252574475791b0254fedb837933308f48e8ffce8b30ccd112fdf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page