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.8.tar.gz (34.9 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.8-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.8.tar.gz
  • Upload date:
  • Size: 34.9 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.8.tar.gz
Algorithm Hash digest
SHA256 7a6a1bb352d8310a509e4bf351701a2bf0abb923c27a07fae5345f96294507fe
MD5 322294d7998d27f00651def1db16d56a
BLAKE2b-256 e5373b29743f193d6119c03fabeb598df51dfe94f80af1cfa1d468768778510a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d56deb74946800807e9656ff0ff515897e7398ed2556e7e8542ba38b09704007
MD5 9447a64a0487b2a753a3213a9ae0a857
BLAKE2b-256 3cf849775a5117ab147632ad84fcbbb9945c0e29b876f895efd759229ab4258f

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