Metadata-Version: 2.4
Name: icpp-pro
Version: 7.3.0
Summary: C++ Canister Development Kit (CDK) for the Internet Computer
Author: icpp-pro
Maintainer: icpp-pro
License: MIT License
        
        Copyright (c) 2023 icppWorld
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://www.onicai.com/
Project-URL: Documentation, https://icpp-pro.onicai.com/
Project-URL: Repository, https://github.com/icppWorld/icpp-pro
Project-URL: Issues, https://github.com/icppWorld/icpp-pro/issues
Project-URL: Changelog, https://icpp-pro.onicai.com/release-notes.html#changelog
Keywords: Internet Computer,C++,Canister Development Kit,CDK,Smart Contracts,blockchain
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: icpp-candid==7.3.0
Requires-Dist: icpp-binaryen==116.0.1
Requires-Dist: icpp-pro-is-not-supported-on-windows; platform_system == "Windows"
Requires-Dist: typer>=0.12.1
Requires-Dist: tomli
Requires-Dist: pyyaml
Requires-Dist: requests
Requires-Dist: enlighten
Requires-Dist: pytest
Provides-Extra: dev
Requires-Dist: black==26.10.1; extra == "dev"
Requires-Dist: pylint==4.0.9; extra == "dev"
Requires-Dist: mypy==1.13.0; extra == "dev"
Requires-Dist: build==1.2.2; extra == "dev"
Requires-Dist: mkdocs==1.5.3; extra == "dev"
Requires-Dist: types-requests==2.31.0.10; extra == "dev"
Requires-Dist: types-PyYAML==6.0.12.20240917; extra == "dev"
Requires-Dist: wasmtime; extra == "dev"
Requires-Dist: cryptography==50.0.2; extra == "dev"
Dynamic: license-file

[![icpp-pro](https://github.com/icppWorld/icpp-pro/actions/workflows/cicd-ubuntu.yml/badge.svg)](https://github.com/icppWorld/icpp-pro/actions/workflows/cicd-ubuntu.yml)
[![icpp-pro](https://github.com/icppWorld/icpp-pro/actions/workflows/cicd-mac.yml/badge.svg)](https://github.com/icppWorld/icpp-pro/actions/workflows/cicd-mac.yml)

# C++ Canister Development Kit

icpp-pro is a cdk to develop C++ smart contracts for the  [Internet Computer](https://internetcomputer.org/).

Its Candid library is 100% compliant with the [Candid Interface Specification](https://github.com/dfinity/candid/blob/572c80a/spec/Candid.md) (spec 0.1.8, dfinity/candid@572c80a), within its [limits](https://icpp-pro.onicai.com/candid-compliance.html#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](https://icpp-pro.onicai.com/candid-compliance.html).

# In the wild

Check out these real world on-chain AI examples build with icpp-pro:

- [funnai.onicai.com](https://funnai.onicai.com/) ✨
- [icgpt.onicai.com](https://icgpt.onicai.com/) ✨
- [IConfucius](https://github.com/onicai/IConfucius) ✨
- [llama_cpp_canister](https://github.com/onicai/llama_cpp_canister) ✨

--- 

## Installation

```bash
pip install icpp-pro
```

## Documentation

See the [icpp-pro documentation](https://icpp-pro.onicai.com).

## Source Code

The source code is open source and available at:

- [icpp-pro](https://github.com/icppWorld/icpp-pro)
- [icpp-candid](https://github.com/icppWorld/icpp-candid)

## Contributing

- Set up with the [Contributors Guide](README-contributors-guide.md). The
  [Feature Guide](README-feature-guide.md) 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), `/simplify` first;
  - `/code-review` and `/security-review` of 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-static` and the tests of the affected canisters pass.
- 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 are
  `cicd-ubuntu`, `cicd-mac`, `cicd-wheel-test` and `siblings-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.md` or 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](README-release-guide.md#deep-reviews-of-the-release).

## Community

Please join our [C++ community on OpenChat](https://oc.app/community/cklkv-3aaaa-aaaar-ar7uq-cai/?ref=6e3y2-4yaaa-aaaaf-araya-cai)

