Skip to main content

A shared Python library for backend microservices, including models, utilities, and configurations.

Project description

shared-architecture

Shared Python library for Stocksblitz Microservices Architecture.

Provides reusable components like:

  • ✅ SQLAlchemy ORM models (Activity Log, Broker, Symbol, etc.)
  • ✅ Common Enums (UserRole, AccountStatus)
  • ✅ Database session management
  • ✅ Redis, RabbitMQ, TimescaleDB connections
  • ✅ Retry helpers with exponential backoff
  • ✅ Keycloak authentication utilities
  • ✅ Centralized structured logging
  • ✅ Microservice connection management (ConnectionManager)
  • ✅ RabbitMQ Publisher utility

📦 Installation

pip install shared-architecture==0.3.0

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

shared_architecture-0.4.10.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

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

shared_architecture-0.4.10-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

Details for the file shared_architecture-0.4.10.tar.gz.

File metadata

  • Download URL: shared_architecture-0.4.10.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for shared_architecture-0.4.10.tar.gz
Algorithm Hash digest
SHA256 de5e9dd362d148e416ca4b2a1f10bed3855e47e285fc18cfccc6831bbe6bf445
MD5 fb2315442cfe66bedb21600ee85f4216
BLAKE2b-256 67b024ac816176e160f89f97712703f25852470ba3450174814c7c13d9416b2c

See more details on using hashes here.

File details

Details for the file shared_architecture-0.4.10-py3-none-any.whl.

File metadata

File hashes

Hashes for shared_architecture-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2f92f8eee8c3df32a83b14ca14f590be7526f8f5ed15ee6040d0fcc0f0baaa
MD5 c45ffa264beec6794f1b646590f34e4e
BLAKE2b-256 90fb356b854e083b9b9b39bce4484dc58683fe41e1fa2395dde79c09d380159f

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