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.6.tar.gz (33.3 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.6-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.6.tar.gz
  • Upload date:
  • Size: 33.3 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.6.tar.gz
Algorithm Hash digest
SHA256 504297ff80903206c59d789999500c828b57d92e0ef30dda6f48f13c4547bcc6
MD5 635f11cdf753c997d8a6e91ba24703e2
BLAKE2b-256 6e3e7f09f16c0e7ea0caef667d0d74cac208b3041f9d125c5e9d06f9aa74046a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7560a31e91db9909294060f8c065aa40cd8b4e24655ef38d53124ebe28154130
MD5 e38a8d12d73164d2f377c4a8b65959fc
BLAKE2b-256 5237399d8d6442d40dc1cc0b30ef8a8f92fa73a62e0a53f738584084d3892cb7

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