MIC — policy & contrôle (authz OPA/OpenFGA, ratelimit).
Project description
mic-platform
Briques policy & contrôle du framework MIC. Sommet du DAG
platform → data → core : dépend de mic-core ET mic-datastore.
Modules
| Module | Rôle |
|---|---|
mic.authz |
Autorisation : moteur in-memory, OPA, OpenFGA (appels API via httpx) |
mic.ratelimit |
Rate limiting (in-memory / Redis Lua) + RateLimitMiddleware |
Namespace PEP 420 (pas de mic/__init__.py).
Installation
pip install "mic-platform[openfga,redis]"
Extras
| Extra | Tire |
|---|---|
opa |
mic-core[client] (httpx — appels HTTP vers l'agent OPA) |
openfga |
mic-core[client] (httpx — API OpenFGA ; pas le SDK officiel) |
redis |
mic-datastore[redis] (backend Lua du rate limiter) |
ℹ️ L'adaptateur OpenFGA (
mic.authz.openfga) parle à l'API HTTP viahttpx, il n'utilise pasopenfga-sdk.
Versionnage
Brique volatile (OPA/OpenFGA bougent vite) — reste en 0.x. Contraindre avec
>=0.1,<1. Release : make release-pkg PKG=platform VERSION=x.y.z → tag
platform-vX.Y.Z (cf. ../../RELEASING.md).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mic_platform-0.1.0.tar.gz.
File metadata
- Download URL: mic_platform-0.1.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a506fcd128e7eead18a19950e2f13212e47c809722d49aa2e97aca72d8484cb
|
|
| MD5 |
dcce109fe46c1350f6584c5509768705
|
|
| BLAKE2b-256 |
25c896820cfecfa69640079302f22b707bea293db73a95b4591fd41d7e193497
|
File details
Details for the file mic_platform-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mic_platform-0.1.0-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a0a4b670113c34578cb8fd5b6b55de97e23956911d8855e172bac0ebe40cbc7
|
|
| MD5 |
7c6d039ec50f140fe86590247b6b78d6
|
|
| BLAKE2b-256 |
560ef4c7cb2a358a6a139d33386c060f2bd78b6e5e8a4f951e67a2092292a9b6
|