-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (76 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (76 loc) · 1.77 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
[project]
name = "modelsmith"
version = "0.7.0"
description = "Get Pydantic models and Python types as LLM responses from Anthropic, Google Vertex AI, and OpenAI models."
authors = [{ name = "Christo Olivier", email = "mail@christoolivier.com" }]
requires-python = "~=3.10.0"
readme = "README.md"
license = "MIT"
maintainers = [{ name = "Christo Olivier", email = "mail@christoolivier.com" }]
keywords = [
"anthropic",
"openai",
"vertexai",
"pydantic",
"models",
"types",
"llm",
]
dependencies = [
"google-genai>=1.36.0",
"anthropic>=0.67.0",
"openai>=1.107.2",
"jinja2>=3.1.6",
"pydantic>=2.11.9",
"tenacity>=9.1.2",
]
[project.urls]
Homepage = "https://github.com/christo-olivier/modelsmith"
Repository = "https://github.com/christo-olivier/modelsmith"
Documentation = "https://christo-olivier.github.io/modelsmith"
[dependency-groups]
dev = [
"pytest>=8.4.2",
"mypy>=1.18.1",
"python-dotenv>=1.1.1",
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.19",
"mike>=2.1.3",
]
[build-system]
requires = ["uv_build>=0.8.17,<0.9.0"]
build-backend = "uv_build"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.mypy]
plugins = ["pydantic.mypy"]
python_version = "3.12"
ignore_missing_imports = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = false
check_untyped_defs = true
no_implicit_reexport = true
disallow_untyped_defs = true
[pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pytest.ini_options]
markers = [
"sequential: mark test to run sequentially for specific parameters"
]