Installation¶
Learn how to install REROUTE in your Python project.
Current Version
Latest Release: v0.3.0 Python Support: 3.8, 3.9, 3.10, 3.11, 3.12 Package Manager: uv (required)
Requirements¶
- Python: 3.8 or higher
- Package Manager: uv (required as of v0.3.0)
- Framework: FastAPI
Why uv only?
REROUTE v0.3.0+ exclusively uses uv - an ultra-fast Python package manager written in Rust. It's 10-100x faster than pip and provides better dependency resolution.
Install uv¶
If you don't have uv installed:
Basic Installation¶
Install REROUTE with FastAPI support:
This includes: - REROUTE core - FastAPI - Uvicorn (ASGI server)
Project Installation (Recommended)¶
For new projects, use REROUTE CLI to create a project with modern tooling:
The CLI automatically creates a pyproject.toml with uv configuration.
Development Installation¶
For contributing to REROUTE:
# Clone the repository
git clone https://github.com/cbsajan/reroute.git
cd reroute
# Create virtual environment with uv
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode with dev dependencies
uv pip install -e ".[dev]"
Verify Installation¶
Check that REROUTE is installed correctly:
Or use the CLI:
Update Notifications
REROUTE automatically checks for updates when you run CLI commands. You'll see a notification if a newer version is available.
Update REROUTE¶
To update to the latest version:
Or in your project directory:
Uninstall¶
To remove REROUTE:
Or remove from your pyproject.toml and run:
Migration from pip¶
Breaking Change in v0.3.0
If you were using pip with REROUTE v0.2.x:
Old way (v0.2.x):
New way (v0.3.0+):
Benefits:
- 10-100x faster installations
- Better dependency resolution
- Built-in virtual environment management
- Modern pyproject.toml support
Converting existing projects
To migrate an existing project from pip to uv:
Next Steps¶
Watch the Demo
See REROUTE in action with our video tutorial:
Quick Start Guide - Build your first app in 5 minutes First Route - Create your first route Installation Troubleshooting - Common installation issues