Skip to main content

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 via httpx, il n'utilise pas openfga-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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mic_platform-0.1.13.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mic_platform-0.1.13-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file mic_platform-0.1.13.tar.gz.

File metadata

  • Download URL: mic_platform-0.1.13.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for mic_platform-0.1.13.tar.gz
Algorithm Hash digest
SHA256 96b722bf0ec2495d336ed2d650938b70f08cb3be7cd7e0c965c858bce6a36777
MD5 310ade3283c8c2eb36f059aac78233e7
BLAKE2b-256 11d7e058bf156592afe1899da6c5a220e4af8fb7ca74f214d4fc482c0fe10f8e

See more details on using hashes here.

File details

Details for the file mic_platform-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: mic_platform-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for mic_platform-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a7c3c30cf960fc532db960b7e53e740412d12a59d66518be4514b331e6d21645
MD5 40db3aa293c063cc3f7f80d8037c6a96
BLAKE2b-256 9f496c8cb2da918a9f23a5ea734129fdb056040e32d573b902d435e9b93dc9c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page