Skip to main content

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
  • Content-addressed HTTP result cache with /r/<sha256> lookups
  • 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-solver for 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

Documentation

Full documentation is available at the conda-presto docs site:

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

conda_presto-0.5.1.tar.gz (144.2 kB view details)

Uploaded Source

Built Distribution

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

conda_presto-0.5.1-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file conda_presto-0.5.1.tar.gz.

File metadata

  • Download URL: conda_presto-0.5.1.tar.gz
  • Upload date:
  • Size: 144.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for conda_presto-0.5.1.tar.gz
Algorithm Hash digest
SHA256 d11674a9a8180087ca283199aa4725a98d97c6b72d377f1cda6eaec25d862ece
MD5 c4fb00f19b45f5f4f1acfaca1cafaa26
BLAKE2b-256 5b65d0dfd01a73e53d8cf184fcf5f8a4afe818877594cee2fb00473f05fc70b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_presto-0.5.1.tar.gz:

Publisher: release.yml on jezdez/conda-presto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file conda_presto-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: conda_presto-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for conda_presto-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5514a8063aa0ce0436ec86cb4a193234e5113076e0c86c828043faad8b85642
MD5 75346a5b7dd138b03e0aca681d86ff27
BLAKE2b-256 4877e3ac093ad725db15cddf336d4dbc6053cde46852715cfb83f5c3f135e446

See more details on using hashes here.

Provenance

The following attestation bundles were made for conda_presto-0.5.1-py3-none-any.whl:

Publisher: release.yml on jezdez/conda-presto

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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