PyBuilder is a software build automation tool written in pure Python mainly targeting Python ecosystem. It is based on the concept of dependency-based programming but also comes along with powerful plugin mechanism that allows the construction of build life-cycles similar to those known from other famous build tools like Apache Maven and Gradle.
PyBuilder runs on Python 3.10 to 3.14 and PyPy. Every commit is tested via GitHub Actions on CPython 3.10, 3.11, 3.12, 3.13, 3.14 and PyPy on Linux, MacOS (with and without Homebrew) and Windows.
v0.13.17 is the last version supporting Python 3.9.
v0.13.13 is the last version supporting Python 3.8.
v0.13.10 is the last version supporting Python 3.7.
v0.13.6 is the last version supporting Python 3.6.
v0.12.x still supports Python 2.7, and 3.5 but is no longer maintained.
v0.11.x still supports Python 2.6, 3.3 and 3.4 but is no longer maintained.
PyBuilder is licensed under Apache 2.0 License and is hosted on github.com/pybuilder/pybuilder.
PyBuilder 0.13.19 is a feature release with several notable additions:
Two releases bring significant modernization to PyBuilder’s packaging pipeline:
PyBuilder 0.13.14 adds official support for Python 3.13 and fixes CVE-2024-53899 in the bundled VirtualEnv dependency.
#!/bin/sh
pip install pybuilder
# If you want the bleeding edge
# (we release after every commit)
# pip install --pre pybuilder
pyb --start-project
pyb publish
git clone https://github.com/twentybn/GulpIO
cd GulpIO
python -m venv venv
source venv/bin/activate
pip install pybuilder
# If you want the bleeding edge
# (we release after every commit)
# pip install --pre pybuilder
pyb
pip install pybuilder
We recommend using a virtual environment. Please see the dedicated installation page.
The tutorial shows you how to get started using PyBuilder for your Python project including unittests, coverage and distutils.