Skip to main content

Module for making changes in code during runtime

Project description

Dynamic-executor library for changing python code during runtime

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

Pipy

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

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

dynamic-executor-1.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

dynamic_executor-1.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file dynamic-executor-1.1.0.tar.gz.

File metadata

  • Download URL: dynamic-executor-1.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for dynamic-executor-1.1.0.tar.gz
Algorithm Hash digest
SHA256 80b80de9108639c60ffdd6df3d7eff35868720f6e8ab835b4f219c111d4c3f1c
MD5 04a37d4aea1fb116e2504c391354af8f
BLAKE2b-256 561edff5b28a0483612f37da3a243c3bb828ad1e002457f700bd3ee4b84f6de9

See more details on using hashes here.

File details

Details for the file dynamic_executor-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dynamic_executor-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5605a257dffc73d7c6e573d445f05d01ae0e6a89e3a9668adb739cbb2322a55
MD5 ccb465a3bbc756b869b454857c33f5b3
BLAKE2b-256 84b0459f126f743bf0e5c0c63fdf9703062be8cc40f9fc05ce91a1e46cb41e45

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page