Skip to main content

Resource hub

Learn more about Pants and related topics from these talks, posts and podcasts featuring Pants contributors and users.


Case Studies

Describes why and how the maintainers of Bazel's Haskell rules chose to use Pants for a client's Python monorepo. Also covers some gotchas for newcomers.

Oxbotica

November 4, 2022  "Introducing Pants to Oxbotica"

Self-driving vehicle company's successful journey to adopting Pants locally and in CI.

Describes how the company developed an efficient, reliable Python ecosystem using Pants, and solved the challenge of managing Python applications at a large scale at Coinbase.

Explains the technical details of the continuous integration/continuous delivery (CI/CD) infrastructure and dependency management of the company's Python ecosystem.

Watson Orders is an IBM Silicon Valley based technology development group targeting the development of world-class conversational AI. This posts walks through the process of migrating off Bazel, where they maintained 19,000 lines of BUILD file metadata, to Pants where that was slashed to 2,400 lines thanks to dependency inference. CI build time for PRs dropped from 10-12 minutes with Bazel to under 4 minutes with Pants.

Astranis Space Technologies

August 12, 2022  "Astranis Case Study: Wrangling Python In a Monorepo"

...We found it incredibly easy to hook in our existing remote caching systems to Pants, and added other nice features like running tailor in a check-only mode to highlight any inconsistencies in our repo. As a side benefit, Pants has helped us gain better insight into our repository by being able to easily scan for and report the transitive dependencies of modules. Having that insight has helped us plan out how to minimize the coupling of our modules...

Twitter Engineering

December 31, 2021  "Advancing Jupyter Notebooks at Twitter - Part 1"

About the intersection of Twitter data science, monorepos, Pants, Pex, and the pants-jupyter-plugin.


Tutorials

Doctrine.fr Engineering blog

Nov 25, 2022  "Industrialized Python code with Pylint plugins in Pants"

What if you needed to put strict code convention rules through a linter and apply them with the help of Pants?

Suresh Joshi

April 4, 2022  "It's Pants Plugins All the Way Down"

A follow-up to "Your first Pants plugin" detailing how to manage code quality via plugins, continuous integration checks, and pre-commit hooks.

Suresh Joshi

January 25, 2022  "Your first Pants plugin"

A newcomer's walk-through of the code and experience of writing one's first Pants plugin.

Gordon Cassie

October 30, 2021  "Getting Started With Pants and Django"

Podcasts

What advantages can a build system provide for a Python developer? What new skills are required when working with a team of developers? Pants core maintainer and co-author Benjy Weinberger discusses Pants and getting started with continuous integration (CI).

Humans of Devops

March 7, 2022  "Season 3, Episode 69: The Curse of Knowledge"

Pants core maintainer Eric Arellano and Pants contributor Nick Grisafi discuss what Pants team has learned from philosophical concepts such as The Curse of Knowledge, Beginners Mind, and The Power of the Outsider.

Pants core maintainers Stu Hood, Eric Arellano, and Andreas Stenius guest.

Software Engineering Daily

January 17, 2022  "Build Tools with Benjy Weinberger"

Semaphore Uncut

April 13, 2021  "Episode 33: Monorepo and Building at Scale"

Pants core maintainer Benjy Weinberger guests.

Pants core maintainer Benjy Weinberger guests.

Pants core maintainers Stu Hood and Eric Arellano guest.

Posts & Articles

How the cache solutions offered by CI providers work, why they are often of limited benefit, and how Pants supports a much more effective caching paradigm.

Software Development Times

January 18, 2022  "The monorepo approach to code management"

"If you're responsible for your organization's codebase architecture, then at some point you have to make some emphatic choices about how to manage growth in a scalable way..."

Talks

AWS Community Day Bay Area 2022

September 9, 2022  "When Projects Grow: CI/CD at scale"

Pants maintainer Josh Reed gives a talk about the challenges about running CI on a large monolith codebase, and mentions Pants as part of the ensemble of soultions to help wrangle the complexity that comes with scale.

Pants maintainer Chris Neugebauer gives a deep dive into the sandboxing model used by Pants, the priorities driving its design, and the pros and cons.

Pycon 2022 - Lightning Talks

April 23, 2022  "Stop Running Your Tests"

Chris Neugebauer gives a swift and cheeky introduction to Pants.

EuroPython 2021

July 30, 2021  "Python monorepos: what, why and how"

A discussion of the advantages of monorepos for Python codebases, and the kinds of tooling and processes we can use to make working in a Python monorepo effective.

Build Meetup 2021

June 24, 2021  "Faster Incremental Builds with Speculation"

Djangocon Europe 2021

June 3, 2021  "Managing Multiple Django Services in a Single Repo"

A dive into how Pants 2 benefits from making unconventional use of certain Python 3 features.

Cuando hay problemas de rendimiento, las extensiones nativas de Python se empoderan para mejorar el rendimiento del "critical path", y también seguir usando Python y evitar una reinscripción costosa.

Pycon Israel 2021

May 3, 2021  "Python Monorepos: What, Why, and How"

Repositories

Example: Python with Pants and PEX

https://github.com/StephanErb/pexample

A running example of the Pants Build system and Python packaging with PEX.

Example: Pylint custom linter rules for a Python project using Pants

https://github.com/DoctrineLegal/demo-pants-pylint

A ready-to-use example of a repository that contains a Python project and Pylint custom linter rules


Press

InfoWorld: A brief intro to the Pants build system

February 17, 2022  "A brief intro to the Pants build system"

Software Development Times

December 3, 2021  "SD Times Open Source Project of the Week: Pants"

Interviews

TechStrong TV

December 14, 2021  "Open-Source Build"

Interview with long-time Pants maintainer Benjy Weinberger, who explains why developers need a simpler open-source build system.

Interview with long-time maintainer Benjy Weinberger.