Hey! These docs are for version 2.8, which is no longer officially supported. Click here for the latest version, 2.11!

Example repositories

Examples to help set up your own repository.

A Python repository, demonstrating features such as:

  • running tests
  • using linters and formatters
  • using MyPy
  • running a REPL
  • building and running PEX files
  • building an AWS Lambda
  • generating setup.py and building .whl files
  • generating Protocol Buffer code

A Django repository, demonstrating how to use Pants effectively on your Django code, including how to:

  • work with multiple Django services in a single repo
  • work with multiple databases
  • use pytest-django and conftest.py when running Django tests
  • use manage.py

A Golang repository.

A Pants plugin repository, demonstrating how to customize Pants with your own functionality.


Did this page help you?