forked from googleapis/python-genai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (52 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
58 lines (52 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[build-system]
requires = ["setuptools", "wheel", "twine>=6.1.0", "packaging>=24.2", "pkginfo>=1.12.0"]
[project]
name = "google-genai"
version = "1.46.0"
description = "GenAI Python SDK"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9"
authors = [
{ name = "Google LLC", email = "googleapis-packages@google.com" },
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"anyio>=4.8.0, <5.0.0",
"google-auth>=2.14.1, <3.0.0",
"httpx>=0.28.1, <1.0.0",
"pydantic>=2.0.0, <3.0.0",
"requests>=2.28.1, <3.0.0",
"tenacity>=8.2.3, <9.2.0",
"websockets>=13.0.0, <15.1.0",
"typing-extensions>=4.11.0, <5.0.0",
]
[project.optional-dependencies]
aiohttp = ["aiohttp<4.0.0"]
local-tokenizer = ["sentencepiece>=0.2.0", "protobuf"]
[project.urls]
Homepage = "https://github.com/googleapis/python-genai"
# [tool.setuptools] settings are in setup.cfg
[tool.setuptools.package-data]
"google.genai" = ["py.typed"]
[tool.mypy]
exclude = ["tests/", "_test_api_client\\.py"]
plugins = ["pydantic.mypy"]
# we are ignoring 'unused-ignore' because we run mypy on Python 3.9 - 3.13 and
# some errors in _automatic_function_calling_util.py only apply in 3.10+
# 'import-not-found' and 'import-untyped' are environment specific
disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"]
strict = true