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 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 0.1.0
File Size Uploaded
googlemodel_samrat-0.1.0.tar.gz 1.5 kB Details

Built distribution (wheel)

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

Total release size: 2.9 kB

Release files / googlemodel_samrat-0.1.0.tar.gz

Download URL googlemodel_samrat-0.1.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
85deca67daed62ae0c0290ff3a52c33c14f25f93abc7f948a906a4a42d8904ac
BLAKE2b-256 checksum
How to use checksums
446eedc26959247ceef58938ba87b2a5a0be32e3ba70165aa004677a781dcc67
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-0.1.0-py3-none-any.whl

Download URL googlemodel_samrat-0.1.0-py3-none-any.whl
Size 1.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
093a659d587089af29f145fd762569143b5492e926ea322913f1de826ea8c639
BLAKE2b-256 checksum
How to use checksums
255a43181b79db1cbb23abaad7ecaeb800bf99414f8cbe0e754e042568a6d98a
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

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

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