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.0.tar.gz (3.1 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.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axemere_gateway_google-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 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.0.tar.gz
Algorithm Hash digest
SHA256 af6162fd375e7d935b6ba235eafd05e495804c9bfa56671633b26cab15aeef93
MD5 1dbc952557674928abcc5b6794ed11c8
BLAKE2b-256 63f207b5e9b5369c9995b7a897aebbfc83a2f96b206344cb2caee09042bdf8f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for axemere_gateway_google-0.2.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for axemere_gateway_google-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20a7c86f4205369469bed269925c02a19ce8cdadac8e92d912a9e911dafabc12
MD5 0a2ffeb3fa61ed3f4c24c3b051f99498
BLAKE2b-256 dde84da7611972dc0ea3360c7f7c37129ea65d3a40652c94b5a35ed5095c0c07

See more details on using hashes here.

Provenance

The following attestation bundles were made for axemere_gateway_google-0.2.0-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