autoReRun


NameautoReRun JSON
Version 1.2.0 PyPI version JSON
download
home_pageNone
SummaryA simple program to automatically kill running process(es) and re-spawn new process(es) for the runnable files everytime some specified file(s) get modified (or deleted or created). For example, Automatically re-starting any server when the server file(s) is modified.
upload_time2024-03-29 04:26:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseNone
keywords auto rerun auto run file runner update updater
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # autoReRun v1.2.0

```pip install autoReRun --upgrade```


###### <br>A simple program to automatically kill running process(es) and re-spawn new process(es) for the runnable files everytime some specified file(s) get modified (or deleted or created). For example, Automatically re-starting any server when the server file(s) is modified.

<br>To install: 
```
pip install autoReRun --upgrade
pip3 install autoReRun --upgrade
python -m pip install autoReRun --upgrade
python3 -m pip install autoReRun --upgrade
```


#### <br><br>Using this program is as simple as:
```
from autoReRun import Runner as updateRunner

toRun = {
    "server1.py":["-p 5000", "-h 0.0.0.0"], # file A to run
    "server2.py":["-p 6000"], # file B to run
         }
         
toCheck = [
    "server1.toml",  # file X to check for updates
    "server2.toml" # file Y to check for updates
           ]
           
# start the process
updateRunner(toRun=toRun, toCheck=toCheck).start() 
```

### Future implementations:
* Only limited to python files, make it work with any other file type.
* Way to turn off debugger.


###### <br>This project is always open to suggestions and feature requests.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "autoReRun",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "auto rerun, auto run, file runner, update, updater",
    "author": null,
    "author_email": "Bhindi <bhaskarpanja93@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/03/c2/f3bced82685b872d1db6ce699645a7e99a8d68559af784fad4a3408553a9/autoReRun-1.2.0.tar.gz",
    "platform": null,
    "description": "# autoReRun v1.2.0\r\n\r\n```pip install autoReRun --upgrade```\r\n\r\n\r\n###### <br>A simple program to automatically kill running process(es) and re-spawn new process(es) for the runnable files everytime some specified file(s) get modified (or deleted or created). For example, Automatically re-starting any server when the server file(s) is modified.\r\n\r\n<br>To install: \r\n```\r\npip install autoReRun --upgrade\r\npip3 install autoReRun --upgrade\r\npython -m pip install autoReRun --upgrade\r\npython3 -m pip install autoReRun --upgrade\r\n```\r\n\r\n\r\n#### <br><br>Using this program is as simple as:\r\n```\r\nfrom autoReRun import Runner as updateRunner\r\n\r\ntoRun = {\r\n    \"server1.py\":[\"-p 5000\", \"-h 0.0.0.0\"], # file A to run\r\n    \"server2.py\":[\"-p 6000\"], # file B to run\r\n         }\r\n         \r\ntoCheck = [\r\n    \"server1.toml\",  # file X to check for updates\r\n    \"server2.toml\" # file Y to check for updates\r\n           ]\r\n           \r\n# start the process\r\nupdateRunner(toRun=toRun, toCheck=toCheck).start() \r\n```\r\n\r\n### Future implementations:\r\n* Only limited to python files, make it work with any other file type.\r\n* Way to turn off debugger.\r\n\r\n\r\n###### <br>This project is always open to suggestions and feature requests.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple program to automatically kill running process(es) and re-spawn new process(es) for the runnable files everytime some specified file(s) get modified (or deleted or created). For example, Automatically re-starting any server when the server file(s) is modified.",
    "version": "1.2.0",
    "project_urls": {
        "Homepage": "https://github.com/BhaskarPanja93/autoReRun"
    },
    "split_keywords": [
        "auto rerun",
        " auto run",
        " file runner",
        " update",
        " updater"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1d3b4b8c019ccbc7e5b7b98f1387d7be1d38f1b5ccf50bb2b5be58ca50f334d",
                "md5": "5381c38635beb0265e7cb3e305c507f8",
                "sha256": "4295974559635477e14b32b06ca6803ccef03f05d7bd5f8e9e81c14b4752de5c"
            },
            "downloads": -1,
            "filename": "autoReRun-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5381c38635beb0265e7cb3e305c507f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3460,
            "upload_time": "2024-03-29T04:25:58",
            "upload_time_iso_8601": "2024-03-29T04:25:58.659643Z",
            "url": "https://files.pythonhosted.org/packages/b1/d3/b4b8c019ccbc7e5b7b98f1387d7be1d38f1b5ccf50bb2b5be58ca50f334d/autoReRun-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03c2f3bced82685b872d1db6ce699645a7e99a8d68559af784fad4a3408553a9",
                "md5": "bd9d9d62496f21e036549dd3581a3bde",
                "sha256": "e77305148c7b64552bdfa517324ccc21f96bbc00320a959788da54ad703fdde3"
            },
            "downloads": -1,
            "filename": "autoReRun-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bd9d9d62496f21e036549dd3581a3bde",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3347,
            "upload_time": "2024-03-29T04:26:00",
            "upload_time_iso_8601": "2024-03-29T04:26:00.288963Z",
            "url": "https://files.pythonhosted.org/packages/03/c2/f3bced82685b872d1db6ce699645a7e99a8d68559af784fad4a3408553a9/autoReRun-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-29 04:26:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BhaskarPanja93",
    "github_project": "autoReRun",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "autorerun"
}
        
Elapsed time: 0.20448s