package help find the project root folder.
Project description
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 .env file to 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())
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 Distribution
wpath-0.0.7.tar.gz
(6.7 kB
view hashes)
Built Distributions
wpath-0.0.7-py3.7.egg
(234.9 kB
view hashes)
wpath-0.0.7-py2.py3-none-any.whl
(130.3 kB
view hashes)
Close
Hashes for wpath-0.0.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 981b58ebaa98ddf9e1457f6c60e3a85f730d18d9aa2d5c6dc508e9bac6870bf2 |
|
MD5 | b0497fcd6cbbb68064da77550007178b |
|
BLAKE2b-256 | c6778ba6bd215c2ab777700098fd325f1f654933bd6657117fd8576ffa4f4b20 |