-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (121 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
131 lines (121 loc) · 2.91 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "autopapertoppt"
version = "0.1.10"
description = "Keyword-driven paper search assistant that exports slides, summaries, and BibTeX."
requires-python = ">=3.12"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
authors = [{ name = "JeffreyChen" }]
keywords = [
"academic",
"papers",
"arxiv",
"powerpoint",
"bibtex",
"mcp",
"thesis",
"research",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Office/Business",
"Topic :: Text Processing :: Markup",
]
dependencies = [
"httpx>=0.27",
"pydantic>=2.7",
"pydantic-settings>=2.3",
"defusedxml>=0.7",
"python-pptx>=0.6.23",
"openpyxl>=3.1",
"bibtexparser>=1.4",
"beautifulsoup4>=4.12",
"lxml>=5.2",
"markdown-it-py>=3.0",
# Real-browser backend for the Google Scholar plugin. Default-on so
# the out-of-box `pip install autopapertoppt` gets the captcha-resilient
# Scholar path. Users who don't have Chrome on PATH automatically
# fall through to the httpx scrape path with no breakage.
"je_web_runner>=0.0.60",
]
[project.optional-dependencies]
web = [
"fastapi>=0.111",
"uvicorn>=0.30",
"streamlit>=1.36",
]
mcp = [
"mcp>=1.2",
]
intelligence = [
"pypdf>=4.0",
"anthropic>=0.40",
"pymupdf>=1.24",
]
gui = [
"PySide6>=6.7",
]
dev = [
"pytest>=8.2",
"pytest-asyncio>=0.23",
"pytest-httpx>=0.30",
"pytest-qt>=4.4",
"ruff>=0.5",
"bandit>=1.7",
"mcp>=1.2",
"pypdf>=4.0",
"anthropic>=0.40",
"pymupdf>=1.24",
"PySide6>=6.7",
]
[project.scripts]
autopapertoppt = "autopapertoppt.__main__:main"
autopapertoppt-mcp = "autopapertoppt.mcp.__main__:main"
autopapertoppt-gui = "autopapertoppt.gui.app:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["autopapertoppt*"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = [
"E", "F", "W",
"B",
"I",
"UP",
"SIM",
"S",
"C90",
"N",
"RET",
]
ignore = [
"S101",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S105", "S106", "S311"]
# Demo / regenerate scripts are full of CJK prose that overruns the line cap.
"scripts/**" = ["E501"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-ra"
[tool.bandit]
exclude_dirs = ["tests", ".venv", "build"]
skips = [
# B101: assert is fine in test helpers we may share later.
]