Skip to main content

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.

Project description

autoReRun v1.3.0

pip install autoReRun --upgrade


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.


To install:

pip install autoReRun --upgrade
pip3 install autoReRun --upgrade
python -m pip install autoReRun --upgrade
python3 -m pip install autoReRun --upgrade



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.

This project is always open to suggestions and feature requests.

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

autorerun-1.3.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

autoReRun-1.3.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file autorerun-1.3.0.tar.gz.

File metadata

  • Download URL: autorerun-1.3.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for autorerun-1.3.0.tar.gz
Algorithm Hash digest
SHA256 df7d6644a9fd7781202224fb4673efec86ec4c6873d36fa342607b5172308f10
MD5 35c66b7b9ef9ba7d65444697343887f9
BLAKE2b-256 70454ad3619f639d9158466cc04984e050edaf931cf9df6411062f14562bf214

See more details on using hashes here.

File details

Details for the file autoReRun-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: autoReRun-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.21

File hashes

Hashes for autoReRun-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69c64b49e5926505ff39fbbdcdc57e05d2df97f407ece8b7441b7b1e2a333957
MD5 288c741cabcce87367b9a8fa6e09afd5
BLAKE2b-256 e052f2f735cc592a527dc91b2c14433d365c6b4565ff2bcf5980cba72af91c07

See more details on using hashes here.

Supported by

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