Skip to main content

pep723fy

Inject PEP 723 inline script metadata into a Python file from a pyproject.toml (PEP 621 / PEP 735) or requirements.txt.

Installation

pip install pep723fy
# or
uv tool install pep723fy   # or just `uvx pep723fy ...`

Usage

From pyproject.toml:

pep723fy script.py pyproject.toml

From requirements.txt:

pep723fy script.py requirements.txt

Use --help for more details:

$ pep723fy --help
usage: pep723fy [-h] [-f] [-g NAME] destination [source]

Inject pyproject.toml or requirements.txt dependencies as PEP 723 inline
script metadata.

positional arguments:
  destination       Path to the destination Python script.
  source            Path to the source pyproject.toml or requirements.txt
                    (default: ./pyproject.toml).

options:
  -h, --help        show this help message and exit
  -f, --force       Overwrite the destination's existing PEP 723 script block.
  -g, --group NAME  Include a dependency group from [dependency-groups]. May
                    be repeated.

Metadata

Release files for pep723fy 0.0.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 pep723fy 0.0.1
File Size Uploaded
pep723fy-0.0.1.tar.gz 25.8 kB Details

Built distribution (wheel)

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

Total release size: 31.5 kB

Release files / pep723fy-0.0.1.tar.gz

Download URL pep723fy-0.0.1.tar.gz
Size 25.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c95fc0168d81cf8d6c9eccf6e6c69d1f6aafbce81a9203bf33a6836716deb2a7
BLAKE2b-256 checksum
How to use checksums
46940cddbe90a3f93b4463e7339c038bf8de0ceb8b7e6623435fc558a40b1c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 26, 2026.

Transparency log

Release files / pep723fy-0.0.1-py3-none-any.whl

Download URL pep723fy-0.0.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8993115e3e7a1b923b5bb3e355e42dcd9571036748b61239263a8248351c049
BLAKE2b-256 checksum
How to use checksums
37383954186b591fea11d3d41ff17d99c6add7bf8da4aee020741c1e75987e07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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