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.5.0.tar.gz (27.6 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.5.0-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

Details for the file shared-architecture-0.5.0.tar.gz.

File metadata

  • Download URL: shared-architecture-0.5.0.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for shared-architecture-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0200117c8b476e14060293ae8d6dbf700c1f34e75b905f662365ff0f0b5136b7
MD5 c642551a53eab13e313ec2b23b9f5807
BLAKE2b-256 c2368b03e6a0df0ba0331d4bb4b1430cadc347c25a30bfa0743ea8cf954f59e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de264d4bfe3f7d6ef6a127553d6c8b458bfaefd44038888d9e3f5061030d0c76
MD5 5f7d345c95e08b0aa3a346faeccf4df5
BLAKE2b-256 28dd7626d9fcc5b9d123aa2be8a68a769d51fb7f70ceee2e3a0adc4db4bc297c

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