|
1 | 1 | # intentproof-sdk-python |
2 | 2 |
|
| 3 | +[](https://github.com/IntentProof/intentproof-sdk-python/actions/workflows/ci.yml) |
| 4 | + |
3 | 5 | Python SDK for emitting signed IntentProof execution events. |
4 | 6 |
|
| 7 | +## Who uses this |
| 8 | + |
| 9 | +Python application authors who need the same wrap/exporter/outbox contract as |
| 10 | +the Node and Go SDKs for signed execution events. |
| 11 | + |
5 | 12 | ## Status |
6 | 13 |
|
7 | 14 | Early scaffolding repo for IntentProof's Python SDK. Tracks the |
8 | 15 | Node SDK's wrap()/exporter/outbox contract so a Python application |
9 | 16 | can emit and verify the same signed execution events. |
10 | 17 |
|
11 | | -## Development |
| 18 | +## Install |
| 19 | + |
| 20 | +```bash |
| 21 | +pip install intentproof |
| 22 | +``` |
| 23 | + |
| 24 | +For development in this repository: |
12 | 25 |
|
13 | 26 | ```bash |
14 | 27 | pip install -e ".[dev]" |
| 28 | +``` |
| 29 | + |
| 30 | +## Verify |
| 31 | + |
| 32 | +Cross-language signing fixtures in CI match |
| 33 | +[`intentproof-spec`](https://github.com/IntentProof/intentproof-spec) golden |
| 34 | +vectors. Run `pytest` locally before publishing. |
| 35 | + |
| 36 | +## Test |
| 37 | + |
| 38 | +```bash |
15 | 39 | pytest |
| 40 | +bash ./scripts/check-coverage.sh 95 |
16 | 41 | ``` |
17 | 42 |
|
18 | 43 | CI enforces at least 95% line coverage on `src/intentproof/` (see |
19 | 44 | `pyproject.toml` and `scripts/check-coverage.sh`). |
20 | 45 |
|
| 46 | +## Release |
| 47 | + |
| 48 | +PyPI packages are published from maintainer release workflows in |
| 49 | +[`intentproof-tools`](https://github.com/IntentProof/intentproof-tools) using |
| 50 | +Sigstore-attested artifacts. See |
| 51 | +[`docs/release-signing.md`](https://github.com/IntentProof/intentproof-tools/blob/main/docs/release-signing.md). |
| 52 | + |
| 53 | +## Documentation hub |
| 54 | + |
| 55 | +Per-repo README files plus |
| 56 | +[`intentproof-infra`](https://github.com/IntentProof/intentproof-infra) for |
| 57 | +self-host install and image verification. Docs site deferred — see |
| 58 | +[`docs-hub-decision.md`](https://github.com/IntentProof/intentproof-infra/blob/main/docs/docs-hub-decision.md). |
| 59 | + |
| 60 | +## Support |
| 61 | + |
| 62 | +Report bugs, API gaps, and conformance findings via |
| 63 | +[GitHub Issues](https://github.com/IntentProof/intentproof-sdk-python/issues). |
| 64 | +See [`CONTRIBUTING.md`](CONTRIBUTING.md). Security reports: |
| 65 | +[`SECURITY.md`](SECURITY.md). |
| 66 | + |
21 | 67 | ## License |
22 | 68 |
|
23 | | -Apache License 2.0 (`LICENSE`). |
| 69 | +Apache License 2.0 — see [`LICENSE`](LICENSE), [`NOTICE`](NOTICE), and |
| 70 | +[`TRADEMARK.md`](TRADEMARK.md). |
0 commit comments