autopep723
autopep723 is a tiny wrapper on top of uv run that automatically manages third-party dependencies of Python scripts. Forget about manually managing dependencies for simple experiments!
Quick Start
Run your script using third-party dependencies via uvx autopep723:
# Run directly without installing
uvx autopep723 script.py
# Or remote scripts directly from URLs
uvx autopep723 https://gist.githubusercontent.com/user/repo/script.py
To install the tool permanently:
uv tool install autopep723
autopep723 script.py
Shebang Integration
You can use autopep723 directly as a shebang:
#!/usr/bin/env -S uvx autopep723
import requests
import numpy as np
# Your script here...
Features
- ⚡ Zero dependencies - uses only Python standard library
- 🪶 Minimal footprint - perfect as
uv runwrapper - 🔍 Automatic dependency detection via AST analysis
- ✅ PEP 723 compliant metadata generation
- 🌐 Remote script support - run scripts directly from URLs
For detailed usage see the documentation.
License
MIT - see LICENSE file for details.
Metadata
Release files for autopep723 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autopep723-0.2.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autopep723-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / autopep723-0.2.0.tar.gz
| Download URL | autopep723-0.2.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a70a85e2ad74d52abe443ebaef14df6591843ae2b2b47b40a7a0c1a34eeb433b
|
|
BLAKE2b-256 checksum How to use checksums |
44466def31e9ac0bc162ad588d264215f5ac9fef89979f064b9a9e36f4985fdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jul 22, 2025.
Transparency logRelease files / autopep723-0.2.0-py3-none-any.whl
| Download URL | autopep723-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52a36719226dba89eebe9807c837bbc5d61fc5c2fc7a70dacec69110e33ab5de
|
|
BLAKE2b-256 checksum How to use checksums |
312ff2292a1fa8bc39f54f20b17cf3e79d77d722aa4d7a5b23e9db37cd5ecfbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Jul 22, 2025.
Transparency log