forked from devine-dl/devine
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.84 KB
/
pyproject.toml
File metadata and controls
121 lines (110 loc) · 2.84 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
[project]
name = "vindemitor"
version = "0.1.0"
description = "Modular Movie, TV, and Music Archival Software."
readme = "README.md"
requires-python = ">=3.11,<3.14"
license = "GPL-3.0-only"
authors = [
{ name = "Shivelight", email = "shivelight@tuta.io" },
{ name = "rlaphoenix", email = "rlaphoenix@pm.me" },
]
keywords = [
"downloader",
"drm",
"python",
"widevine",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Video",
"Topic :: Security :: Cryptography",
]
dependencies = [
"Brotli>=1.1.0,<2",
"Unidecode>=1.3.8,<2",
"chardet>=5.2.0,<6",
"click>=8.2.1,<9",
"construct>=2.8.8,<3",
"crccheck>=1.3.1,<2",
"curl-cffi>=0.13.0,<1",
"jsonpickle>=4.1.1,<5",
"httpx>=0.28.1,<1",
"langcodes[data]>=3.5.0,<4",
"lxml>=6.0.0,<7",
"pproxy>=2.7.9,<3",
"protobuf>=6.33.2,<7",
"pycaption>=2.2.6,<3",
"pycryptodomex>=3.20.0,<4",
"pyjwt>=2.8.0,<3",
"pymediainfo>=6.1.0,<7",
"pymp4>=1.4.0,<2",
"pymysql>=1.1.2,<2",
"pywidevine>=1.9.0,<2",
"requests[socks]>=2.32.5,<3",
"rich>=14.2.0,<15",
"rlaphoenix.m3u8>=3.4.0,<4",
"sortedcontainers>=2.4.0,<3",
"subtitle-filter>=1.5.0,<2",
"urllib3>=2.5.0,<3",
"tomlkit>=0.13.3,<1",
"platformdirs>=4.4.0,<5",
"niquests>=3.15.2,<4",
"pyplayready>=0.8.1,<0.9",
"python-jsonpath>=2.0.1,<3",
]
[project.urls]
Changelog = "https://github.com/Shivelight/vindemitor/blob/master/CHANGELOG.md"
Discussions = "https://github.com/Shivelight/vindemitor/discussions"
Homepage = "https://github.com/Shivelight/vindemitor"
Issues = "https://github.com/Shivelight/vindemitor/issues"
Repository = "https://github.com/Shivelight/vindemitor"
[project.scripts]
vindemitor = "vindemitor.core.__main__:main"
[dependency-groups]
dev = [
"isort>=6.0.1,<7",
"mypy-protobuf>=4.0.0,<5",
"mypy>=1.17.0,<2",
"prek>=0.2.1",
"ruff~=0.14.0",
"types-PyMySQL>=1.1.0.1,<2",
"types-m3u8>=6.0.0.20250708",
"types-protobuf>=6.32.1.20251210,<7",
"types-requests>=2.32.4.20250913",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"vindemitor",
"CHANGELOG.md",
"README.md",
"LICENSE",
]
[tool.hatch.build.targets.wheel]
packages = ["vindemitor"]
[tool.isort]
line_length = 118
[tool.mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
follow_imports = "normal"
ignore_missing_imports = true
no_implicit_optional = true
explicit_package_bases = true
allow_redefinition_new = true
local_partial_types = true
[tool.basedpyright]
typeCheckingMode = "standard" # TODO: promote to "strict" / "recommended" when have time
[tool.ruff]
force-exclude = true
line-length = 120
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "W"]