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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared-architecture-0.4.2.tar.gz
  • Upload date:
  • Size: 29.2 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.2.tar.gz
Algorithm Hash digest
SHA256 bdedc77459ca4f6e57c70331cec834a5f386864a673eb5096b1c49730ee4e879
MD5 7f38585d3b83256b1f7e39e5a68e5009
BLAKE2b-256 6c87f0bc07e84c49e6f6b6f0d758217cbffb2b2642cdae285107aab1f835f14a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 49c042b7b34876e38ba3e95f0a4b2e505eeb515ca9d0ddcdbe1444fa872fae41
MD5 53204175b109c8eb7a1bc60be97de00e
BLAKE2b-256 827a514eabe5dd2b20874f106cf08bf3c28edb009774649cb87781186c4f8027

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