Backport of pathlib ABCs
Project description
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
Built Distribution
File details
Details for the file pathlib_abc-0.1.0.tar.gz
.
File metadata
- Download URL: pathlib_abc-0.1.0.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5965f0e309469786b10094ee93d2b58949138fb0d2bea1e89adb1f3320bef226 |
|
MD5 | 227e9d8e60c53aa751a094f2997a1675 |
|
BLAKE2b-256 | f93a293d415f696661a4aab9e568d92ad1a89ad4bf1a1c759b294ad16417e8e1 |
File details
Details for the file pathlib_abc-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pathlib_abc-0.1.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d8153a86345e3f2eeb3ca32e678a14dd500df48cded29607b65e8ba3095f1bd |
|
MD5 | 92d71e669fb7107db353697cfcb87dd7 |
|
BLAKE2b-256 | 1023b783478788a855f98741364634fdbc557d5ef425535e693309286106c8da |