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.8+.

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

PurePathBase

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

PathBase

Abstract base class for paths that perform I/O.

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

Contributing

Changes to pathlib_abc.py and test_pathlib_abc.py 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.1.1.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

pathlib_abc-0.1.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pathlib_abc-0.1.1.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pathlib_abc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 084e7bdd919b0f7774914a9e64cd86a1b39860f81f781dd724258631f2915abe
MD5 f57c83cc7f5979dbb356354f57998ac3
BLAKE2b-256 0f4e3135887f5e4ff2eec7464697a89e517f5765017775fe8f1678658d510f27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pathlib_abc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pathlib_abc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5cb2f942fdbb75ce0e00ed3b94de9695b0c5d4b419b5004a702da80f165b3109
MD5 fe55aacf232e9a3a2a39012d252f45af
BLAKE2b-256 efba7baa8fe79d48520ae77e594ff1cc1d30a5eb0fefc3846495bcff8bb215a4

See more details on using hashes here.

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