C++ Canister Development Kit
icpp-pro is a cdk to develop C++ smart contracts for the Internet Computer.
Its Candid library is 100% compliant with the Candid Interface Specification (spec 0.1.8, dfinity/candid@572c80a), within its limits: it decodes every message of the spec, and encodes every value, recursive types included, to the bytes of the reference implementation. All 472 asserts of the official suite pass, and all 1190 with the Candid tests of the Rust and Motoko CDKs. See Candid compliance.
In the wild
Check out these real world on-chain AI examples build with icpp-pro:
Installation
pip install icpp-pro
Documentation
See the icpp-pro documentation.
Source Code
The source code is open source and available at:
Contributing
- Set up with the Contributors Guide. The Feature Guide describes how a change is planned, tested and released.
- Work on a branch and open a pull request into
main. Every pull request needs a manual approval from the maintainer before it merges. - Before each push to a pull request:
- on a larger change (over ~200 lines),
/simplifyfirst; /code-reviewand/security-reviewof the branch, each repeated until a round leaves nothing to address. Pass each round the findings already decided, so it does not redo them; when a round only reverses an earlier one, record the choice and stop;make all-staticand the tests of the affected canisters pass.
- on a larger change (over ~200 lines),
- CI runs the full test suite on every icpp-pro push that changes code, and
siblings-verify(icpp-docs and icpp-demos against the branch) on every icpp-pro push that changes its source, scripts or build files. icpp-candid has no CI of its own: for an icpp-candid change, push its branch first, then icpp-pro's branch of the same name. A workflow that this push did not start (its paths did not change), or that started before the icpp-candid branch existed, you start on icpp-pro's branch by hand, without ref overrides, and watch it; it cancels the earlier run of that workflow on that branch. The workflows arecicd-ubuntu,cicd-mac,cicd-wheel-testandsiblings-verify:id=$(gh workflow run <workflow>.yml -R icppWorld/icpp-pro --ref <branch> | grep -o 'runs/[0-9]*' | cut -d/ -f2); sleep 10; gh run watch -R icppWorld/icpp-pro $id. Until they pass, the icpp-candid pull request has not been tested. - The required checks (
all-ubuntu,all-mac) count only from runs a push starts; a run started by hand does not satisfy them. A push that changes no code path starts none, so give each such push to a pull request a one-line change to.github/trigger.txt. - Nothing heavier than the affected canisters runs on a laptop, except the
upgrade gate (
make upgrade-test). - CodeRabbit on GitHub reviews each pull request when it opens. Each of its
findings gets a fix, or a reply saying why not. Ask it for a re-review
(
@coderabbitai review) only after a code fix of a real finding. It does not block a merge: when it is rate-limited or slow, the pull request merges on the clean reviews above, and says so. - The pull request lists each review's findings and what was done about them.
- A change to
CLAUDE.mdor to the skills in.claude/skills/also gets a prompt audit (/claude-api prompt-audit). - A release gets two deeper reviews on top: see the release guide.
Community
Please join our C++ community on OpenChat
Metadata
Release files for icpp-pro 7.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icpp_pro-7.3.0.tar.gz | 315.8 kB | With provenance | Details for icpp_pro-7.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icpp_pro-7.3.0-py3-none-any.whl | Python 3 | none | any | Details for icpp_pro-7.3.0-py3-none-any.whl |
Total release size: 671.5 kB
Release files / icpp_pro-7.3.0.tar.gz
| Download URL | icpp_pro-7.3.0.tar.gz |
|---|---|
| Size | 315.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a1099ad07cedd7b6580a20ffd8f58945f01893671a8ae6b4258eea7bb2524bc
|
|
BLAKE2b-256 checksum How to use checksums |
e0bd86d752d2f64a905ba3e95dffabcc0bd6eb6c79dcff9ba4d6a9884ee35016
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / icpp_pro-7.3.0-py3-none-any.whl
| Download URL | icpp_pro-7.3.0-py3-none-any.whl |
|---|---|
| Size | 355.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd4bc4dc961c5e750767425c9f43638e9b305ea8b7ff922586807ae2c77c68ef
|
|
BLAKE2b-256 checksum How to use checksums |
446f3283c1db9bd6d00aeee6c7d3d062d1a3afb46f9d1f3405813e58ade2d8bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for icpp-pro 7.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for icpp_pro-7.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.