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.11.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.11-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.11.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.11.tar.gz
Algorithm Hash digest
SHA256 164ba79e5df23e3722ee14d8cd032627c66cda7965c7cdb2a788fac9485a3712
MD5 0177070ef5386142a5036cb444475f26
BLAKE2b-256 dd994d655c2cdd2af692b75fda41bf6a62afd440cddf54571e350376180ddf24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7dcb9a3e7768687366a27c461be8b255e61496bc7838235684fdf4555d0aceaf
MD5 15ae6e2560ade1957e32afcf427a8865
BLAKE2b-256 ef531d154be7f5ae886e05a5a58f4f13ea8173fb8948d6c9f0365b5d346fa1b5

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