Documentation
Everything you need to know about rx-pro, the blazing-fast Python package manager.
Installation
rx-pro can be installed in several ways depending on your preference:
Quick Install (Recommended)
From PyPI
From Cargo
Pre-built Binaries
Download pre-built binaries from GitHub Releases:
| Platform | Download |
|---|---|
| Linux (x86_64) | rx-x86_64-unknown-linux-gnu.tar.gz |
| Linux (ARM64) | rx-aarch64-unknown-linux-gnu.tar.gz |
| macOS (Intel) | rx-x86_64-apple-darwin.tar.gz |
| macOS (Apple Silicon) | rx-aarch64-apple-darwin.tar.gz |
| Windows (x86_64) | rx-x86_64-pc-windows-msvc.zip |
Quick Start
Get up and running with rx-pro in under a minute:
Project Setup
rx-pro uses the standard pyproject.toml file for configuration. When you run rx init, a new project is created with the following structure:
Dependencies
Dependencies are specified in pyproject.toml under the [project.dependencies] section:
Lockfile
rx-pro generates a rx.lock file that pins exact versions of all dependencies for reproducible builds. This file should be committed to version control.
Tip: The lockfile is cross-platform compatible. The same lockfile works on Linux, macOS, and Windows.
Virtual Environments
rx-pro automatically manages virtual environments. By default, it creates a .venv directory in your project root. Use rx run to execute commands within the virtual environment.
rx init
Initialize a new Python project.
rx add
Add dependencies to your project.
rx remove
Remove dependencies from your project.
rx sync
Install all dependencies from the lockfile.
rx update
Update dependencies to their latest compatible versions.
rx run
Run a command in the virtual environment.
rx build
Build distribution packages (wheel and sdist).
rx publish
Publish your package to PyPI or a private registry.
rx audit
Scan dependencies for security vulnerabilities.
Security: rx-pro checks against the OSV database and PyPI advisory database for known vulnerabilities.
rx tool
Run Python tools in ephemeral environments without installing them in your project.
pyproject.toml Configuration
Complete example of rx-pro configuration:
Scripts
Define custom scripts in [tool.rx.scripts]:
Run scripts with rx run <script>:
Private Registries
Configure private package registries:
Workspaces (Monorepo)
Manage multiple packages in a single repository:
WebAssembly Plugins
Extend rx-pro with sandboxed WebAssembly plugins:
Docker Integration
Generate optimized Dockerfiles for your Python projects:
Task Runner
Define complex task workflows with dependencies:
Need help? Open an issue or start a discussion.