Skip to main content

MIC — persistance & messaging (datastorage, cache, shard, locking, outbox, eventbus, queue, idempotency, response_cache, read_models, realtime).

Project description

mic-datastore

Briques de persistance & messaging du framework MIC. Dépend de mic-core (DAG platform → data → core — jamais l'inverse).

Modules

Module Rôle
mic.datastorage Backends de données : SqlDataStorage, DocumentDataStorage (MongoDB), GraphDataStorage (Neo4j), variantes in-memory
mic.cache Cache (in-memory / Redis) + RevokeBlacklist (révocation JWT)
mic.shard Sélection de shard / session factory
mic.locking Verrous distribués (in-memory / Redis)
mic.outbox Pattern transactional outbox + dispatcher
mic.eventbus Pub/sub synchrone (in-memory / Redis Streams)
mic.queue Event bus async durable (NATS JetStream / Kafka)
mic.idempotency Store d'idempotence
mic.response_cache Middleware de cache de réponses HTTP
mic.read_models Read-models (compteurs, leaderboards, timelines, HLL)
mic.realtime WebSocket realtime (backend Redis Streams)

Namespace PEP 420 (pas de mic/__init__.py).

Installation

pip install "mic-datastore[postgres,redis]"

Extras

Extra Tire
sql sqlmodel + alembic
postgres / mysql / oracle sql + driver (psycopg / PyMySQL / oracledb)
mongo (alias document) pymongo
neo4j (alias graph) neo4j
redis redis
nats / kafka nats-py / aiokafka
messaging nats + kafka
ws redis + mic-core[auth]

Versionnage

Brique volatile — reste en 0.x plus longtemps que mic-core. Contraindre avec >=0.1,<1. Release : make release-pkg PKG=data VERSION=x.y.z → tag data-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_datastore-0.1.5.tar.gz (88.8 kB view details)

Uploaded Source

Built Distribution

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

mic_datastore-0.1.5-py3-none-any.whl (126.2 kB view details)

Uploaded Python 3

File details

Details for the file mic_datastore-0.1.5.tar.gz.

File metadata

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

File hashes

Hashes for mic_datastore-0.1.5.tar.gz
Algorithm Hash digest
SHA256 55d3b4b57bd722fcd451017076a10cc1e10d594c9a99ee7d8a57a5c798eeef15
MD5 31070a099d936e1088cde6d18f133a89
BLAKE2b-256 5ac2f205ebebd42022d3d63626ce0fdec5e1f4ae4b4aca5cbcf31ae6e8520ab6

See more details on using hashes here.

File details

Details for the file mic_datastore-0.1.5-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mic_datastore-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d33e8ddcdb76fdaa51b80505cca34f77db75fbce0e7e8020a9a5abc373db1957
MD5 e4f97e07714935ca395e0aa9d0e8b401
BLAKE2b-256 9e073c8bee866748f58b4fa11b4950f9cccdc43be56d5e5d4aaaf0a42704456c

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