Skip to main content
Version: 2.2 (deprecated)

Overview


The Python ecosystem has a great many tools for various features, and Pants installs, configures and invokes those tools for you, while taking care of orchestrating the workflow, caching results, running concurrently, and so on.

Pants currently supports the following goals and features for Python:

goalunderlying tools
dependency resolutionpip
test runningpytest
linting/formattingblack, flake8, docformatter, isort, pylint, bandit, grep
typecheckingMypy
code generationprotoc (including the gRPC and Mypy plugins)
packagingsetuptools, pex, aws lambda
running a REPLpython, iPython
counting lines of codescc

There are also goals for querying and understanding your dependency graph, and a robust help system. We're adding support for additional tools and features all the time, and it's straightforward to implement your own.