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.3.0.tar.gz (20.5 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.3.0-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shared_architecture-0.3.0.tar.gz
  • Upload date:
  • Size: 20.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 3f62634194bb1b964ca893165c983fe0adfc7f49b629d2a9c882cb2a731fb1d8
MD5 cad3229b9460843bd61bf5f29fafcb93
BLAKE2b-256 420fdabb6ae36792a98917c7f89213f144e17b2969325e00bcb371452bee1882

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shared_architecture-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a2a0696c7ca40a5380825a5aa0e522a31104b32c8ca0be5620238fafa74bee1
MD5 6d7f5e76359e659bf8818689ab7a0d20
BLAKE2b-256 d1296acfd8d7756ce0bcbe5c6e3b385f54aa8964a2e5c3bbe683334af6878c0e

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