-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
62 lines (54 loc) · 1.31 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
[build-system]
requires = ["hatchling>=1.25.0"]
build-backend = "hatchling.build"
[project]
name = "sourceryforge"
version = "0.1.1"
description = "Schema-first LLM extraction framework with entity grounding and deterministic post-processing"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.12"
repository = "https://github.com/jolovicdev/sourcery"
keywords = ["llm", "extraction", "entity-extraction", "document-ai", "pydantic", "langchain-alternative", "schema-first", "nlp"]
authors = [{ name = "Dušan Jolović" }]
dependencies = [
"pydantic>=2.7.0",
"blackgeorge==1.1.9",
"pytest>=9.0.2",
]
[project.scripts]
sourcery-benchmark = "sourcery.benchmarks.run:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"mypy>=1.10.0",
"ruff>=0.5.0",
]
docs = [
"mkdocs>=1.6.0",
"mkdocs-llmstxt",
]
benchmark = [
"langextract[openai]>=1.1.1",
]
ingest = [
"pypdf>=5.0.0",
"pillow>=10.0.0",
"pytesseract>=0.3.10",
]
[tool.hatch.build.targets.wheel]
packages = ["sourcery"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-ra"
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unreachable = true