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

Uploaded Source

Built Distribution

pathlib_abc-0.3.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pathlib_abc-0.3.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for pathlib_abc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 87a25bde89d29f48d04e2dcff7a12d9ffe93096fe775b4ad3fd34814c0d3a814
MD5 d7df5c8bbe1fe4330076fc49102776ab
BLAKE2b-256 4078e56d8cba64b4a7e0dea793c0650a2baef77d2c5a5c33b4b78be7026fc30e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pathlib_abc-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for pathlib_abc-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21815b52c708a954b3848ceb7c081fbad924fb33435e055e3d4ff657949a9381
MD5 2bfc3713a784df3efb40f15d9149aade
BLAKE2b-256 67954468151a08fb2112e8446a5de6ee78cc6049bb7c1dd500177759a412cfdb

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