wpath
wpath: a package help you find the project workspace
Install
git clone https://github.com/cofepy/wpath
cd wpath
python setup.py install
or
pip install wpath
Env file
add one of flags [".env",".gitignore",".git","package.json"] into your project workspace.
Useage
import wpath
# this will add your workspace to python path
# by default, wpath will search parent folder which has an '.env' file as workspace flag
# show project workspace,
# if not found the flag, wpath.workspace() will return None
print(wpath.workspace())
# change default flag
wpath.reset(['.gitignore'])
print(wpath.workspace())
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wpath-0.1.0.tar.gz
(10.0 kB
view details)
File details
Details for the file wpath-0.1.0.tar.gz.
File metadata
- Download URL: wpath-0.1.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32f713fe5315ecbe485862330e04b17c28ee8e6c29a01f3afac6545bb546aaeb
|
|
| MD5 |
f5798457570f54b34e26ef709fbe9218
|
|
| BLAKE2b-256 |
c58fd93bc8dfe3805ba6484741233469f76c0e07dcf3ec764915c33e8a06f555
|