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.

Files for dephell-archive, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size dephell_archive-0.1.7-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dephell-archive-0.1.7.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page