Skip to main content

PyPilot (CLI & Python Package)

PyPI version License: AGPL v3 Rust Python

PyPilot is a deterministic Python environment doctor, dependency solver, and toolchain manager. Powered by a high-speed compiled Rust engine, PyPilot calculates dependency intersections directly from PyPI wheel metadata, resolves hardware and CUDA build compatibility, and sets up working virtual environments without external AI or API keys.


⚡ High-Speed Native Rust Architecture

PyPilot combines the ease of installation via pip with the raw execution speed and low memory footprint of compiled Rust:

  • Instant startup: Binary execution starts in single-digit milliseconds.
  • Zero Python overhead: CLI commands delegate directly to the native pypilot binary.
  • Automatic platform management: Transparently downloads and caches the verified native engine matching your operating system (Linux x86_64, macOS Apple Silicon / Intel, Windows x64), or respects a system-installed Rust binary on your $PATH.

📥 Installation

Install via pip:

pip install pypilot-cli

Or install as an isolated global tool with uv:

uv tool install pypilot-cli

Or via pipx:

pipx install pypilot-cli

📖 CLI Reference & Commands

PyPilot provides a complete suite of environment doctor and bootstrap tools:

1. pypilot doctor

Analyzes your current workspace, virtual environment, and dependency manifests (requirements.txt, pyproject.toml, environment.yml). Displays a read-only health check without modifying any files.

pypilot doctor
# Target a specific workspace folder:
pypilot doctor --path /path/to/project

2. pypilot setup

Bootstraps a deterministic virtual environment. Automatically detects existing system tools:

  • Uses system uv if present on $PATH.
  • Supports pip-compatible mode (uv venv + uv pip) to accelerate installations without forcing a pyproject.toml migration.
  • Falls back cleanly to standard python -m venv + pip if uv is not installed.
pypilot setup

3. pypilot check <package>

Verifies whether a specific package and its wheels support your project's current Python interpreter version and operating system.

pypilot check mediapipe
pypilot check torch
pypilot check tensorflow

4. pypilot install <package>

Installs a package into your virtual environment and records it in your manifest (requirements.txt or pyproject.toml), preserving version constraints.

pypilot install requests
pypilot install numpy

5. pypilot fix python

Recomputes dependency version intersection and rebuilds the virtual environment on a Python version supported by all dependencies.

pypilot fix python

6. pypilot fix cuda

Scans system NVIDIA driver version and CUDA runtime, then re-pins PyTorch or TensorFlow wheels to the exact hardware-matched CUDA build.

pypilot fix cuda

7. pypilot update-data

Forces an immediate update of bundled hardware driver, CUDA compatibility matrices, and package wheel metadata.

pypilot update-data

8. pypilot migrate-conda

Translates legacy Anaconda / Miniconda environment.yml configuration files into a standard modern pyproject.toml.

pypilot migrate-conda

9. pypilot lsp

Runs PyPilot as a Language Server Protocol (LSP) server over stdio. Used natively by editor extensions (Zed and VS Code) for live import diagnostics and automated environment actions.

pypilot lsp

🐍 Python Programmatic API

PyPilot can also be imported and used directly inside Python code:

import pypilot

# Run any PyPilot command programmatically
result = pypilot.run(["doctor"], capture_output=True)
print(result.stdout)

# Locate or ensure native engine is available
bin_path = pypilot.ensure_binary()
print(f"Native engine located at: {bin_path}")

⚙️ Configuration

PyPilot respects workspace settings in .pypilot.toml or your editor configuration:

  • package_manager: "auto" (default), "uv", "uv-pip", or "pip".
  • notifications: "all", "problems-only", or "off".

📄 License

PyPilot is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later). See the LICENSE file for the full license text.

Release files for pypilot-cli 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypilot-cli 1.0.2
File Size Uploaded
pypilot_cli-1.0.2.tar.gz 78.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypilot-cli 1.0.2
File Interpreter ABI Platform
pypilot_cli-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 96.3 kB

Release files / pypilot_cli-1.0.2.tar.gz

Download URL pypilot_cli-1.0.2.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1e5861b8f1a68cabc3df56ea9f624b3511310b16abb746eee8901e57adb5053c
BLAKE2b-256 checksum
How to use checksums
84ab95e158dcc88412a0f24abcf0b530073cb8528ca5af2f400c8bfdf712ade8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

Release files / pypilot_cli-1.0.2-py3-none-any.whl

Download URL pypilot_cli-1.0.2-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1988c602ff9ea2dcc8437299cc67e912db99bae463221827485e668c7d10eb8c
BLAKE2b-256 checksum
How to use checksums
8885c7b1a5265dfbf37ccd65c8dfff9336adaeacd7456cb726d06123783d955b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.3

2 release files

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page