Skip to main content

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.

Installation

Install from PyPI:

python3 -m pip install --user dephell_archive

Usage

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'),
    cache_path=Path(cache),
  )
  subpath = path / 'dephell' / '__init__.py'
  with subpath.open() as stream:
    content = stream.read()

Metadata

Release files for dephell-archive 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dephell-archive 0.1.7
File Size Uploaded
dephell-archive-0.1.7.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dephell-archive 0.1.7
File Interpreter ABI Platform
dephell_archive-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / dephell-archive-0.1.7.tar.gz

Download URL dephell-archive-0.1.7.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb263492a7d430f9e04cef9a0237b7752cc797ab364bf35e70196af09c73ea37
BLAKE2b-256 checksum
How to use checksums
32edc433e5d87456fe943732e8c3c2db43c258044337ded234c4dc5dca53dcc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via DepHell/0.8.3

Release files / dephell_archive-0.1.7-py3-none-any.whl

Download URL dephell_archive-0.1.7-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
64a688dd8acb780f7d56cdae4622fa01d1e5910fd65788974b3f70fa9a1e517a
BLAKE2b-256 checksum
How to use checksums
b3465a34ec59cbe1ad0d0575111cfac1b198eaf303656538ff31799765c725b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via DepHell/0.8.3

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

1 release file

0.1.1

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page