Skip to main content

Dynamic-executor library for changing python code during runtime

Remember this moment when your test ran and after a few minutes failed on some seemingly obvious error so you had to fix it, than restart it just to see it fail only a few lines of code further? If not greate, but if yes be sure to check dynamic executor which gracefully resolves such problems.

Dynamic python is ment to be used in test development for creating and updating tests or wherever the need arises to change the code during runtime and have results visible instantaneously without restarting. The main functionality is provided by DynamicModeExecutor().execute generator that reloads all project-root modules (neither builtin not venv modules are reloaded).

Documentation

Check out documentation.

Installation

You can install the dynamic-executor package using pip:

pip install dynamic-executor

Or by cloning the repository directly:

git clone git@github.com:Tesla2000/dynamic_executor.git

Access

PyPi

GitHub

Usage

You can go through video tutorial to check utilities of Dynamic Executor tutorial.

from dynamic_executor import DynamicModeExecutor
for error_message in DynamicModeExecutor().execute(
        locals(), globals()
    ):
    pass

Metadata

Release files for dynamic-executor 1.2.6

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

Source distribution (sdist)

Source distribution for dynamic-executor 1.2.6
File Size Uploaded Provenance Actions
dynamic-executor-1.2.6.tar.gz 7.3 kB Without provenance Details for dynamic-executor-1.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dynamic-executor 1.2.6
File Interpreter ABI Platform Actions
dynamic_executor-1.2.6-py3-none-any.whl Python 3 none any Details for dynamic_executor-1.2.6-py3-none-any.whl

Total release size: 15.8 kB

Release files / dynamic-executor-1.2.6.tar.gz

Download URL dynamic-executor-1.2.6.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4a540c3b475ef93820f59cbb1457152b84440cbadda38573ca837cb29eff57ca
BLAKE2b-256 checksum
How to use checksums
a1be14d60c458757189b84e0faf41d1073c8d16d03c190add2a85eec3086612c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Release files / dynamic_executor-1.2.6-py3-none-any.whl

Download URL dynamic_executor-1.2.6-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbde73cbaaad8ae33fb91f4a67e27477c3f0259db27fb26f6095d5f93b16633e
BLAKE2b-256 checksum
How to use checksums
303aec24c89dd2c63dacc7b6cf585d40d05b46a3616c06a5d8b5dd49e7fcd67c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Security for dynamic-executor 1.2.6

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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