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

Uploaded Python 3

File details

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

File metadata

  • Download URL: axemere_gateway_google-0.1.5.tar.gz
  • Upload date:
  • Size: 2.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.5.tar.gz
Algorithm Hash digest
SHA256 ffdcbe1cf8e8f477c25ef7e40ce1bf53ef844afd80060d288e06692c31a91afc
MD5 b159de79953e583a75f05359a5ce14dc
BLAKE2b-256 b97b469e2277e07e56995ffb96a6b9b70a4d494151b52b271f3ea9aa485f329b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for axemere_gateway_google-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0a3f13074059b7d08d5c1c3fc3d1b380b2f241091da1cdc95fbfc49eeea6c81e
MD5 6d887e5478ab3ee4adb0b948c35a674b
BLAKE2b-256 b6dc11038cebe43e9e10e6838370543e23d422cca2efd4f690701c33ed0d15d3

See more details on using hashes here.

Provenance

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