gemini-webapi 1.8.3__tar.gz → 1.8.4__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.
Files changed (36) hide show
  1. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/.github/workflows/pypi-publish.yml +1 -1
  2. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/PKG-INFO +3 -3
  3. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/README.md +2 -2
  4. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/constants.py +2 -2
  5. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi.egg-info/PKG-INFO +3 -3
  6. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/.github/dependabot.yml +0 -0
  7. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/.github/workflows/github-release.yml +0 -0
  8. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/.gitignore +0 -0
  9. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/.vscode/launch.json +0 -0
  10. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/.vscode/settings.json +0 -0
  11. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/LICENSE +0 -0
  12. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/assets/banner.png +0 -0
  13. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/assets/favicon.png +0 -0
  14. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/assets/logo.svg +0 -0
  15. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/pyproject.toml +0 -0
  16. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/setup.cfg +0 -0
  17. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/__init__.py +0 -0
  18. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/client.py +0 -0
  19. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/exceptions.py +0 -0
  20. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/types/__init__.py +0 -0
  21. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/types/candidate.py +0 -0
  22. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/types/image.py +0 -0
  23. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/types/modeloutput.py +0 -0
  24. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/utils/__init__.py +0 -0
  25. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/utils/get_access_token.py +0 -0
  26. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/utils/load_browser_cookies.py +0 -0
  27. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/utils/logger.py +0 -0
  28. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/utils/rotate_1psidts.py +0 -0
  29. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi/utils/upload_file.py +0 -0
  30. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi.egg-info/SOURCES.txt +0 -0
  31. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi.egg-info/dependency_links.txt +0 -0
  32. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi.egg-info/requires.txt +0 -0
  33. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/src/gemini_webapi.egg-info/top_level.txt +0 -0
  34. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/tests/test_client_features.py +0 -0
  35. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/tests/test_rotate_cookies.py +0 -0
  36. {gemini_webapi-1.8.3 → gemini_webapi-1.8.4}/tests/test_save_image.py +0 -0
@@ -57,4 +57,4 @@ jobs:
57
57
  name: dist
58
58
  path: dist
59
59
  - name: Publish package distributions to PyPI
60
- uses: pypa/gh-action-pypi-publish@v1.12.3
60
+ uses: pypa/gh-action-pypi-publish@v1.12.4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gemini-webapi
3
- Version: 1.8.3
3
+ Version: 1.8.4
4
4
  Summary: ✨ An elegant async Python wrapper for Google Gemini web app
5
5
  Author: UZQueen
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -942,9 +942,9 @@ asyncio.run(main())
942
942
 
943
943
  You can choose a specified language model version by passing `model` argument to `GeminiClient.generate_content` or `GeminiClient.start_chat`. The default value is `unspecified`.
944
944
 
945
- Currently available models (as of Dec 21, 2024):
945
+ Currently available models (as of Feb 1, 2025):
946
946
 
947
- - `unspecified` - Default model (Gemini 1.5 Pro if account has Gemini Advanced subscription, otherwise Gemini 1.5 Flash)
947
+ - `unspecified` - Default model (Gemini 2.0 Flash if account does NOT have Gemini Advanced subscription)
948
948
  - `gemini-1.5-flash` - Gemini 1.5 Flash
949
949
  - `gemini-1.5-pro` - Gemini 1.5 Pro **(requires Gemini Advanced account)**
950
950
  - `gemini-1.5-pro-research` - Gemini 1.5 Pro with Deep Research **(requires Gemini Advanced account)**
@@ -260,9 +260,9 @@ asyncio.run(main())
260
260
 
261
261
  You can choose a specified language model version by passing `model` argument to `GeminiClient.generate_content` or `GeminiClient.start_chat`. The default value is `unspecified`.
262
262
 
263
- Currently available models (as of Dec 21, 2024):
263
+ Currently available models (as of Feb 1, 2025):
264
264
 
265
- - `unspecified` - Default model (Gemini 1.5 Pro if account has Gemini Advanced subscription, otherwise Gemini 1.5 Flash)
265
+ - `unspecified` - Default model (Gemini 2.0 Flash if account does NOT have Gemini Advanced subscription)
266
266
  - `gemini-1.5-flash` - Gemini 1.5 Flash
267
267
  - `gemini-1.5-pro` - Gemini 1.5 Pro **(requires Gemini Advanced account)**
268
268
  - `gemini-1.5-pro-research` - Gemini 1.5 Pro with Deep Research **(requires Gemini Advanced account)**
@@ -27,7 +27,7 @@ class Model(Enum):
27
27
  UNSPECIFIED = ("unspecified", {}, False)
28
28
  G_1_5_FLASH = (
29
29
  "gemini-1.5-flash",
30
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"7daceb7ef88130f5"]'},
30
+ {"x-goog-ext-525001261-jspb": '[null,null,null,null,"418ab5ea040b5c43"]'},
31
31
  False,
32
32
  )
33
33
  G_1_5_PRO = (
@@ -42,7 +42,7 @@ class Model(Enum):
42
42
  )
43
43
  G_2_0_FLASH_EXP = (
44
44
  "gemini-2.0-flash-exp",
45
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"948b866104ccf484"]'},
45
+ {"x-goog-ext-525001261-jspb": '[null,null,null,null,"f299729663a2343f"]'},
46
46
  False,
47
47
  )
48
48
  G_2_0_EXP_ADVANCED = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gemini-webapi
3
- Version: 1.8.3
3
+ Version: 1.8.4
4
4
  Summary: ✨ An elegant async Python wrapper for Google Gemini web app
5
5
  Author: UZQueen
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -942,9 +942,9 @@ asyncio.run(main())
942
942
 
943
943
  You can choose a specified language model version by passing `model` argument to `GeminiClient.generate_content` or `GeminiClient.start_chat`. The default value is `unspecified`.
944
944
 
945
- Currently available models (as of Dec 21, 2024):
945
+ Currently available models (as of Feb 1, 2025):
946
946
 
947
- - `unspecified` - Default model (Gemini 1.5 Pro if account has Gemini Advanced subscription, otherwise Gemini 1.5 Flash)
947
+ - `unspecified` - Default model (Gemini 2.0 Flash if account does NOT have Gemini Advanced subscription)
948
948
  - `gemini-1.5-flash` - Gemini 1.5 Flash
949
949
  - `gemini-1.5-pro` - Gemini 1.5 Pro **(requires Gemini Advanced account)**
950
950
  - `gemini-1.5-pro-research` - Gemini 1.5 Pro with Deep Research **(requires Gemini Advanced account)**
File without changes
File without changes
File without changes