repyt
Automatically re-run Python commands when files change.
Installation
pip install repyt
Usage
repyt [-h] [--command COMMAND] [args]
Where:
COMMAND Any command to execute in the shell, as a string. This
doesn't even have to be a Python command!
args Arguments as you would normally pass to the `python`
command.
-h or --help Show this help message and exit.
Example
Use it just like you would use the python command:
repyt hello_world.py
Including args is totally fine:
repyt hello_world.py --world="Earth"
This is equivalent to:
repyt -c 'python hello_world.py --world="Earth"'
The command arg doesn’t even have to be a Python command:
repyt -c 'echo "Yo Adrian! I did it!"'
Description
repyt detects changes in the current directory and sub-directories, and re-runs your Python script, application, or any other command when files are changed by you or your editor.
It kindly ignores hidden files and a bunch of other stuff that probably isn’t important.
You should use it just like you use the python command, if possible.
Contact
- On PyPI:
- Souce:
- Issues:
Metadata
Release files for repyt 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| repyt-0.1.1.tar.gz | 3.0 kB | Without provenance | Details for repyt-0.1.1.tar.gz |
Release files / repyt-0.1.1.tar.gz
| Download URL | repyt-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c071643487816e10257755a6b1044dac62e265f8f65907602bb61abff05e21f8
|
|
BLAKE2b-256 checksum How to use checksums |
c480f6aed3c643a6b537651fe12b7bcbc92761a5a86a6e63543a46c635ef4a0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for repyt 0.1.1
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.