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.5.tar.gz
(2.3 kB
view hashes)
Built Distributions
wpath-0.0.5-py3.7.egg
(5.7 kB
view hashes)
Close
Hashes for wpath-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e85691a49b5a43849107736716edf47763cb7041dde977ade4f68015cafcc8ee |
|
MD5 | 39ca64166411474b5a6a167beb6c4fbe |
|
BLAKE2b-256 | ac2908cf183259f9464c03c16b8297298effac2f3290371eb096510c7efd37a2 |