Skip to main content

execode

GitHub Build Status PyPI

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)

Metadata

Release files for execode 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for execode 0.1.2
File Size Uploaded Provenance
execode-0.1.2.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for execode 0.1.2
File Interpreter ABI Platform
execode-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / execode-0.1.2.tar.gz

Download URL execode-0.1.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
579d08ca494cabb22de97ea46c8a5ec9899d06c9678c41ce3d331a8bad829d28
BLAKE2b-256 checksum
How to use checksums
1e83a10c1139e62f7366213e2dc75fe28e34736a01c473b0c05a6687e03a737e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / execode-0.1.2-py3-none-any.whl

Download URL execode-0.1.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69c8c7c9937fd00b8abfc412361c8eb3e82ef86826b99546477edab024598381
BLAKE2b-256 checksum
How to use checksums
5799bf24cb8809ac024e89d5cb508ca8bb76bd0838e0f68d983028dc824c5f03
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for execode 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page