Skip to main content

Universal Python client for 3forge AMI — JDBC, Real-Time, and Center protocols with SSL support

Project description

pyami

Python package for accessing 3forge AMI databases.

This repository contains a few different “layers” you can use depending on how you like to work:

  • pyami.rt.ami_client: compiled nanobind extension — real-time messaging client (RT, Center, JDBC). See src/pyami/cpp/README.md.
  • pyami.db.ami_dbapi: DB-API 2.0 (PEP 249) interface built on top of ami_client. See src/pyami/db/ami_dbapi/README.md.
  • pyami.db.sqlalchemy_ami: SQLAlchemy dialect. See src/pyami/db/sqlalchemy_ami/README.md.
  • pyami.pyjdbc: pure-Python JDBC wire-protocol client. See src/pyami/pyjdbc/README.md.

All connection types (RT, Center, JDBC) support automatic failover and sharding:

  • Failover — configure one or more backup endpoints per protocol and the client reconnects transparently on disconnect.
  • Sharding — each protocol can hold a vector of independent shards. By default there is one shard (and the API matches the original single-server shape). Adding more shards lets a single cluster span multiple servers, with an optional per-protocol distribution function deciding which shards a publish or write goes to.

See the Failover endpoints and Sharding sections of the user guide.

For a full walkthrough see docs/user_guide.md.

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

pyami_3forge-1.5.1.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyami_3forge-1.5.1-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file pyami_3forge-1.5.1.tar.gz.

File metadata

  • Download URL: pyami_3forge-1.5.1.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyami_3forge-1.5.1.tar.gz
Algorithm Hash digest
SHA256 cf1f5b832677efd468f762014e4f530c594b0e174b9a2cff51ccb2921049d3fe
MD5 7790e1f08d1702baa97646bf45ad838d
BLAKE2b-256 e17dc6d6af7714097d398af90929bc1ffb1f160490eebd621a6c96145fb36666

See more details on using hashes here.

File details

Details for the file pyami_3forge-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: pyami_3forge-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for pyami_3forge-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8111640f50caeb19509013cccf8b337a60585aa29141adb7f6a5b8ea65e32015
MD5 851fa8a1efdaf9ae493913e2bc5267ed
BLAKE2b-256 5ce5257e7948cd971df7927983092649e27f153347e23ae6ac9e9832bc504e6c

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