googlemodel-samrat 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- googlemodel_samrat-0.1.0/PKG-INFO +25 -0
- googlemodel_samrat-0.1.0/README.md +12 -0
- googlemodel_samrat-0.1.0/googlemodel_samrat.egg-info/PKG-INFO +25 -0
- googlemodel_samrat-0.1.0/googlemodel_samrat.egg-info/SOURCES.txt +8 -0
- googlemodel_samrat-0.1.0/googlemodel_samrat.egg-info/dependency_links.txt +1 -0
- googlemodel_samrat-0.1.0/googlemodel_samrat.egg-info/requires.txt +4 -0
- googlemodel_samrat-0.1.0/googlemodel_samrat.egg-info/top_level.txt +1 -0
- googlemodel_samrat-0.1.0/pyproject.toml +21 -0
- googlemodel_samrat-0.1.0/setup.cfg +4 -0
- googlemodel_samrat-0.1.0/setup.py +5 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: googlemodel-samrat
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Intelligent Gemini API key and model rotation for resilient free-tier usage
|
|
5
|
+
Author: Pratiksha
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: langchain-google-genai>=4.0.0
|
|
10
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
11
|
+
Requires-Dist: google-api-core>=2.15.0
|
|
12
|
+
Requires-Dist: langchain-core>=0.2.0
|
|
13
|
+
|
|
14
|
+
# GoogleModel - Resilient Gemini API Rotation
|
|
15
|
+
|
|
16
|
+
Automatic failover across multiple Gemini API keys and models to avoid rate limits.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
```bash
|
|
20
|
+
pip install googlemodel
|
|
21
|
+
from googlemodel import ChatGoogleGenerativeAI
|
|
22
|
+
|
|
23
|
+
llm = ChatGoogleGenerativeAI(api_keys=["key1", "key2"])
|
|
24
|
+
print(llm.invoke("Hello!"))
|
|
25
|
+
python -m gemini_rotator.example_usage --mock
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# GoogleModel - Resilient Gemini API Rotation
|
|
2
|
+
|
|
3
|
+
Automatic failover across multiple Gemini API keys and models to avoid rate limits.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
```bash
|
|
7
|
+
pip install googlemodel
|
|
8
|
+
from googlemodel import ChatGoogleGenerativeAI
|
|
9
|
+
|
|
10
|
+
llm = ChatGoogleGenerativeAI(api_keys=["key1", "key2"])
|
|
11
|
+
print(llm.invoke("Hello!"))
|
|
12
|
+
python -m gemini_rotator.example_usage --mock
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: googlemodel-samrat
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Intelligent Gemini API key and model rotation for resilient free-tier usage
|
|
5
|
+
Author: Pratiksha
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Requires-Dist: langchain-google-genai>=4.0.0
|
|
10
|
+
Requires-Dist: python-dotenv>=1.0.0
|
|
11
|
+
Requires-Dist: google-api-core>=2.15.0
|
|
12
|
+
Requires-Dist: langchain-core>=0.2.0
|
|
13
|
+
|
|
14
|
+
# GoogleModel - Resilient Gemini API Rotation
|
|
15
|
+
|
|
16
|
+
Automatic failover across multiple Gemini API keys and models to avoid rate limits.
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
```bash
|
|
20
|
+
pip install googlemodel
|
|
21
|
+
from googlemodel import ChatGoogleGenerativeAI
|
|
22
|
+
|
|
23
|
+
llm = ChatGoogleGenerativeAI(api_keys=["key1", "key2"])
|
|
24
|
+
print(llm.invoke("Hello!"))
|
|
25
|
+
python -m gemini_rotator.example_usage --mock
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "googlemodel-samrat"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Intelligent Gemini API key and model rotation for resilient free-tier usage"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [{name = "Pratiksha"}]
|
|
13
|
+
dependencies = [
|
|
14
|
+
"langchain-google-genai>=4.0.0",
|
|
15
|
+
"python-dotenv>=1.0.0",
|
|
16
|
+
"google-api-core>=2.15.0",
|
|
17
|
+
"langchain-core>=0.2.0",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[tool.setuptools.packages.find]
|
|
21
|
+
include = ["gemini_rotator*"]
|