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 Distributions

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

Built Distribution

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

pyami_3forge-1.5.3-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyami_3forge-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f64d062a224e7a21a720663aaf072390d02a79ba48cd26db97a13f05ee57fc4a
MD5 898d2f72e453694392a9bb87bbadb8b9
BLAKE2b-256 be0e2bdf22869986060008971dfc909faacc3a04c884537b8ff2741b72c5d6ff

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