-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
63 lines (56 loc) · 1.73 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
56
57
58
59
60
61
62
63
[project]
name = "ebook2text"
description = "Convert common book file types to text for machine learning"
readme = "README.md"
authors = [{name = "Ashlynn Antrobus", email = "ashlynn@prosepal.io"}]
license = {text = "MIT"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing"
]
requires-python = ">=3.9"
dependencies = [
"beautifulsoup4>=4.12.3",
"ebooklib@git+https://github.com/aerkalov/ebooklib",
"openai>=1.54.3",
"pdfminer-six>=20240706",
"pillow>=10.4.0",
"python-docx>=1.1.2",
"python-dotenv>=1.0.1",
]
dynamic = ["version"]
[project.urls]
Repository = "https://github.com/ashrobertsdragon/Ebook-conversion-to-Text-for-Machine-Learning"
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 79
force-exclude = true
exclude = [".git", "__pycache__", ".venv", "dist", "build", ".vscode", ".egg-info"]
[tool.isort]
line_length = 79
[tool.mypy]
disable_error_code = "import-untyped"
exclude = "ebooklib"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[dependency-groups]
dev = [
"pytest-mock>=3.14.0",
"pytest>=8.3.3",
]