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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.0.tar.gz
  • Upload date:
  • Size: 30.4 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.0.tar.gz
Algorithm Hash digest
SHA256 83ee1804d7dec116155f71cdd36e4bec126d5db421e88400707c6dda994ac1d1
MD5 82ad0703b82ae9aac3d0aaae3da29aeb
BLAKE2b-256 3b65d07c1f242c603ac1130c2d37eecf287fe987eb180420b1c79f8cfa86bc4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 154ecb92f85ef7ae5d9087cbcd9617f013fff501a9fb672604ae8ecbb7f746d4
MD5 f5f42290aaa2e2fe0bd95e355e932322
BLAKE2b-256 fef14c1a3d8b080d435065aefe06d84276dfd7de76c0ec2f32e83414660f9648

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