Skip to main content

jammi-client

Pure-Python gRPC client for a remote Jammi engine — the deploy half of the develop→deploy journey.

jammi-ai runs an embedded engine in-process and bundles this client for its remote targets. jammi-client is the lean variant: a universal py3-none-any wheel that links no candle/ML stack — just grpcio + protobuf

  • pyarrow — for production where the engine runs behind a server.

One front door

import jammi_client

db = jammi_client.connect("https://engine.example.com")
db.add_source("patents", url="s3://corpus/patents.parquet", format="parquet")
db.generate_embeddings(source="patents", model="local:tiny_bert",
                       columns=["abstract"], key="id", modality="text")
q = db.encode_query(model="local:tiny_bert", query="quantum computing")
hits = db.search("patents", query=q, k=5)   # -> pyarrow.Table

connect(target) is the Python mirror of the Rust Jammi::open(Target): transport is config, not a code path.

Authenticated channels

A bearer-protected endpoint is reached by attaching credentials to the channel — the bearer rides the channel (attached once at connect), not threaded through every call:

from jammi_client import connect, BearerCredentials

db = connect("https://engine.example.com", credentials=BearerCredentials(token))

The same works on a plaintext grpc:// target for local development. The channel-level bearer covers the typed gRPC verbs; db.sql() (the Flight SQL lane) does not yet carry it — tracked at issue #96.

target transport
https://host / grpcs://host:8081 secure remote
http://host / grpc://host:8081 plaintext remote
file:///data local engine — not in this build; raises NoEmbeddedEngineError pointing at pip install jammi-ai

Scaling local→remote is an env flip (connect(os.environ["JAMMI_TARGET"])) with no code change. Productionising from the embed wheel to this lean client is a one-line import swap (import jammi_aiimport jammi_client), connect unchanged.

Generated from the canonical proto

The wire stubs under jammi_client/_generated/ are generated from the same jammi.v1 proto the engine, npm client, and embed wheel speak — one source, no parallel schema. Regenerate after a proto change:

pip install -e '.[dev]'
make generate

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.

jammi_client-0.32.1-py3-none-any.whl (121.2 kB view details)

Uploaded Python 3

File details

Details for the file jammi_client-0.32.1-py3-none-any.whl.

File metadata

  • Download URL: jammi_client-0.32.1-py3-none-any.whl
  • Upload date:
  • Size: 121.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jammi_client-0.32.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a55ed057de4f3c5fe0cb4181408f97eb9bd758f1bbe0b01e72703e8604d18db9
MD5 4dbf06470bb9d875c76e2d6197891fa4
BLAKE2b-256 d9bd84259c59a55ee9b134594309ae7ccf205c163843c83df95b9c12ef6d793e

See more details on using hashes here.

Provenance

The following attestation bundles were made for jammi_client-0.32.1-py3-none-any.whl:

Publisher: pypi-client.yml on f-inverse/jammi-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.33.0

1 file

This release

0.32.1 This release

1 file

0.32.0

1 file

0.31.0

1 file

0.30.0

1 file

0.29.0

1 file

0.28.0

1 file

0.26.5

1 file

0.26.4

1 file

0.26.3

1 file

0.26.2

1 file

0.26.1

1 file

0.26.0

1 file

0.25.0

1 file

0.24.0

1 file

0.23.0

1 file

0.22.0

1 file

0.21.0

1 file

0.20.0

1 file

0.19.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page