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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.1.tar.gz
  • Upload date:
  • Size: 30.4 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.1.tar.gz
Algorithm Hash digest
SHA256 ab2c9701e063f30aa38b565682008e38cb25a79d639868a7287d98ec24feb2d4
MD5 46bb81a99c287ada6ac9b6e26aa5959f
BLAKE2b-256 37cdf69ed2a5c72caaa9098fe369fda11887a398131608dba6317b406d2d53fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c97c4966f0489f9fa9415d017f6b664f1510461dcdc0393066dba13cc2221cc5
MD5 ae31ece14827eee09643ce5f22b155c1
BLAKE2b-256 229a27e05983d4b6f847d616a3d4c590dab46879c2608209c267b14a11bdb36f

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