gemini-webapi 1.10.0__py3-none-any.whl → 1.10.2__py3-none-any.whl

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.
@@ -30,41 +30,26 @@ class Model(Enum):
30
30
  {"x-goog-ext-525001261-jspb": '[null,null,null,null,"f299729663a2343f"]'},
31
31
  False,
32
32
  )
33
- G_2_0_FLASH_EXP = (
34
- "gemini-2.0-flash-exp",
35
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"f299729663a2343f"]'},
36
- False,
37
- ) # Deprecated, should be removed in the future
38
33
  G_2_0_FLASH_THINKING = (
39
34
  "gemini-2.0-flash-thinking",
40
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"9c17b1863f581b8a"]'},
35
+ {"x-goog-ext-525001261-jspb": '[null,null,null,null,"7ca48d02d802f20a"]'},
41
36
  False,
42
37
  )
43
- G_2_0_FLASH_THINKING_WITH_APPS = (
44
- "gemini-2.0-flash-thinking-with-apps",
45
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"f8f8f5ea629f5d37"]'},
38
+ G_2_5_PRO = (
39
+ "gemini-2.5-pro",
40
+ {"x-goog-ext-525001261-jspb": '[null,null,null,null,"2525e3954d185b3c"]'},
46
41
  False,
47
- ) # Deprecated, should be removed in the future
42
+ )
48
43
  G_2_0_EXP_ADVANCED = (
49
44
  "gemini-2.0-exp-advanced",
50
45
  {"x-goog-ext-525001261-jspb": '[null,null,null,null,"b1e46a6037e6aa9f"]'},
51
46
  True,
52
47
  )
53
- G_1_5_FLASH = (
54
- "gemini-1.5-flash",
55
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"418ab5ea040b5c43"]'},
56
- False,
57
- ) # Deprecated, should be removed in the future
58
- G_1_5_PRO = (
59
- "gemini-1.5-pro",
60
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"9d60dfae93c9ff1f"]'},
61
- True,
62
- ) # Deprecated, should be removed in the future
63
- G_1_5_PRO_RESEARCH = (
64
- "gemini-1.5-pro-research",
65
- {"x-goog-ext-525001261-jspb": '[null,null,null,null,"e5a44cb1dae2b489"]'},
48
+ G_2_5_EXP_ADVANCED = (
49
+ "gemini-2.5-exp-advanced",
50
+ {"x-goog-ext-525001261-jspb": '[null,null,null,null,"203e6bb81620bcfe"]'},
66
51
  True,
67
- ) # Deprecated, should be removed in the future
52
+ )
68
53
 
69
54
  def __init__(self, name, header, advanced_only):
70
55
  self.model_name = name
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gemini-webapi
3
- Version: 1.10.0
3
+ Version: 1.10.2
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
@@ -677,8 +677,8 @@ Requires-Python: >=3.10
677
677
  Description-Content-Type: text/markdown
678
678
  License-File: LICENSE
679
679
  Requires-Dist: httpx[http2]~=0.28.1
680
- Requires-Dist: pydantic~=2.10.5
681
680
  Requires-Dist: loguru~=0.7.3
681
+ Requires-Dist: pydantic~=2.11.3
682
682
  Dynamic: license-file
683
683
 
684
684
  <p align="center">
@@ -825,14 +825,12 @@ Currently available models (as of Feb 5, 2025):
825
825
  - `unspecified` - Default model (same as `gemini-2.0-flash` if account does NOT have Gemini Advanced subscription)
826
826
  - `gemini-2.0-flash` - Gemini 2.0 Flash
827
827
  - `gemini-2.0-flash-thinking` - Gemini 2.0 Flash Thinking Experimental
828
- - `gemini-2.0-flash-thinking-with-apps` - Gemini 2.0 Flash Thinking Experimental with apps
829
- - `gemini-1.5-flash` - Gemini 1.5 Flash
828
+ - `gemini-2.5-pro` - Gemini 2.5 Pro (daily usage limit imposed)
830
829
 
