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

Uploaded Python 3

File details

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

File metadata

  • Download URL: axemere_gateway_google-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 22448bfb0f184a3b4518c86e8efe31c16e5bca3962fe62bbad3ee93691cc620a
MD5 2c96ccb5779a7851985065d3dc111b79
BLAKE2b-256 51a05bb6874bf23d3cdee064bdeb6d3302cdf0de5de37364224d7b301d519376

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for axemere_gateway_google-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea14203d23b4056190edb43107771b4986e3dbb6961b2465068e0ed8fc629c9
MD5 878f9daebfceec3fa535fb168bd21e15
BLAKE2b-256 dd61811f46a457bc329215954407474ec596e56ae6c5c2e693fa64dd06b235cc

See more details on using hashes here.

Provenance

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