Skip to main content

Idae — run PEP 723 scripts

Idae

Poetry Code style: black Ruff Imports: isort Checked with mypy codecov

CI PyPI - Python Version PyPI PyPI - License

A PEP 723 implementation

Usage

Run like normal Python except that the first argument must be a path to the script.

idae example.py

The dependency specification within the Python script must be like the following (example from PEP 723):

#!/usr/bin/env idae
# /// script
# requires-python = ">=3.11"
# dependencies = [
#   "requests<3",
#   "certifi>=2026.10.19",
#   "rich",
# ]
# ///

import requests
from rich.pretty import pprint

resp = requests.get("https://peps.python.org/api/peps.json")
data = resp.json()
pprint([(k, v["title"]) for k, v in data.items()][:10])

If you need to pass arguments that look like options for idae to the script you want to run, use the standard UNIX convention of --. For example, let's say you have a script

# script.py
import sys
print(" ".join(sys.argv[1:]))

and you want that script to output I am --help. To run it with Idae, use

idae script.py -- I am --help

Caveats

How it works

  1. Detect script file
  2. Detect appropriate Python executable
  3. Use venv to create a temporary virtual environment in the user cache directory using the executable detected
  4. Find PEP 723 pip requirements
  5. Install them into the virtual environment
  6. Run the script within the virtual environment

Run idae clean to remove all cached environments to free up space. Environments are cached per set of requirements.

Installation

You can get this project via pip

$ pip install idae

But we highly recommend you install this project using pipx

$ pipx install idae

Why the name

The scientific name for Pythons is "Pythonidae". I just removed the "Python" and we get "idae".

License

This project is licensed under the GNU GPL v3+.

In short, this means you can do anything with it (distribute, modify, sell) but if you were to publish your changes, you must make the source code and build instructions readily available.

If you are a company using this project and want an exception, email me at thatxliner@gmail.com and we can discuss.

Metadata

Release files for idae 1.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 idae 1.1.1
File Size Uploaded Provenance Actions
idae-1.1.1.tar.gz 19.0 kB With provenance Details for idae-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 39.9 kB

Release files / idae-1.1.1.tar.gz

Download URL idae-1.1.1.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
137b725ca8c9751955b23f7463def09b436b67525ad696376c6cb968c3fe746b
BLAKE2b-256 checksum
How to use checksums
6efe2dbe1d1dca51ff0591e25bec155fa1974b9e38755cd538b33f9db4a6cc72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 21, 2026.

Transparency log

Release files / idae-1.1.1-py3-none-any.whl

Download URL idae-1.1.1-py3-none-any.whl
Size 20.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba001e78fe4eca95913076774b318786a60313c069434cec60fdae22721cc6d3
BLAKE2b-256 checksum
How to use checksums
5abe13274a863cdbc852a3b19ff815de7ba84dd7277f8d53e2165dc21ac6fa17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 21, 2026.

Transparency log

Security for idae 1.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 idae-1.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 21, 2026.

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.

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