Skip to main content
Version: 2.23

Example projects and repositories

Example projects 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
  • generating setup.py and building .whl files

A codegen repository, demonstrating:

  • Apache Thrift & Python
  • Protobuf/gRPC & Python

A Docker repository.

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.