Skip to main content

GoogleModel - Resilient Gemini API Rotation

Automatic failover across multiple Gemini API keys and models to avoid rate limits.

Install

pip install googlemodel
from googlemodel import ChatGoogleGenerativeAI

llm = ChatGoogleGenerativeAI(api_keys=["key1", "key2"])
print(llm.invoke("Hello!"))
python -m gemini_rotator.example_usage --mock

Release files for googlemodel-samrat-v1 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for googlemodel-samrat-v1 0.1.0
File Size Uploaded
googlemodel_samrat_v1-0.1.0.tar.gz 1.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for googlemodel-samrat-v1 0.1.0
File Interpreter ABI Platform
googlemodel_samrat_v1-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 kB

Release files / googlemodel_samrat_v1-0.1.0.tar.gz

Download URL googlemodel_samrat_v1-0.1.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a5fea58a962b980659d415b860f63ea9ddf4d3f130626ce43cffaff1959a71f5
BLAKE2b-256 checksum
How to use checksums
e852f00c15643eb7cf047b55204a8a276346b140cd2f0c765622b5ae70f23243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.6

Release files / googlemodel_samrat_v1-0.1.0-py3-none-any.whl

Download URL googlemodel_samrat_v1-0.1.0-py3-none-any.whl
Size 1.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24477c9292055ce4c8b2c18d364e63ca7d9be78b970754bd838872b07baa096c
BLAKE2b-256 checksum
How to use checksums
48a8996d90f5f9d88a6467d921d032010ee2be0d1a52a0c9f14ef8da0a5e9549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page