-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (55 loc) · 1.08 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (55 loc) · 1.08 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
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "bili2text"
version = "0.3.0"
description = "CLI-first Bilibili to text toolkit with optional web and server features."
readme = "README.md"
requires-python = ">=3.10,<3.13"
license = { text = "MIT" }
authors = [{ name = "Lanbin" }]
dependencies = [
"InquirerPy>=0.3.4",
"rich>=13.9.4",
"tqdm>=4.67.3",
"typer>=0.12.5",
"yt-dlp>=2025.3.31",
]
[project.optional-dependencies]
whisper = [
"openai-whisper>=20240930",
]
sensevoice = [
"funasr-onnx>=0.4.0",
"jieba>=0.42.1",
"torch>=2.5.0",
]
volcengine = [
"requests>=2.32.3",
]
web = [
"fastapi>=0.115.12",
"jinja2>=3.1.6",
"python-multipart>=0.0.20",
"uvicorn>=0.34.0",
]
server = [
"fastapi>=0.115.12",
"jinja2>=3.1.6",
"python-multipart>=0.0.20",
"uvicorn>=0.34.0",
]
window = []
[project.scripts]
bili2text = "b2t.cli:main"
[dependency-groups]
dev = [
"httpx>=0.28.1",
"pytest>=8.3.5",
]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.hatch.build.targets.wheel]
packages = ["src/b2t"]