dirpath
A library for managing directory paths in the python environment
Installation
pip install dirpath
Usage
Insert absolute path
import dirpath
dirpath.insert(r'D:\MyProject\pack')
from pack import func1
Insert relative path
import dirpath
dirpath.insert('pack')
from pack import func2
Multiple relative path
The relative path must be in the current file path
import dirpath
dirpath.insert('pack',dir_index=0)
from pack import func3
Change the environment priority
import dirpath
dirpath.insert('pack',env_index=2)
from pack import func4
Metadata
Release files for dirpath 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dirpath-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for dirpath-1.0.1-py3-none-any.whl |
Release files / dirpath-1.0.1-py3-none-any.whl
| Download URL | dirpath-1.0.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b982f1ff10a882451f8f1f6b1e4436190126012c042ee90944ac8aed0b41b52
|
|
BLAKE2b-256 checksum How to use checksums |
684747a7435873e36b009fab7016d5553aa9d7fe8c52700e5645fc48a2da964b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Security for dirpath 1.0.1
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.