A library for managing directory paths in the python environment.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file dirpath-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: dirpath-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7b982f1ff10a882451f8f1f6b1e4436190126012c042ee90944ac8aed0b41b52
|
|
MD5 |
f5718c6fcd31fc052f99b694f19f8d00
|
|
BLAKE2b-256 |
684747a7435873e36b009fab7016d5553aa9d7fe8c52700e5645fc48a2da964b
|