No project description provided
Project description
execode
Tool for easy to run .py.
API
API allow you run python code on current python runtime like use exec on code with correct globals info.
execode.run_py()
run a file like python ? on command line.
execode.run_py_m()
run a __main__.py like python -m ? on command line.
execode.exec_pkg_py()
run a .py file inside a package.
the .py file can use relative import.
this is helpful for dynimic import some files.
execode.pipenv_context
and you may want to use pipenv context like:
with execode.pipenv_context(THE_PIPFILE):
execode.run_py(YOUR_FILE)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file execode-0.1.2.tar.gz.
File metadata
- Download URL: execode-0.1.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
579d08ca494cabb22de97ea46c8a5ec9899d06c9678c41ce3d331a8bad829d28
|
|
| MD5 |
d41a4e60b5380f19d78a73c3195f13f1
|
|
| BLAKE2b-256 |
1e83a10c1139e62f7366213e2dc75fe28e34736a01c473b0c05a6687e03a737e
|
File details
Details for the file execode-0.1.2-py3-none-any.whl.
File metadata
- Download URL: execode-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69c8c7c9937fd00b8abfc412361c8eb3e82ef86826b99546477edab024598381
|
|
| MD5 |
116d7a15ae31892c3fbf52d9d2fc3919
|
|
| BLAKE2b-256 |
5799bf24cb8809ac024e89d5cb508ca8bb76bd0838e0f68d983028dc824c5f03
|