-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (83 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (83 loc) · 2.98 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "PDFtoPDFocr"
version = "1.1.4"
description = "Local-first Windows desktop tool for converting scanned PDF files into searchable PDFs using Tesseract OCR."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
license-files = ["LICENSE", "NOTICE", "THIRD_PARTY_LICENSES.md", "THIRD_PARTY_LICENSES.txt"]
authors = [
{ name = "doc-bricks Team", email = "support@lukasgeiger.com" }
]
keywords = [
"pdf",
"ocr",
"tesseract",
"searchable-pdf",
"pyside6",
"poppler",
"desktop",
"local-first",
"zero-egress",
"offline-first",
"batch-ocr",
"accessibility",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Indexing",
"Topic :: Utilities",
]
dependencies = [
"PySide6>=6.5.0",
"pytesseract>=0.3.13",
"Pillow>=10.4.0",
"pdf2image>=1.17.0",
"pikepdf>=8.15.1",
"requests>=2.33.1",
]
[project.optional-dependencies]
dev = [
"pytest>=9.1.1",
"ruff>=0.9.0",
]
build = [
"pyinstaller>=6.10.0",
"altgraph>=0.17.4",
"packaging>=24.0",
]
[project.urls]
Homepage = "https://github.com/doc-bricks/PDFtoPDFocr"
Repository = "https://github.com/doc-bricks/PDFtoPDFocr.git"
"Bug Tracker" = "https://github.com/doc-bricks/PDFtoPDFocr/issues"
Changelog = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/CHANGELOG.md"
"Contributing" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/CONTRIBUTING.md"
"Plain-Text License" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/LICENSE"
"Third-Party Licenses" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/THIRD_PARTY_LICENSES.md"
"Third-Party Licenses (Text)" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/THIRD_PARTY_LICENSES.txt"
"Level 1 SBOM" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/THIRD_PARTY_LICENSES.txt"
"Marketing Log" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/MARKETING-LOG.txt"
"LLM Ready" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/llms.txt"
"Notice" = "https://github.com/doc-bricks/PDFtoPDFocr/blob/master/NOTICE"
[tool.pytest.ini_options]
minversion = "7.0"
pythonpath = ["."]
testpaths = ["tests"]
python_files = ["test_*.py"]
norecursedirs = [".build_venv", ".git", ".pytest_cache", ".pytest_temp", ".pytest_tmp*", ".hypothesis", ".turbo", ".nyc_output", ".tox", "__pycache__", "build", "dist", "releases", "store_package", "tesseract_portable", "tessdata", "_alt", "_WARTUNG"]
addopts = "-ra -q --basetemp=.pytest_temp"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["E501", "E402", "E722", "E741", "F841"]