-
Notifications
You must be signed in to change notification settings - Fork 100
/
pyproject.toml
55 lines (50 loc) · 1.31 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openparse"
description = "Streamlines the process of preparing documents for LLM's."
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
version = "0.7.0"
authors = [{name = "Sergey Filimonov", email = "[email protected]"}]
dependencies = [
"PyMuPDF >= 1.23.2",
"pillow >= 8.3",
"pydantic >= 2.0",
"pypdf >= 4.0.0",
"pdfminer.six >= 20200401",
"tiktoken >= 0.3",
"openai >= 1.0.0",
"numpy",
]
[project.urls]
homepage = "https://github.com/Filimoa/open-parse"
repository = "https://github.com/Filimoa/open-parse"
documentation = "https://filimoa.github.io/open-parse"
[project.optional-dependencies]
ml = [
"torch",
"torchvision",
"transformers",
"tokenizers",
]
[project.scripts]
openparse-download = "openparse.cli:download_unitable_weights"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"W191", # indentation contains tabs
]