dynamic-executor


Namedynamic-executor JSON
Version 1.2.6 PyPI version JSON
download
home_pagehttps://github.com/Tesla2000/dython
SummaryModule for making changes in code during runtime
upload_time2024-03-27 19:26:19
maintainerNone
docs_urlNone
authorTesla2000
requires_python>=3.5
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://tesla2000.github.io/dynamic-executor/).

## Installation

You can install the `dynamic-executor` package using pip:

```bash
pip install dynamic-executor
```

Or by cloning the repository directly:

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

### Access

[PyPi](https://pypi.org/project/dynamic-executor/)

[GitHub](https://github.com/Tesla2000/dython)

### Usage

You can go through video tutorial to check utilities of Dynamic Executor [tutorial](https://youtu.be/laMC6NI9b2I).

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Tesla2000/dython",
    "name": "dynamic-executor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": null,
    "keywords": null,
    "author": "Tesla2000",
    "author_email": "fratajczak124@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a1/be/14d60c458757189b84e0faf41d1073c8d16d03c190add2a85eec3086612c/dynamic-executor-1.2.6.tar.gz",
    "platform": null,
    "description": "# Dynamic-executor library for changing python code during runtime\n\n*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.*\n\nDynamic 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).\n\n## Documentation\nCheck out [documentation](https://tesla2000.github.io/dynamic-executor/).\n\n## Installation\n\nYou can install the `dynamic-executor` package using pip:\n\n```bash\npip install dynamic-executor\n```\n\nOr by cloning the repository directly:\n\n```bash\ngit clone git@github.com:Tesla2000/dynamic_executor.git\n```\n\n### Access\n\n[PyPi](https://pypi.org/project/dynamic-executor/)\n\n[GitHub](https://github.com/Tesla2000/dython)\n\n### Usage\n\nYou can go through video tutorial to check utilities of Dynamic Executor [tutorial](https://youtu.be/laMC6NI9b2I).\n\n```python\nfrom dynamic_executor import DynamicModeExecutor\nfor error_message in DynamicModeExecutor().execute(\n        locals(), globals()\n    ):\n    pass\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Module for making changes in code during runtime",
    "version": "1.2.6",
    "project_urls": {
        "Homepage": "https://github.com/Tesla2000/dython"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "303aec24c89dd2c63dacc7b6cf585d40d05b46a3616c06a5d8b5dd49e7fcd67c",
                "md5": "0aa9399a227fc5c052ab523ff515ff74",
                "sha256": "bbde73cbaaad8ae33fb91f4a67e27477c3f0259db27fb26f6095d5f93b16633e"
            },
            "downloads": -1,
            "filename": "dynamic_executor-1.2.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0aa9399a227fc5c052ab523ff515ff74",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 8524,
            "upload_time": "2024-03-27T19:26:17",
            "upload_time_iso_8601": "2024-03-27T19:26:17.353281Z",
            "url": "https://files.pythonhosted.org/packages/30/3a/ec24c89dd2c63dacc7b6cf585d40d05b46a3616c06a5d8b5dd49e7fcd67c/dynamic_executor-1.2.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1be14d60c458757189b84e0faf41d1073c8d16d03c190add2a85eec3086612c",
                "md5": "9c206f5e68a2ba3c69fcbe34274e52fa",
                "sha256": "4a540c3b475ef93820f59cbb1457152b84440cbadda38573ca837cb29eff57ca"
            },
            "downloads": -1,
            "filename": "dynamic-executor-1.2.6.tar.gz",
            "has_sig": false,
            "md5_digest": "9c206f5e68a2ba3c69fcbe34274e52fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 7291,
            "upload_time": "2024-03-27T19:26:19",
            "upload_time_iso_8601": "2024-03-27T19:26:19.191737Z",
            "url": "https://files.pythonhosted.org/packages/a1/be/14d60c458757189b84e0faf41d1073c8d16d03c190add2a85eec3086612c/dynamic-executor-1.2.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-27 19:26:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Tesla2000",
    "github_project": "dython",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "dynamic-executor"
}
        
Elapsed time: 0.25258s