Skip to main content

Backport of pathlib ABCs

Project description

Latest version released on PyPi Documentation

Base classes for pathlib.Path-ish objects. Requires Python 3.9+.

This package is a preview of pathlib functionality planned for a future release of Python; specifically, it provides three ABCs that can be used to implement path classes for non-local filesystems, such as archive files and storage servers:

JoinablePath

Abstract base class for paths that do not perform I/O.

ReadablePath

Abstract base class for paths that support reading.

WritablePath

Abstract base class for paths that support writing.

These base classes are under active development. Once the base classes reach maturity, they may become part of the Python standard library, and this package will continue to provide a backport for older Python releases.

Contributing

Functional changes must be made in the upstream CPython project, and undergo their usual CLA + code review process. Once a change lands in CPython, it can be back-ported here.

Other changes (such as CI improvements) can be made as pull requests to this project.

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

pathlib_abc-0.5.2.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pathlib_abc-0.5.2-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file pathlib_abc-0.5.2.tar.gz.

File metadata

  • Download URL: pathlib_abc-0.5.2.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pathlib_abc-0.5.2.tar.gz
Algorithm Hash digest
SHA256 fcd56f147234645e2c59c7ae22808b34c364bb231f685ddd9f96885aed78a94c
MD5 77433d64071b9838fb8debdb72ebf783
BLAKE2b-256 d6cb448649d7f25d228bf0be3a04590ab7afa77f15e056f8fa976ed05ec9a78f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathlib_abc-0.5.2.tar.gz:

Publisher: build.yaml on barneygale/pathlib-abc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathlib_abc-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: pathlib_abc-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pathlib_abc-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4c9d94cf1b23af417ce7c0417b43333b06a106c01000b286c99de230d95eefbb
MD5 7ff2657ab9b68f7eab063c09fb06aa0e
BLAKE2b-256 b129c028a0731e202035f0e2e0bfbf1a3e46ad6c628cbb17f6f1cc9eea5d9ff1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathlib_abc-0.5.2-py3-none-any.whl:

Publisher: build.yaml on barneygale/pathlib-abc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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