Skip to main content

Axemere AI Gateway Google GenAI SDK wrapper — genai_client factory for google-genai

Project description

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

Project details


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.1.7.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.1.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axemere_gateway_google-0.1.7.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for axemere_gateway_google-0.1.7.tar.gz
Algorithm Hash digest
SHA256 37ffe46e5ce16ea2079f338f56ce0a95f1353226378983ef35969697640528a2
MD5 5108138f5b1bfe8696687dcb18347ad8
BLAKE2b-256 5aef9d0f323980c72abd97d7f0ae88ec93736b8b5ae4b9abdb1c87bed132a7b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for axemere_gateway_google-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f44ec4d76936cfde5d20c17cb3f7763e8bf711a40b06fea03630db752f48e0ba
MD5 c33e0944dd776026a27e99f219f73ed0
BLAKE2b-256 0650fb33174e52a21f06d6529b1ddb096dbd347dc6392a850beaad975cdbf34e

See more details on using hashes here.

Provenance

The following attestation bundles were made for axemere_gateway_google-0.1.7-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 Pingdom Monitoring Sentry Error logging StatusPage Status page