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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.7.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.7.tar.gz
Algorithm Hash digest
SHA256 ed3e63d77b328de831763f53100bb1838882b842d352027ba9df5150d14ffda2
MD5 5ee7e43a5ad55698a2286fb9a923a712
BLAKE2b-256 3aeb107803fb2fb9e3307820735867f255489c9b4d639f317ff48a033258fea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 da140404cfe0a980aa8bf1e9d1f8805cdc946319280b04c26c97d1602ae6f7bc
MD5 4c5d4d23c367944100959b90fa7b98e9
BLAKE2b-256 30af003988c428eaeff7d949208bdea6c045415c3cc0dd557cd841fe9862c1d5

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