Skip to content
eBayPublic

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Maestria

Maven for Python - Team-oriented Python project management tool built on UV

PyPI version PyPI downloads Python Version License GitHub stars GitHub issues GitHub forks

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.

Already have a Python project?

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 lint

Maestria auto-detects your project type (modern pyproject.toml, legacy setup.py, or requirements.txt only) and adapts its behaviour accordingly. No maestria init required.

Why Maestria?

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.

Quick Start

Installation

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 maestria

Cross-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 maestria

Alternative: 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/simple

See 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 pipx to avoid PEP 668 externally-managed-environment errors.

Create Your First Project

# 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

Documentation

Plugin Ecosystem

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.

Design Philosophy

Maestria is designed as a lightweight layer on top of industry-standard tools to provide:

  1. Works Everywhere - Drop into any Python project and start working immediately (macOS, Linux, Windows)
  2. Zero-setup experience for common Python project tasks
  3. Team-oriented features like shared templates and standards
  4. Unified interface across different projects
  5. Plugin extensibility for custom workflows
  6. Modern defaults leveraging the best practices from the Python ecosystem

Testing

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.

Documentation

For comprehensive documentation, please visit our documentation site.

Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Setting up your development environment
  • Code style and testing requirements
  • Submitting pull requests

License

Maestria is licensed under the Apache License 2.0. See the LICENSE file for details.

Copyright (c) 2024-2025 eBay Inc.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages