A wrapper around the Google GenAI Python SDK
Project description
CrowdStrike AIDR + Google Gen AI SDK
A wrapper around the Google Gen AI SDK that wraps the Gemini API with CrowdStrike AIDR. Supports Python v3.12 and greater.
Installation
pip install -U crowdstrike-aidr-google-genai
Usage
import os
import crowdstrike_aidr_google_genai as genai
client = genai.CrowdStrikeAidrClient(
api_key=os.environ.get("GEMINI_API_KEY"),
crowdstrike_aidr_api_token=os.environ.get("CROWDSTRIKE_AIDR_API_TOKEN"),
crowdstrike_aidr_base_url_template=os.environ.get("CROWDSTRIKE_AIDR_BASE_URL_TEMPLATE"),
)
response = client.models.generate_content(
model="gemini-2.5-flash",
contents="Explain how AI works in a few words",
)
print(response.text)
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 crowdstrike_aidr_google_genai-0.2.0.tar.gz.
File metadata
- Download URL: crowdstrike_aidr_google_genai-0.2.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
631448a3137b26fac40289d8fe748cd4d0769c1ab607014e275e47be7e10a557
|
|
| MD5 |
6dd35a76bf55c25197dddcf07b966efa
|
|
| BLAKE2b-256 |
cf1bca85fea6dbbd83bd24de682810caf446e8b11278cbd471ee50d5fc487440
|
Provenance
The following attestation bundles were made for crowdstrike_aidr_google_genai-0.2.0.tar.gz:
Publisher:
publish.yml on CrowdStrike/aidr-google-python-genai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crowdstrike_aidr_google_genai-0.2.0.tar.gz -
Subject digest:
631448a3137b26fac40289d8fe748cd4d0769c1ab607014e275e47be7e10a557 - Sigstore transparency entry: 970537734
- Sigstore integration time:
-
Permalink:
CrowdStrike/aidr-google-python-genai@bf4a581aa8c1d7f0739da8d5ce3a13cb5e0b5085 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/CrowdStrike
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bf4a581aa8c1d7f0739da8d5ce3a13cb5e0b5085 -
Trigger Event:
release
-
Statement type:
File details
Details for the file crowdstrike_aidr_google_genai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: crowdstrike_aidr_google_genai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1684cc7176a90dfd221c3f98361f5f7e6f71ff31b1fc48d67393f9fcb3424a7
|
|
| MD5 |
22b437d23a77d089d5dcb38513896918
|
|
| BLAKE2b-256 |
b2b4520acbd598c80448610de951e19df2581d1be7e4a5d78c571973f975ffff
|
Provenance
The following attestation bundles were made for crowdstrike_aidr_google_genai-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on CrowdStrike/aidr-google-python-genai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crowdstrike_aidr_google_genai-0.2.0-py3-none-any.whl -
Subject digest:
e1684cc7176a90dfd221c3f98361f5f7e6f71ff31b1fc48d67393f9fcb3424a7 - Sigstore transparency entry: 970537758
- Sigstore integration time:
-
Permalink:
CrowdStrike/aidr-google-python-genai@bf4a581aa8c1d7f0739da8d5ce3a13cb5e0b5085 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/CrowdStrike
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bf4a581aa8c1d7f0739da8d5ce3a13cb5e0b5085 -
Trigger Event:
release
-
Statement type: