Skip to main content

axemere-gateway-google

License: MIT

Google Gemini client factory for the Axemere AI Gateway. Routes google-genai requests through the gateway with cost controls, policy enforcement, and an append-only audit ledger.

Install

pip install axemere-gateway-google

Usage

from axemere.gateway.google import genai_client

client = genai_client()  # reads AXEMERE_GATEWAY_URL + AXEMERE_GATEWAY_TOKEN
response = client.models.generate_content(
    model="gemini-2.0-flash",
    contents="Hello",
)
print(response.text)

Configuration

Env var Description
AXEMERE_GATEWAY_URL Gateway base URL, e.g. http://localhost:7080
AXEMERE_GATEWAY_TOKEN Bearer token issued by the gateway

Links

License

MIT

Download files

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

Source Distribution

axemere_gateway_google-0.2.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

axemere_gateway_google-0.2.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file axemere_gateway_google-0.2.1.tar.gz.

File metadata

  • Download URL: axemere_gateway_google-0.2.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for axemere_gateway_google-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b15cda1f88cdec1475b5a99c905869db3a234e3b4d05b3dd52a1676f5980e999
MD5 7802669538dffdcf12c7e359e98a2246
BLAKE2b-256 383b68738c7aacc24917d986cd884cf47c2c6ca77b4a3722866752debf743665

See more details on using hashes here.

Provenance

The following attestation bundles were made for axemere_gateway_google-0.2.1.tar.gz:

Publisher: publish.yml on Axemere-LLC/axemere-python

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

File details

Details for the file axemere_gateway_google-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for axemere_gateway_google-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 459aba36b0670eadaf93fc843e7141c9d96f76de80e58433b6a39e763188f27e
MD5 aabf6305e2f429ac2c85f6c3128111c6
BLAKE2b-256 fedd2616172fa519231b43584b2a8623ce7afbed1c9464748e3c7078b89ca124

See more details on using hashes here.

Provenance

The following attestation bundles were made for axemere_gateway_google-0.2.1-py3-none-any.whl:

Publisher: publish.yml on Axemere-LLC/axemere-python

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page