autoReRun


NameautoReRun JSON
Version 1.3.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-12-06 13:36:02
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.3.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 AutoReRun
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", "server2.toml"] # files to check for updates

# start the process
AutoReRun(toRun=toRun, toCheck=toCheck)
```

### 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/70/45/4ad3619f639d9158466cc04984e050edaf931cf9df6411062f14562bf214/autorerun-1.3.0.tar.gz",
    "platform": null,
    "description": "# autoReRun v1.3.0\n\n```pip install autoReRun --upgrade```\n\n\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.\n\n<br>To install: \n```\npip install autoReRun --upgrade\npip3 install autoReRun --upgrade\npython -m pip install autoReRun --upgrade\npython3 -m pip install autoReRun --upgrade\n```\n\n\n#### <br><br>Using this program is as simple as:\n```\nfrom autoReRun import AutoReRun\ntoRun = {\n    \"server1.py\":[\"-p 5000\", \"-h 0.0.0.0\"], # file A to run\n    \"server2.py\":[\"-p 6000\"], # file B to run\n         }\n\ntoCheck = [\"server1.toml\", \"server2.toml\"] # files to check for updates\n\n# start the process\nAutoReRun(toRun=toRun, toCheck=toCheck)\n```\n\n### Future implementations:\n* Only limited to python files, make it work with any other file type.\n* Way to turn off debugger.\n\n\n###### <br>This project is always open to suggestions and feature requests.\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.3.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": "e052f2f735cc592a527dc91b2c14433d365c6b4565ff2bcf5980cba72af91c07",
                "md5": "288c741cabcce87367b9a8fa6e09afd5",
                "sha256": "69c64b49e5926505ff39fbbdcdc57e05d2df97f407ece8b7441b7b1e2a333957"
            },
            "downloads": -1,
            "filename": "autoReRun-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "288c741cabcce87367b9a8fa6e09afd5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3641,
            "upload_time": "2024-12-06T13:36:01",
            "upload_time_iso_8601": "2024-12-06T13:36:01.547358Z",
            "url": "https://files.pythonhosted.org/packages/e0/52/f2f735cc592a527dc91b2c14433d365c6b4565ff2bcf5980cba72af91c07/autoReRun-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "70454ad3619f639d9158466cc04984e050edaf931cf9df6411062f14562bf214",
                "md5": "35c66b7b9ef9ba7d65444697343887f9",
                "sha256": "df7d6644a9fd7781202224fb4673efec86ec4c6873d36fa342607b5172308f10"
            },
            "downloads": -1,
            "filename": "autorerun-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "35c66b7b9ef9ba7d65444697343887f9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3537,
            "upload_time": "2024-12-06T13:36:02",
            "upload_time_iso_8601": "2024-12-06T13:36:02.983865Z",
            "url": "https://files.pythonhosted.org/packages/70/45/4ad3619f639d9158466cc04984e050edaf931cf9df6411062f14562bf214/autorerun-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-06 13:36:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "BhaskarPanja93",
    "github_project": "autoReRun",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "autorerun"
}
        
Elapsed time: 0.38881s