831
830
  Models pending update (may not work as expected):
832
831
 
832
+ - `gemini-2.5-exp-advanced` - Gemini 2.5 Experimental Advanced **(requires Gemini Advanced account)**
833
833
  - `gemini-2.0-exp-advanced` - Gemini 2.0 Experimental Advanced **(requires Gemini Advanced account)**
834
- - `gemini-1.5-pro` - Gemini 1.5 Pro **(requires Gemini Advanced account)**
835
- - `gemini-1.5-pro-research` - Gemini 1.5 Pro with Deep Research **(requires Gemini Advanced account)**
836
834
 
837
835
  ```python
838
836
  from gemini_webapi.constants import Model
@@ -1,6 +1,6 @@
1
1
  gemini_webapi/__init__.py,sha256=28uNIywK4vCXxENaSagNWUzhqr1RyNtLzDF6WRRM4KQ,194
2
2
  gemini_webapi/client.py,sha256=WsH07qepNSQzq4pdYIJW393Jr4gcdp8D64ti6GlDj9E,23065
3
- gemini_webapi/constants.py,sha256=pg0JiSbUgrsMqVkWwPSPRqKfKIo2qpDAEJ7Kl-XOBc4,2925
3
+ gemini_webapi/constants.py,sha256=pNq3Z42zFON1hYfktvdcth0rrYCSbqxjHMUGVuu0uvo,2189
4
4
  gemini_webapi/exceptions.py,sha256=6e-EXHGApi4iC0GDw7RKc3YqVK8UvEkHYaJyGQbReLw,548
5
5
  gemini_webapi/types/__init__.py,sha256=d2kvXnE004s2E2KDmPPLi5N-BQ59FgDSlrGrO3Wphww,163
6
6
  gemini_webapi/types/candidate.py,sha256=dMoGr53WR7FYDRrXpG9Yd_n9YTHGwGaFHZ8zPt8RMWw,1178
@@ -12,8 +12,8 @@ gemini_webapi/utils/load_browser_cookies.py,sha256=A5n_VsB7Rm8ck5lpy856UNJEhv30l
12
12
  gemini_webapi/utils/logger.py,sha256=PF4ROQq7scRRrWzeYdeYiYs2S2Jqr0bgjyrPbXVOCqE,816
13
13
  gemini_webapi/utils/rotate_1psidts.py,sha256=NyQ9OYPLBOcvpc8bodvEYDIVFrsYN0kdfc831lPEctM,1680
14
14
  gemini_webapi/utils/upload_file.py,sha256=SJOMr6kryK_ClrKmqI96fqZBNFOMPsyAvFINAGAU3rk,1468
15
- gemini_webapi-1.10.0.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
16
- gemini_webapi-1.10.0.dist-info/METADATA,sha256=j5G5uhgjXjfAUYwK8UmWVP85ZCXoAxdwVLrsiu7FtKQ,57353
17
- gemini_webapi-1.10.0.dist-info/WHEEL,sha256=tTnHoFhvKQHCh4jz3yCn0WPTYIy7wXx3CJtJ7SJGV7c,91
18
- gemini_webapi-1.10.0.dist-info/top_level.txt,sha256=dtWtug_ZrmnUqCYuu8NmGzTgWglHeNzhHU_hXmqZGWE,14
19
- gemini_webapi-1.10.0.dist-info/RECORD,,
15
+ gemini_webapi-1.10.2.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
16
+ gemini_webapi-1.10.2.dist-info/METADATA,sha256=r6siif-Kb1A5bu4CXBGYfgyWVnFTXgXlInjsqPAehkQ,57210
17
+ gemini_webapi-1.10.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
18
+ gemini_webapi-1.10.2.dist-info/top_level.txt,sha256=dtWtug_ZrmnUqCYuu8NmGzTgWglHeNzhHU_hXmqZGWE,14
19
+ gemini_webapi-1.10.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.1)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5