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.2.0.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

pathlib_abc-0.2.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pathlib_abc-0.2.0.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pathlib_abc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b9af6b39fd51321485678ec3803d0a11e02a22e869e8052cacb6e8f65de7b862
MD5 b5a02b5bf91d7ec2ccc4edf124ecc0f8
BLAKE2b-256 f4642350ceb1fba043bbb4987644dbad5043c085815b4b8fcfbbb47c333d2604

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pathlib_abc-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pathlib_abc-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d77fe40baa99c76d645f4b302d45fd6dd17d88cc34f446ffdfb0eba7357366b3
MD5 13544bbeef4a9b0b3afef4d0fbcbcab4
BLAKE2b-256 80d30be168709daa248aac5a2d67576ff9cb0bcabb22e6edb3aab75ec4d6f4e1

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