Skip to main content

Self-contained bootstrapping/updating of Python applications deployed through shared repositories.

Project description

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.

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:
# http as binary
# httpie as dependency
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:
# http as binary
# httpie as dependency
./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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

appenv-2026.6.23b1.tar.gz (275.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

appenv-2026.6.23b1-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file appenv-2026.6.23b1.tar.gz.

File metadata

  • Download URL: appenv-2026.6.23b1.tar.gz
  • Upload date:
  • Size: 275.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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}

File hashes

Hashes for appenv-2026.6.23b1.tar.gz
Algorithm Hash digest
SHA256 5f842c9cfb0c598134d2a3742a1d2a2162a64a54d762a1fd190e3b4f9db2c955
MD5 04b7b61d4e3ecf5c9cd8e1cf1a94fff3
BLAKE2b-256 085d61830af453253ee1c4bcc7d3666f0537e6f575d526924e40a54e70fc1016

See more details on using hashes here.

File details

Details for the file appenv-2026.6.23b1-py3-none-any.whl.

File metadata

  • Download URL: appenv-2026.6.23b1-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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}

File hashes

Hashes for appenv-2026.6.23b1-py3-none-any.whl
Algorithm Hash digest
SHA256 b073c17f75b319e254ed20b2a182978c293304f70a2446123f5b94de9a93a2d5
MD5 751c16268db2737b6757c5af097de75b
BLAKE2b-256 28978881804c1b997ed584d71242beb31edeb54221dccf7e08febb9c21b769a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page