Resolve conda environment.yml files to fully pinned package lists with SHA256 hashes
Project description
conda-presto
A fast, dry-run conda solver exposed as both a CLI and an HTTP API.
Given package specs or an environment file (environment.yml,
pixi.toml, pyproject.toml, requirements.txt, conda-lock,
pixi-lock, …), it resolves fully pinned packages for one or more
platforms — without downloading or installing anything — and emits
the result as native JSON or any conda exporter format
(pixi.lock, conda-lock.yml, environment YAML, explicit file, …).
Highlights
- Resolve inline specs or any environment file format
- Full package metadata: sha256, md5, urls, sizes, depends
- Cross-platform solving with automatic virtual package injection
- Multi-platform parallel solves via
ProcessPoolExecutor - Output as JSON or any conda exporter format (
--format/?format=) - Lockfile-to-lockfile transcode path that skips solving when possible
- Review proposed environments with
/preflight,/diff, and/explain - Content-addressed HTTP result cache with
/r/<sha256>lookups and optional file or Redis backing - HTTP API with interactive docs (Scalar UI), compression, rate limiting
- GitHub Action for CI pipelines (local CLI and hosted API modes)
- Docker images for server and CLI deployment
- Uses
conda-rattler-solverfor fast SAT solving
Quick start
pixi global install --git https://github.com/jezdez/conda-presto.git
conda presto -c conda-forge -p linux-64 python=3.12 numpy
Run a server
docker run --rm -p 8000:8000 ghcr.io/jezdez/conda-presto:latest
curl http://localhost:8000/health
Pin a versioned image tag for deployments. See the container configuration reference for server tuning and Redis result-cache setup.
Documentation
Full documentation is available at the conda-presto docs site:
- Quick start — install and first resolve
- CLI tutorial — in-depth CLI usage
- HTTP API tutorial — HTTP workflows
- CI pipeline — GitHub Action setup
- Reference — CLI flags, endpoints, formats, env vars
- Architecture — how it works
- Roadmap — shipped foundations and linked future work
Development
git clone https://github.com/jezdez/conda-presto.git
cd conda-presto
pixi install
pixi run lint # ruff check
pixi run format # ruff format
pixi run test # pytest
pixi run bench # pytest-benchmark
pixi run serve # uvicorn with --reload
pixi run -e docs docs # build documentation
License
BSD-3-Clause
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conda_presto-0.6.0.tar.gz.
File metadata
- Download URL: conda_presto-0.6.0.tar.gz
- Upload date:
- Size: 155.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5154d6f6a367cc074d5f8aaa1c994c205f0a14dcf81959419ca8bcbf7a99461
|
|
| MD5 |
c8b9a7238df85952e002a35de817b72c
|
|
| BLAKE2b-256 |
fd127f9aa5408736df35963950a275d8d3ad75e2302d0a72ee0b1821ccc4477a
|
Provenance
The following attestation bundles were made for conda_presto-0.6.0.tar.gz:
Publisher:
release.yml on jezdez/conda-presto
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_presto-0.6.0.tar.gz -
Subject digest:
c5154d6f6a367cc074d5f8aaa1c994c205f0a14dcf81959419ca8bcbf7a99461 - Sigstore transparency entry: 2139318381
- Sigstore integration time:
-
Permalink:
jezdez/conda-presto@423088d618df27dc5d2bbb5b457dba40b57e0fd3 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/jezdez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@423088d618df27dc5d2bbb5b457dba40b57e0fd3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file conda_presto-0.6.0-py3-none-any.whl.
File metadata
- Download URL: conda_presto-0.6.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14b35c63e4e5fb5103bee1abccd7f70c156aa05b0cbd7de34622eb27518a76b4
|
|
| MD5 |
bcad37a89762f74573d6050aa964fe43
|
|
| BLAKE2b-256 |
4b5a2a31f05ba85bdfe3c09000643d56a721bad976c38a3ecc1bf1ff040ab544
|
Provenance
The following attestation bundles were made for conda_presto-0.6.0-py3-none-any.whl:
Publisher:
release.yml on jezdez/conda-presto
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conda_presto-0.6.0-py3-none-any.whl -
Subject digest:
14b35c63e4e5fb5103bee1abccd7f70c156aa05b0cbd7de34622eb27518a76b4 - Sigstore transparency entry: 2139318425
- Sigstore integration time:
-
Permalink:
jezdez/conda-presto@423088d618df27dc5d2bbb5b457dba40b57e0fd3 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/jezdez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@423088d618df27dc5d2bbb5b457dba40b57e0fd3 -
Trigger Event:
push
-
Statement type: