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)
| File | Size | Uploaded | |
|---|---|---|---|
| googlemodel_samrat-0.1.0.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|