A python automatically adds the current project sys Path tool
Project description
Auto sys path
A python automatically adds the current project sys Path tool
Use example:
example-project:
- package1
- init.py
- main.py
- package2
- init.py
- util.py
at main.py
import autosyspath
from package2.util import helloworld
helloworld()
You can run anywhere main.py without error.
example:
> cd /example-project && python package1/main.py
> cd / && python example-project/package1/main.py
> cd /example-project/package1 && python main.py
that's all ok.
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
toautosyspath-0.0.1.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file toautosyspath-0.0.1.tar.gz
.
File metadata
- Download URL: toautosyspath-0.0.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33efaa4eff72ba2b3bf756a831a5226f6c5074574c8d98d2c7210b91c36d33f |
|
MD5 | e34bbd6700d11de9d988bf16ea2c777a |
|
BLAKE2b-256 | be411849875bd5ec5f680bd958076a1b18fe165f519894726488d709c09b8e10 |
File details
Details for the file toautosyspath-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: toautosyspath-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b359168582ab62860f4fa9ceeff1893d3f4fb03f6c8f9163d41f471c139fe23 |
|
MD5 | aac2bd77aefc9416d636cad3d474c15f |
|
BLAKE2b-256 | ae1ec745db22d6c266d07abbd1f99b839c3d5a17e6435d946f0728b3307c0f57 |