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.1.tar.gz (19.2 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.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mic_platform-0.1.1.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

Hashes for mic_platform-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3b9e678dbc4cd8347ae843e72c7c4d6de7088f626cc1f0f3d00c5689971faef7
MD5 ee642987afc141e0d77b3b79bbee7a0d
BLAKE2b-256 dc8131ab3e3884b84f6d1725d9510ca6e7f06c5864306881e8b5f36245c92d9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mic_platform-0.1.1-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

Hashes for mic_platform-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c9b4e826f030ea88edfd8485d1fc1458acd89925bdb8dd45440bf49385c68d2
MD5 4814d2685968331eeb6253efb4244af3
BLAKE2b-256 1399305197e905573e265f4c5e7e02a3c8ff532ee4cf13bd4833861d1b4a7c8a

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