A transparent Python management solution for C++ dependencies and building.
- CLI: Provide imperative commands (
build,test,bench,run,install) for managing C++ projects within a Python ecosystem. - Plugin Architecture: Support pluggable generators (CMake, Meson) and providers (Conan, vcpkg) so users can mix and match toolchains.
- PEP 517 Build Backend: Act as a transparent build backend that delegates to scikit-build-core or meson-python after ensuring C++ dependencies are in place.
- Build System Consumer: Be declared directly in
[build-system].requires, like scikit-build-core, sopip wheelandpdm installtransparently install C++ dependencies alongside Python ones. No host-tool plugin is required.
- Resolve and install C++ dependencies through pluggable providers (Conan, vcpkg).
- Generate and sync build-tool configuration (CMake presets, Meson native files) from a single
[tool.cppython]table. - Detect project versions from source control through pluggable SCM plugins (Git).
- Inspect plugin configuration and discovered build targets with
cppython infoandcppython list.
See Setup for setup instructions.
We use pdm as our build system and package manager. Scripts for development tasks are defined in pyproject.toml under the [tool.pdm.scripts] section.
See Development for additional build, test, and installation instructions.
For contribution guidelines, see CONTRIBUTING.md.
Full documentation, including the build backend reference and plugin guides, is available at synodic.github.io/cppython.
This project is licensed under the MIT License. See LICENSE.md for details.
Copyright © 2026 Synodic Software