-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (91 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
103 lines (91 loc) · 2.29 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["setuptools>=65.0", "wheel>=0.40.0"]
build-backend = "setuptools.build_meta"
[project]
name = "epub-accessibility-ai-toolkit"
version = "1.0.0"
description = "AI-powered EPUB accessibility improvement toolkit using Claude, GPT, Gemini, and Grok"
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
authors = [
{name = "jun-hyung-joon", email = "siomaaaaa@gmail.com"},
]
maintainers = [
{name = "jun-hyung-joon", email = "siomaaaaa@gmail.com"},
]
keywords = [
"epub",
"accessibility",
"ai",
"claude",
"gpt",
"gemini",
"epubcheck"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: XML",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
# ✅ Keep only core dependencies (based on actual code usage)
dependencies = [
# AI API Clients
"anthropic>=0.3.0",
"openai>=1.0.0",
"google-generativeai>=0.3.0",
# EPUB & XML Processing
"ebooklib>=0.18",
"beautifulsoup4>=4.12.0",
"lxml>=4.9.0",
# Configuration & Utils
"PyYAML>=6.0.1",
"python-dotenv>=1.0.0",
"requests>=2.31.0", # for downloader
"tqdm>=4.66.0", # for progress bar
"colorama>=0.4.6", # for terminal colors
]
[project.optional-dependencies]
# Development and testing tools
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.5.0",
]
[project.urls]
Homepage = "https://github.com/jun-hyung-joon/eBook-Standardization-Toolkit"
Repository = "https://github.com/jun-hyung-joon/eBook-Standardization-Toolkit.git"
[project.scripts]
epub-ai = "main:main"
# --- Code quality tool settings ---
[tool.black]
line-length = 100
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"