Skip to main content

Seamless reading of nested archives

Project description

Allows simplified access to files in nested archives.

Example

Given an archive placed in /tmp/foobar/foo.tar with this structure:

foo.tar
    - foo1
    - foo2
    - bar.tar
       - bar1
       - bar2
       - foo3.tar.gz
            - foo4
            - foo5
    - abc/
       - def
       - ghi

This library will allow reading the contents of the files in this nested archive in the following "seamless" manner:

nestedarchive.get("/tmp/foobar/foo.tar/foo1")
nestedarchive.get("/tmp/foobar/foo.tar/abc/def")
nestedarchive.get("/tmp/foobar/foo.tar/bar.tar/bar1")
nestedarchive.get("/tmp/foobar/foo.tar/bar.tar/foo3.tar.gz/foo4")

Currently supported extensions:

  • tar
  • tar.gz

Currently tested operating systems:

  • linux

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

nestedarchive-0.1.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

nestedarchive-0.1.3-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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