water - watch execute repeat
Reason this release was yanked:
renamed to foremon
Project description
water
water is a tool to help develop python projects by executing build tasks when file changes are detected.
water intends to have feature parity to nodemon, a similar tool for
the NodeJS ecosystem, but provide those features within a python toolchain. To
use water run your script or module as water [script or module] or run
water --help for advanced usage.
File monitoring for water is provided by watchdog which provides its own shell-utility, watchmedo.
water is currently in beta.
Installation
Clone water with git or install it using pip (recommended):
pip install pywater
Usage
water will bootstrap your module or script with the arguments you normally pass to it:
water [script or module] [args]
For CLI options, use -h or --help:
water -h
Using water is simple. It will guess if you are running a module or python
script and adjust the command-line arguments accordingly. To disable this
feature, add the -n (--no-guess) option.
# Executes `script.py`
water -n script.py
# Executes `python3 script.py`
water script.py
# Does not try to guess command
water node server.js
water runs scripts the python interpreter of the environment it is installed in
(sys.executable).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywater-1.0.2.tar.gz.
File metadata
- Download URL: pywater-1.0.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cca6d03a618ecf425fe4e995eced4e86ba42c68a21ecc217c4442388d8d8b51
|
|
| MD5 |
0796e216be7626777ebb8d97542851ec
|
|
| BLAKE2b-256 |
aabddfc5f9f05882727e9d2c89f256d8bdb8b414235bde25cdd89147f9718d77
|
File details
Details for the file pywater-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pywater-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48ef944cc75b98ddc32318d48de43d4819cf28eac1851d268244538dada0cf14
|
|
| MD5 |
dff5d3055b16d6485d82221d693d71de
|
|
| BLAKE2b-256 |
dd78e079b5acf4dab22f8c64e3e57b981fd097ede367c93e84db11b452a52b0d
|