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.4.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for wpath-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c61d14ad9bfd1cc70989d5b3e1e60e44d65fba86f8fbd80fe2e8e2222b2e82 |
|
MD5 | a1afd2dcde7a09ceb561c83a474949be |
|
BLAKE2b-256 | be218dc8fb0e840b3758ae47afe9aebac8287cf9027551012d5964018b74567c |