-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (37 loc) · 1020 Bytes
/
pyproject.toml
File metadata and controls
42 lines (37 loc) · 1020 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "any2md"
version = "0.3.3"
description = "Media to Markdown toolkit for Apple Silicon"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Joseph Schlesinger", email = "joe@schlesinger.io" },
]
dependencies = [
"typer>=0.9.0",
"typing-extensions",
]
[project.optional-dependencies]
stt = ["mlx-audio[stt]>=0.4.0", "yt-dlp>=2023.11.14"]
pdf = ["pymupdf4llm>=0.2.0"]
img = ["mlx-vlm"]
web = ["mlx-lm", "httpx"]
doc = ["markitdown>=0.1.0", "mammoth>=1.12.0"]
rst = []
speaker = ["wespeakerruntime", "sqlite-vec"]
all = ["any2md[stt,pdf,img,web,doc,speaker]"]
[project.scripts]
any2md = "any2md.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/any2md"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"integration: requires real model inference or network access (use -m integration to run)",
"slow: takes more than 10 seconds",
]