Metadata-Version: 2.5
Name: avrik-core-platform
Version: 0.1.1
Summary: Avrik core-platform for Python backends: token verification, local authorization with audited decisions, cloud access, licensing.
Project-URL: Homepage, https://github.com/avrik-ai/core-platform
Project-URL: Documentation, https://github.com/avrik-ai/core-platform/blob/main/docs/python.md
Project-URL: Issues, https://github.com/avrik-ai/core-platform/issues
Author-email: "ModelX AI, Inc." <avriktech.ai@gmail.com>
Maintainer-email: avrikai <avriktech.ai@gmail.com>
License-Expression: BUSL-1.1
License-File: LICENSE
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: <3.14,>=3.12
Requires-Dist: cedarpy~=4.12.2
Requires-Dist: cryptography<51,>=44
Requires-Dist: httpx<1,>=0.27
Requires-Dist: pyjwt[crypto]<3,>=2.10
Provides-Extra: aws
Requires-Dist: boto3<2,>=1.35; extra == 'aws'
Provides-Extra: azure
Requires-Dist: azure-identity<2,>=1.19; extra == 'azure'
Requires-Dist: azure-keyvault-keys<5,>=4.9; extra == 'azure'
Provides-Extra: fastapi
Requires-Dist: fastapi<1,>=0.115; extra == 'fastapi'
Provides-Extra: gcp
Requires-Dist: google-cloud-kms<4,>=3; extra == 'gcp'
Provides-Extra: grpc
Requires-Dist: grpcio<2,>=1.70; extra == 'grpc'
Provides-Extra: otel
Requires-Dist: opentelemetry-api<2,>=1.30; extra == 'otel'
Description-Content-Type: text/markdown

# avrik-core-platform

The Python SDK for [core-platform](https://github.com/avrik-ai/core-platform), the shared platform layer for Avrik
products. It gives Python backends what the `go/` module gives Go backends:

- **Tokens** (`avrik_core_platform.auth`): verify the console's short-lived tokens offline.
- **Authorization** (`avrik_core_platform.authz`): decide locally from each org's bundle, with the console's answers,
  and record every decision durably before it returns.
- **Token exchange** (`avrik_core_platform.tokens`), **cloud access** (`avrik_core_platform.cloudaccess`) and
  **licensing** (`avrik_core_platform.licensing`).
- **FastAPI** (`[fastapi]`) and **gRPC** (`[grpc]`) integrations, and OpenTelemetry metrics (`[otel]`).

```bash
pip install "avrik-core-platform[fastapi]==X.Y.Z"   # the same version as @avrik-ai/core-platform
```

The guide is [docs/python.md](https://github.com/avrik-ai/core-platform/blob/main/docs/python.md). Source-available
under the Business Source License 1.1, with free production use for small organizations: see
[LICENSING.md](https://github.com/avrik-ai/core-platform/blob/main/LICENSING.md).
