What is Pants?
Pants is a build system for Java, Scala and Python. It works particularly well for a source code repository that contains many distinct projects.
Pants is a tool in the Java Build Tools category of a tech stack.
Pants is an open source tool with 3.3K GitHub stars and 636 GitHub forks. Here’s a link to Pants's open source repository on GitHub
Who uses Pants?
Companies
3 companies reportedly use Pants in their tech stacks, including Twitter, Square, and Foursquare.
Developers
19 developers on StackShare have stated that they use Pants.
Pros of Pants
6
4
4
4
4
4
2
2
Blog Posts
Pants's Features
- Builds Java, Scala, and Python.
- Adding support for new languages is straightforward.
- Supports code generation: thrift, protocol buffers, custom code generators.
- Resolves external JVM and Python dependencies.
- Runs tests.
- Spawns Python and Scala REPLs with appropriate load paths.
- Creates deployable packages.
- Scales to large repos with many interdependent modules.
- Designed for incremental builds.
- Support for local and distributed caching.
- Especially fast for Scala builds, compared to alternatives.
- Builds standalone python executables (PEX files)
- Has a plugin system to add custom features and override stock behavior.
- Runs on Linux and Mac OS X.
Pants Alternatives & Comparisons
What are some alternatives to Pants?
Bazel
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Visual Studio Code
Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere