-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (105 loc) · 2.68 KB
/
pyproject.toml
File metadata and controls
116 lines (105 loc) · 2.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "oci-genai-auth"
dynamic = ["version"]
description = 'OCI authentication and authorization utilities for Generative AI SDKs'
readme = "README.md"
requires-python = ">=3.9"
license = "UPL-1.0"
license-files = ["LICENSE.txt"]
keywords = [
"Oracle",
"Oracle Cloud Infrastructure",
"OCI",
"Artificial Intelligence",
"AI",
"GenAI",
"Generative AI",
]
authors = [{ name = "Chao Yang", email = "chao.c.yang@oracle.com" }]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Benchmark",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.23.0, <1",
"oci>=2.150.1",
"requests>=2.32.1,<3.0.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.5.6,<0.6.0",
"mypy>=1.11.1,<2.0.0",
"black>=24.8.0,<25.0.0",
"isort>=5.13.2,<6.0.0",
"pytest>=8.3.2,<9.0.0",
"pytest-cov>=5.0.0,<6.0.0",
"respx",
"typing-extensions>=4.11, <5",
"openai>=1.108.1",
"openai-agents>=0.5.1",
"pytest-mock",
"ag2[openai]",
"pytest-httpx",
"pytest-asyncio",
"eval_type_backport",
"rich>=13.0"
]
[project.urls]
Documentation = "https://github.com/oracle-samples/oci-genai-auth#readme"
Issues = "https://github.com/oracle-samples/oci-genai-auth/issues"
Source = "https://github.com/oracle-samples/oci-genai-auth"
[tool.hatch.version]
path = "src/oci_genai_auth/__about__.py"
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/oci_genai_auth tests}"
[tool.coverage.run]
source_pkgs = ["oci_genai_auth", "tests"]
branch = true
parallel = true
omit = [
"src/oci_genai_auth/__about__.py",
]
[tool.coverage.paths]
oci_genai_auth = ["src/oci_genai_auth", "*/oci-genai-auth/src/oci_genai_auth"]
tests = ["tests", "*/oci-genai-auth/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff]
target-version = "py39"
line-length = 100
extend-exclude = [
]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
"G",
]
[tool.black]
line-length = 100
target-version = ['py39']
exclude = '\.venv|build|dist'