py-rattler
A blazing fast library to work with the conda ecosystem
Decision gist · record as of 2026-08-14
Yes, if you need to embed conda workflows into Python applications. The permissive BSD license, active maintenance, zero runtime dependencies, and broad platform support make it low-risk. The Alpha status and mandatory async pattern are minor friction; verify that async fits your architecture and that the API stability meets your needs before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8+; async/await pattern is mandatory for all operations.
- Medium install friction due to compiled wheels across many platforms (cp38-abi3 stable ABI).
- Active maintenance with recent releases; no runtime dependencies simplifies deployment.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and proprietary use with minimal restrictions; attribution required.
last release 2026-06-09 (66 days) · last repo commit 2026-08-14 · 450 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 776,759 downloads/mo, #5,090 on PyPI
Alternatives
Verify before relying
pip install py-rattler
import asyncio
from rattler import solve, install, VirtualPackage
async def main():
solved = await solve(
channels=["conda-forge"],
specs=["python ~=3.12.0"],
virtual_packages=VirtualPackage.detect(),
)
await install(records=solved, target_prefix="./env")
asyncio.run(main())- Whether the library's performance advantage over conda-python is quantified or measured in real-world scenarios.
- Stability guarantees or API compatibility roadmap given the Alpha development status.
What it is and what it does
py-rattler is a Python wrapper around Rattler, a Rust library that reimplements core conda ecosystem functionality for speed and language independence. It lets you solve package dependencies, install conda packages into environments, and run commands within those environments—all from Python code without relying on conda itself. The library is designed around async/await patterns and exposes the full power of the underlying Rust implementation.
The package targets developers who need to embed conda workflows into their own tools or applications. It has no runtime dependencies and ships as pre-compiled wheels for most platforms (x86_64, ARM, PowerPC, i686, Windows, macOS, Linux). Active maintenance and use in production systems like pixi and prefix.dev indicate maturity despite the Alpha classifier.
Use it for
- Build tools that need to create isolated conda environments programmatically without invoking conda directly.
- Package managers or deployment systems that solve and install conda packages as part of their workflow.
- Cross-platform applications that require conda ecosystem support without Python conda as a dependency.
- Backend services (like prefix.dev) that need fast, non-blocking conda operations via async.
- Version resolution and dependency analysis for conda packages in custom applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to embed conda workflows into Python applications.
The permissive BSD license, active maintenance, zero runtime dependencies, and broad platform support make it low-risk. The Alpha status and mandatory async pattern are minor friction; verify that async fits your architecture and that the API stability meets your needs before committing to production use.
Install
py-rattler on PyPI
Before you install
Medium install friction due to compiled wheels across many platforms (cp38-abi3 stable ABI). Active maintenance with recent releases; no runtime dependencies simplifies deployment.
Requires Python 3.8+; async/await pattern is mandatory for all operations.
License in practice
BSD-3-Clause permissive license allows commercial and proprietary use with minimal restrictions; attribution required.
Quickstart
pip install py-rattler
import asyncio
from rattler import solve, install, VirtualPackage
async def main():
solved = await solve(
channels=["conda-forge"],
specs=["python ~=3.12.0"],
virtual_packages=VirtualPackage.detect(),
)
await install(records=solved, target_prefix="./env")
asyncio.run(main())
Verify before relying
- Whether the library's performance advantage over conda-python is quantified or measured in real-world scenarios.
- Stability guarantees or API compatibility roadmap given the Alpha development status.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 66 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 776,759 / month, #5,090 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustTyping :: Typed |
Evidence: py_rattler-0.25.0-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; py_rattler-0.25.0-cp38-abi3-macosx_10_12_x86_64.whl; py_rattler-0.25.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl; py_rattler-0.25.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; py_rattler-0.25.0-cp38-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl; py_rattler-0.25.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; py_rattler-0.25.0-cp38-abi3-manylinux_2_28_aarch64.whl; py_rattler-0.25.0-cp38-abi3-manylinux_2_28_armv7l.whl; py_rattler-0.25.0-cp38-abi3-musllinux_1_2_aarch64.whl; py_rattler-0.25.0-cp38-abi3-musllinux_1_2_armv7l.whl; py_rattler-0.25.0-cp38-abi3-musllinux_1_2_i686.whl; py_rattler-0.25.0-cp38-abi3-musllinux_1_2_x86_64.whl; py_rattler-0.25.0-cp38-abi3-win32.whl; py_rattler-0.25.0-cp38-abi3-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “environment solving and installation”
- py-rattlerpy-rattler provides Python bindings to Rust-based conda ecosystem…
- ansible-dev-environmentCreates isolated virtual environments for Ansible collection…
- sagemathSageMath is a comprehensive open-source mathematics software system…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also chia-rs · unidep · kornia-rs · conda-package-handling · vegafusion · regress · puccinialin · cargo-lambda · rpds-py · pyproject2conda