The Pants v2 Documentation Hub

Welcome to the Pants v2 documentation hub. You'll find comprehensive guides and documentation to help you start working with Pants as quickly as possible, as well as support if you get stuck. Let's jump right in!

NOTE: This is still a work in progress!

Get Started    

Welcome to Pants!

What is Pants?

Pants is a scalable build system for monorepos: codebases containing multiple projects—often using multiple programming languages and frameworks—in a single unified code repository.

Monorepos have many advantages, but they require appropriate tooling in order to scale. Pants provides this tooling.

📘

Note

This documentation is for Pants v2 only. See here for Pants v1 documentation.

What are the main features of Pants?

Pants is designed for fast, consistent builds. Some noteworthy features include:

  • Explicit dependency modeling.
  • Fine-grained invalidation.
  • Shared result caching.
  • Concurrent execution.
  • Remote execution.
  • Unified interface for multiple tools and languages.
  • Extensibility and customizability via a plugin API.

Which languages and frameworks does Pants support?

Pants currently works with Python code, but support for other languages, including Javascript/Node, Java, Scala and more, is coming soon.

📘

Note

Pants v1 already supports JS/Node, Java, Scala, Go and more. See here for details. This documentation is for Pants v2 only.

Who develops Pants?

Pants is an open-source software project, developed at github.com/pantsbuild/pants. Pants is released under the Apache License 2.0.

Updated 21 days ago

Welcome to Pants!


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.