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.

Guides

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyami_3forge-1.5.4-cp314-cp314-win_amd64.whl (5.7 MB view details)

Uploaded CPython 3.14Windows x86-64

pyami_3forge-1.5.4-cp314-cp314-manylinux_2_34_x86_64.whl (757.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

File details

Details for the file pyami_3forge-1.5.4-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pyami_3forge-1.5.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ae4d3a99705d0967f8aad20e247cc92c49153ee158d8456cba73cef4c9207f8e
MD5 f492cb6e5e120578f220f8bb6afd0db8
BLAKE2b-256 d309f7ada1f3113a8024b3830fd540049c1aeaca1b3b6e91dad04c344f06fe47

See more details on using hashes here.

File details

Details for the file pyami_3forge-1.5.4-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyami_3forge-1.5.4-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a9861b20a66203e24019cbcd94a4de547e4b4862ed93ef7ddb50ea68e081e958
MD5 de3af5c9f7636b1753847f001a0c57d8
BLAKE2b-256 ac041224b28abe48ae49923214083ca31e8b3154bb1dc462b6242be76243fbc7

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