-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (74 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
78 lines (74 loc) · 1.83 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
[project]
name = "gpt2giga"
version = "0.1.5"
description = "Утилита для проксирования OpenAI и Anthropic запросов в GigaChat"
authors = [{ name = "Konstantin Krestnikov", email = "rai220@gmail.com" }]
requires-python = ">=3.10,<4,<3.15"
readme = "README.md"
license = "MIT"
dependencies = [
"python-dotenv>=1.0.1,<2",
"aiohttp>=3.10.10,<4",
"tiktoken>=0.12.0,<0.13",
"pillow>=12.1.1,<13",
"uvicorn>=0.41.0,<1",
"openai>=2.3.0,<3",
"aioitertools>=0.13.0,<0.14",
"loguru>=0.7.3,<0.8",
"sse-starlette>=3.0.3,<4",
"pydantic-settings>=2.12.0,<3",
"fastapi>=0.133.0,<1",
"starlette>=0.49,<1",
"gigachat>=0.2.0,<0.3.0",
"anthropic>=0.79.0",
]
[project.scripts]
gpt2giga = "gpt2giga:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
omit = [
"tests/*",
"scripts/*",
"docs/*",
"*/migrations/*",
"examples/*",
"*/__pycache__/*",
".local/"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod"
]
[tool.codeflash]
# All paths are relative to this pyproject.toml's directory.
module-root = "gpt2giga"
tests-root = "tests"
test-framework = "pytest"
ignore-paths = []
disable-telemetry = true
formatter-cmds = ["black $file"]
[dependency-groups]
dev = [
"black (>=26.0.0,<27.0.0)",
"pytest (>=9.0.2, <10.0.0)",
"pytest-asyncio (>=1.2.0,<2.0.0)",
"pytest-mock (>=3.15.1,<4.0.0)",
"ruff (>=0.15,<1)",
"pytest-cov (>=7.0.0,<8.0.0)",
"pre-commit (>=4.3.0,<5.0.0)",
]
integrations = [
"openai-agents (>=0.8.0,<0.9.0)",
"cryptography (>=46.0.5)"
]