betterpathlib
An Path library that is an extension to Pythons built-in pathlib.Path.
pip install betterpathlib[all]
Especially useful for dealing with:
- paths with multiple suffixes, e.g. files of the sort
archive.tar.gz. - paths with numerical suffixes, i.e. files of the sort
part.rar.001.
... and in addition, adds methods for:
- Case-insensitive globbing
- Copying files and directories
- Reading JSON directly from Path object
- Downloading file from URL to destination, if the file is not already downloaded
- Atomic writes
- Random paths (with optional prefix and/or suffix)
Has no external dependencies if not installed with optional features.
Optional features
download- Requiresrequestsand and allows foror_download()similarpaths- Requiresthefuzzand and allows formost_similar_paths()
Metadata
Release files for betterpathlib 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| betterpathlib-0.1.9.tar.gz | 10.1 kB | Without provenance | Details for betterpathlib-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| betterpathlib-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for betterpathlib-0.1.9-py3-none-any.whl |
Total release size: 20.5 kB
Release files / betterpathlib-0.1.9.tar.gz
| Download URL | betterpathlib-0.1.9.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8145ba4bc035d5d3c080127cda9e57205e788b17ca48828085236b1b335ff254
|
|
BLAKE2b-256 checksum How to use checksums |
e353b4884400b07c7d8671d665df9ea207dab5dc7038becffc424e7b892a7510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.5 Linux/6.11.8-300.fc41.x86_64
|
Release files / betterpathlib-0.1.9-py3-none-any.whl
| Download URL | betterpathlib-0.1.9-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7c5ab8581c3d63712a61950699499548ec01b1fdd664f98fad2e921ec0ed32b
|
|
BLAKE2b-256 checksum How to use checksums |
20cbe277a7df379af0ef83c8587fbb0b0f95ae0958565bf5a1427cf80d40b570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.5 Linux/6.11.8-300.fc41.x86_64
|
Security for betterpathlib 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.