-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 2.33 KB
/
pyproject.toml
File metadata and controls
84 lines (75 loc) · 2.33 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
[build-system]
requires = ["setuptools>=69.0.2"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
addopts = "-v --cov=aigrok --cov-report=term-missing"
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning:pkg_resources.*:",
"ignore::DeprecationWarning:litellm.*:",
"ignore::pytest.PytestCollectionWarning",
"ignore::pydantic.PydanticDeprecatedSince20",
# SWIG-related warnings from PyMuPDF
"ignore::DeprecationWarning:importlib._bootstrap:488",
"ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning",
"ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning",
"ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning"
]
[project]
name = "aigrok"
version = "0.3.2"
description = "A Python package for document processing and analysis with LLM integration and OCR capabilities"
authors = [
{name = "aigrok", email = "brooksc@brooksc.com"},
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pypdf>=5.1.0",
"python-dotenv>=1.0.0",
"pytest>=7.4.3",
"pytest-cov>=4.1.0",
"pydantic>=2.5.2",
"loguru>=0.7.2",
"requests>=2.31.0",
"pillow>=10.1.0",
"ollama>=0.1.6",
"litellm>=1.30.3",
"pymupdf>=1.23.8",
"pyyaml>=6.0.1", # For configuration
"easyocr>=1.7.1", # For OCR text extraction from images
]
[project.urls]
Homepage = "https://github.com/brooksc/aigrok"
Repository = "https://github.com/brooksc/aigrok.git"
[project.scripts]
aigrok = "aigrok.cli:main"
[tool.setuptools]
packages = ["aigrok"]
package-dir = {"" = "."}
[tool.ruff]
line-length = 88
target-version = "py39"
select = ["E", "F", "I", "N", "W", "B", "UP", "C"]
ignore = []
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/*" = ["E501"]
[tool.black]
line-length = 88
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3