Skip to main content

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.

Metadata

Release files for autoReRun 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoReRun 1.3.0
File Size Uploaded Provenance Actions
autorerun-1.3.0.tar.gz 3.5 kB Without provenance Details for autorerun-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autoReRun 1.3.0
File Interpreter ABI Platform Actions
autoReRun-1.3.0-py3-none-any.whl Python 3 none any Details for autoReRun-1.3.0-py3-none-any.whl

Total release size: 7.2 kB

Release files / autorerun-1.3.0.tar.gz

Download URL autorerun-1.3.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
df7d6644a9fd7781202224fb4673efec86ec4c6873d36fa342607b5172308f10
BLAKE2b-256 checksum
How to use checksums
70454ad3619f639d9158466cc04984e050edaf931cf9df6411062f14562bf214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / autoReRun-1.3.0-py3-none-any.whl

Download URL autoReRun-1.3.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69c64b49e5926505ff39fbbdcdc57e05d2df97f407ece8b7441b7b1e2a333957
BLAKE2b-256 checksum
How to use checksums
e052f2f735cc592a527dc91b2c14433d365c6b4565ff2bcf5980cba72af91c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Security for autoReRun 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page