Skip to main content

iuv

Tiny wrapper that watches the current directory and reruns a Python target with uv run whenever files change.

CI

Install

From PyPI via pipx: https://pypi.org/project/iuv/

pipx install iuv

Persistent install with uv from head:

uv tool install git+https://github.com/gueraf/iuv.git

Local checkout + script (also installs uv if missing):

git clone https://github.com/gueraf/iuv.git
cd iuv
./install.sh

Usage

From inside your project directory:

iuv run app.py

Or module mode:

iuv run -m package.module

Pass any additional args after the script/module:

iuv run script.py --flag value

On each relevant file change (excluding .git, .venv, __pycache__) the previous run finishes (not force killed) and the command is invoked again.

Behavior

  • Watches recursively from cwd
  • Debounce default: 150ms (change with --debounce 300)
  • Prints a short line when rerunning
  • Errors just print; watcher keeps going
  • Press Enter to manually trigger a rerun.

Examples

iuv run main.py
iuv run -m mypkg.cli --help
iuv run examples/demo.py --foo bar

Exit

Press Ctrl+C once to pause. From there, you can press Enter to rerun, or Ctrl+C again to exit.

License

MIT

Metadata

Release files for iuv 0.1.1

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

Source distribution (sdist)

Source distribution for iuv 0.1.1
File Size Uploaded Provenance Actions
iuv-0.1.1.tar.gz 27.1 kB With provenance Details for iuv-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 31.2 kB

Release files / iuv-0.1.1.tar.gz

Download URL iuv-0.1.1.tar.gz
Size 27.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ced084151e28fef701843ae40bd85a343d61a03cd82c24fab96ba11de5abcb0b
BLAKE2b-256 checksum
How to use checksums
c3528186f21d40d358c47001a0161728e13cbc7d039af74072d20da5f16954ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

Release files / iuv-0.1.1-py3-none-any.whl

Download URL iuv-0.1.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c92f13fbd5e8653b761e05ea34f4ba94f966679c168d1571a527a6b13570533
BLAKE2b-256 checksum
How to use checksums
4198b0b6287d327ddc4fdaffc24f43d653d120d9f0525fcff18d63270f976868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

Security for iuv 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for iuv-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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