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.6.tar.gz
(2.9 kB
view hashes)
Built Distribution
wpath-0.0.6-py2.py3-none-any.whl
(15.7 kB
view hashes)
Close
Hashes for wpath-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d37a9874246e2067ba7586e539d1fd6f8341611c4ee183f85a9627af8c904d30 |
|
MD5 | 201f3dd349d041c4e713467a48150f8e |
|
BLAKE2b-256 | 4446fb4243d0d2a19f698c306d692a638c0324e20db5510dcff62d6ad0db9c2d |