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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7624694419f1f61c5582d165cf337e49978386c432084e455b238bab86104669
|
|
| MD5 |
d3f922fd170f08bc1aa4af3a912a9cfc
|
|
| BLAKE2b-256 |
8563fba4d4ab8f6dc9c065856c46719019321680224891aba45758fbd439a020
|
Provenance
The following attestation bundles were made for axemere_gateway_google-0.1.0.tar.gz:
Publisher:
publish.yml on Axemere-LLC/axemere-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axemere_gateway_google-0.1.0.tar.gz -
Subject digest:
7624694419f1f61c5582d165cf337e49978386c432084e455b238bab86104669 - Sigstore transparency entry: 1943718978
- Sigstore integration time:
-
Permalink:
Axemere-LLC/axemere-python@2885c1062a2d8f4698662048aa9d906b54dda790 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/Axemere-LLC
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2885c1062a2d8f4698662048aa9d906b54dda790 -
Trigger Event:
push
-
Statement type:
File details
Details for the file axemere_gateway_google-0.1.0-py3-none-any.whl.
File metadata
- Download URL: axemere_gateway_google-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e4f8a1146e38f9262c147023869d86278135be33e950d8ae27f4c20d6a00905
|
|
| MD5 |
e665c5a5fc01082d662c978f805bed97
|
|
| BLAKE2b-256 |
3eb13a9d96e82a0198eb5d449e2dc8c1461f03feaff4f36f3308406f9b082a4d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
axemere_gateway_google-0.1.0-py3-none-any.whl -
Subject digest:
8e4f8a1146e38f9262c147023869d86278135be33e950d8ae27f4c20d6a00905 - Sigstore transparency entry: 1943719070
- Sigstore integration time:
-
Permalink:
Axemere-LLC/axemere-python@2885c1062a2d8f4698662048aa9d906b54dda790 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/Axemere-LLC
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2885c1062a2d8f4698662048aa9d906b54dda790 -
Trigger Event:
push
-
Statement type: