-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (95 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
104 lines (95 loc) · 2.34 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "rulechef"
version = "0.1.3"
description = "Learn rule-based models from examples and LLM interactions"
requires-python = ">=3.10"
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "Apache-2.0"}
authors = [
{name = "Adam Kovacs", email = "kovacs@krlabs.eu"},
]
keywords = ["rule-learning", "llm", "extraction", "machine-learning"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"openai>=1.0.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
agentic = [
"pydantic-ai>=0.0.1",
]
spacy = [
"spacy>=3.0.0",
]
gliner = [
"gliner>=1.0",
]
gliner2 = [
"gliner2>=0.1",
]
grex = [
"grex>=1.0",
]
benchmark = [
"datasets>=2.0.0",
]
notebooks = [
"rich>=13.0",
]
docs = [
"mkdocs-material>=9.0",
"mkdocstrings[python]>=0.24",
]
app = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"python-multipart>=0.0.12",
]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.4.0",
"mypy>=1.10",
]
all = [
"openai>=1.0.0",
"pydantic-ai>=0.0.1",
"spacy>=3.0.0",
"grex>=1.0",
]
[project.urls]
Homepage = "https://github.com/KRLabsOrg/rulechef"
Documentation = "https://krlabsorg.github.io/rulechef"
Repository = "https://github.com/KRLabsOrg/rulechef"
[project.scripts]
rulechef = "rulechef.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["rulechef"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["E501", "SIM108", "SIM105", "B905"]
[tool.mypy]
python_version = "3.10"
warn_return_any = false
warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = false
disable_error_code = ["union-attr", "attr-defined", "arg-type", "assignment", "misc", "operator", "var-annotated"]
[tool.pytest.ini_options]
markers = ["integration: marks tests that require a live API"]