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.9.tar.gz (34.8 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.9-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.4.9.tar.gz
  • Upload date:
  • Size: 34.8 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.9.tar.gz
Algorithm Hash digest
SHA256 de7a615b84609017cc2593b0cf1a4fd0a87976ec3f558c5ba5a477ae456d4da8
MD5 7c20d3292effcca3722ccda8bf234d1c
BLAKE2b-256 5d1d9e32779ab9be05032de2f25e1843e7e2906bc5855fd0d95af1d6600ee99e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bc29d7efc93b015217df2aa4026512e9c86e022d648a1ae5c5c37c6cdcd8555d
MD5 cd4eb66ae96f945caebc7d0c93c42348
BLAKE2b-256 52c024a8a09daffc0deaa58400eec5947cb097da1c5bdfddf1b311b88177d84f

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