Skip to main content

pathlib for archives

Project description

DepHell Archive

travis appveyor MIT License

Module to work with files and directories in archive in pathlib style.

  • Goal: provide the same interface as pathlib.Path for archives.
  • State: partially implemented. Need to implement more methods.


Install from PyPI:

python3 -m pip install --user dephell_archive


from pathlib import Path
from tempfile import TemporaryDirectory

from dephell_archive import ArchivePath

with TemporaryDirectory() as cache:
  path = ArchivePath(
    archive_path=Path('tests', 'requirements', 'wheel.whl'),
  subpath = path / 'dephell' / ''
  with as stream:
    content =

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

dephell-archive-0.1.7.tar.gz (6.5 kB view hashes)

Uploaded source

Built Distribution

dephell_archive-0.1.7-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

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