Skip to main content

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

Project description

axemere-gateway-google

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_WORKLOAD_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_WORKLOAD_TOKEN Workload 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.0.tar.gz (2.0 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.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axemere_gateway_google-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 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.0.tar.gz
Algorithm Hash digest
SHA256 7624694419f1f61c5582d165cf337e49978386c432084e455b238bab86104669
MD5 d3f922fd170f08bc1aa4af3a912a9cfc
BLAKE2b-256 8563fba4d4ab8f6dc9c065856c46719019321680224891aba45758fbd439a020

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for axemere_gateway_google-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e4f8a1146e38f9262c147023869d86278135be33e950d8ae27f4c20d6a00905
MD5 e665c5a5fc01082d662c978f805bed97
BLAKE2b-256 3eb13a9d96e82a0198eb5d449e2dc8c1461f03feaff4f36f3308406f9b082a4d

See more details on using hashes here.

Provenance

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