Skip to main content

appenv

E2E Tests Tox Tests

appenv pins Python packages to exact versions and exposes their binaries via symlinks — one file, no installation step. Drop it into a repository, commit it, and every checkout (local or remote) gets the same tools at the same versions by running ./http, ./pytest, ./batou, or whatever you need.

appenv never modifies your system — all state lives in .appenv/ inside the project directory. Remove that folder and nothing is left behind.

Built on uv for environment management.

Using an existing appenv project

Someone gave you a project that already uses appenv? Just run the command:

git clone <project> && cd <project>
./http  # First run sets up everything automatically

Running the command will get an appenv-managed uv if it's not globally available on your system.

No uv.lock (should be committed) or dependencies changed?

./appenv update-lockfile

(Only needed again after manually editing pyproject.toml)

Use ./appenv uv add/remove to manage your dependencies or just use uv as you are used to it.

Upgrading from requirements.txt

Already an appenv user and still using requirements.txt instead of pyproject.toml?

uvx appenv migrate

New Project

Requires Python 3.9+ (managed environments need 3.10+). uv 0.5.0+ is auto-installed if not found. Get appenv via uvx or download the single-file script.

appenv init will ask you some questions and set up the project (interactive by default — pass --binary and --dep for non-interactive use). The example assumes that you want to run a binary called http from the httpie package.

uvx (uv)

uvx is part of uv — the easiest way to start:

# appenv init is interactive
# Answer:
# httpie as dependency
# http as binary
uvx appenv init
./http

Manual Download

No uv installed? Download appenv directly:

curl -sL https://raw.githubusercontent.com/flyingcircusio/appenv/master/src/appenv.py -o appenv
chmod +x appenv
# appenv init is interactive
# Answer:
# httpie as dependency
# http as binary
./appenv init
./http

What just happened?

  • appenv installed itself inplace by adding the ./appenv script.
  • init created pyproject.toml and a symlink http → appenv.
  • ./http set up the venv with pinned versions from uv.lock, then ran the http binary (from the httpie package)

The repository now contains:

myproject/
├── appenv          # The appenv script
├── http -> appenv  # Runs the `http` binary from installed deps
├── pyproject.toml  # Project config and dependency list
└── uv.lock         # Exact versions of all dependencies

All of these files should be VCS-tracked to ensure a consistent environment across all machines.

Non-Interactive / CI

For scripts and CI pipelines — no TTY needed:

appenv init --binary http --dep httpie --name myproject

Development

For dev tooling, uv run and other uv commands work transparently. appenv automatically creates a .venv symlink to make this work:

# includes dev dependencies automatically
uv run pytest -xvs

Documentation

Full documentation at Readthedocs:

Release files for appenv 2026.7.29

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

Source distribution (sdist)

Source distribution for appenv 2026.7.29
File Size Uploaded
appenv-2026.7.29.tar.gz 280.2 kB Details

Built distribution (wheel)

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

Total release size: 311.3 kB

Release files / appenv-2026.7.29.tar.gz

Download URL appenv-2026.7.29.tar.gz
Size 280.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5c6d6d4241b38b5813ee07cdab858106efa8e649c3a4b60645f882c87810b0ce
BLAKE2b-256 checksum
How to use checksums
9350306109b448115690255968d635a56eb62d360e928bec166766d27414f83b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / appenv-2026.7.29-py3-none-any.whl

Download URL appenv-2026.7.29-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6445491e71e6b86d613d75683147d7fcf3f5926d7d63fb327ca308191e9ec456
BLAKE2b-256 checksum
How to use checksums
a9ce6b9960dd47eaaac950e0dce88ed3858bb7b8166ff05cc7d3ebadc365613a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
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