Maven for Python - Team-oriented Python project management tool built on UV
What's in a name? Maestria (Spanish/Italian for "mastery") brings Maven's proven build tool expertise from the Java world to Python. Just as Maven revolutionized Java project management, Maestria aims to bring that same level of sophistication and simplicity to Python development.
No migration required. Drop Maestria into any existing project and start using it immediately:
cd /path/to/existing-project
# See what Maestria detects about your project
maestria assess
# Install dependencies (reads pyproject.toml or requirements.txt)
maestria install
# Run tests
maestria test
# Lint
maestria lintMaestria auto-detects your project type (modern pyproject.toml, legacy setup.py, or requirements.txt only) and adapts its behaviour accordingly. No maestria init required.
Maestria brings Maven's proven build philosophy to Python, combining UV's blazing speed with enterprise-ready team features. See our Why Maestria? guide to understand how Maestria compares to other tools and what makes it unique.
Key differentiators:
- Zero-setup enterprise integration - Automatic pip.conf parsing for internal repositories
- Multi-tier template system - Share and enforce organizational standards
- Plugin architecture - Extend with custom workflows and lifecycle hooks
- Team-first design - Built for collaboration, not just individual developers
- UV-powered performance - 10-100x faster than traditional tools
Existing Python tools (Poetry, PDM, Hatch) target individual developers. Maestria is designed for teams and enterprises that need:
- Multi-tier template registry - Share organizational templates (local, git, organizational)
- Team standardization - Enforce security policies, testing standards, CI/CD patterns
- Zero-setup workflows - New developers productive in minutes, not days
- Plugin architecture - Extensible system with error isolation
- Enterprise-ready - Works with Artifactory, Nexus, and internal PyPI repositories
- UV-powered - Blazing-fast dependency resolution and environment management
Built on top of UV (Ultraviolet) for performance, Maestria combines Maven's time-tested philosophy with Python's modern tooling ecosystem.
Origin: Maestria originated at eBay as the successor to the internal eBay Python Build Tool (PBT), refined through production use before being open-sourced to benefit the broader Python community.
Recommended: Install with pipx (isolated, no conflicts)
# macOS (Intel & Apple Silicon)
brew install pipx
pipx install maestria
# Linux (all distributions)
python3 -m pip install --user pipx
pipx install maestria
# Windows 10/11
python -m pip install --user pipx
pipx install maestriaCross-Platform Support: Maestria works on macOS (Intel & Apple Silicon), Linux (all distributions), and Windows 10/11 - just like pipx!
Using uv? Install as a uv tool
uv tool install maestriaAlternative: Install with pip
# Core Maestria (recommended for modern projects)
pip install maestria
# With migration tools (for legacy project migration)
pip install maestria[migrate]Working with a private package registry (Artifactory, Nexus, etc.)?
# pipx — pass the index via --pip-args
pipx install maestria \
--pip-args "--index-url https://your-registry/simple --extra-index-url https://pypi.org/simple"
# uv tool
uv tool install maestria --index-url https://your-registry/simple
# pip
pip install maestria --index-url https://your-registry/simpleSee the Installation Guide for pip.conf setup and other options.
Migration Tools: The
[migrate]extra includes tools for migrating legacy projects to modern pyproject.toml format. Install it if you need to migrate from requirements.txt or upgrade partial pyproject.toml files. Modern projects don't need this extra.
Why pipx? pipx installs Maestria in an isolated environment so it works across any project without conflicting with your project's dependencies or Python version. Perfect for CLI tools! See our Installation Guide for details.
macOS Users: Use
brew install pipxto avoid PEP 668 externally-managed-environment errors.
# Initialize a new Python project
maestria init my-project --template=basic
# Set up development environment
cd my-project
maestria env setup
# Run tests
maestria test
# Build package
maestria build- Quickstart Guide - Get up and running quickly
- Development Guide - Contributing to Maestria
- Publishing Guide - Publishing your projects
- Zero-Setup Workflow - Complete workflow guide
- Feature Guide - All features explained
Maestria supports a lightweight plugin system for extending functionality. Official plugins include:
-
maestria-zensical-plugin - Documentation generation and GitHub Pages deployment powered by Zensical
pipx install maestria-zensical-plugin maestria plugin add docs maestria-zensical-plugin maestria docs deploy -m "update docs" # → deploys to GitHub Pages
See the Publish Docs how-to for a full walkthrough.
Community plugins and contributions are welcome! See our Plugin Development Guide to create your own.
Maestria is designed as a lightweight layer on top of industry-standard tools to provide:
- Works Everywhere - Drop into any Python project and start working immediately (macOS, Linux, Windows)
- Zero-setup experience for common Python project tasks
- Team-oriented features like shared templates and standards
- Unified interface across different projects
- Plugin extensibility for custom workflows
- Modern defaults leveraging the best practices from the Python ecosystem
Maestria maintains high test coverage standards to ensure reliability:
# Run all tests with coverage
python -m pytest --cov=maestria --cov-report=term tests/
# View detailed coverage with missing lines
python -m pytest --cov=maestria --cov-report=term-missing tests/
# Generate HTML coverage report
python -m pytest --cov=maestria --cov-report=html tests/See Development Guide for more testing details.
For comprehensive documentation, please visit our documentation site.
We welcome contributions! Please see our Contributing Guide for details on:
- Setting up your development environment
- Code style and testing requirements
- Submitting pull requests
Maestria is licensed under the Apache License 2.0. See the LICENSE file for details.
Copyright (c) 2024-2025 eBay Inc.