-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (69 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
78 lines (69 loc) · 2.22 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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.isort]
known_palace = ["palace"]
profile = "black"
sections = "FUTURE,STDLIB,THIRDPARTY,PALACE,FIRSTPARTY,LOCALFOLDER"
[tool.mypy]
files = ["src", "tests"]
plugins = ["pydantic.mypy"]
strict = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"vlc",
]
[tool.poetry]
authors = ["The Palace Project <info@thepalaceproject.org>"]
description = "Palace Tools"
homepage = "https://thepalaceproject.org"
license = "Apache-2.0"
name = "palace-tools"
packages = [{include = "palace_tools", from = "src"}]
readme = "README.md"
version = "0"
[tool.poetry.dependencies]
ddsketch = "^3.0.1"
httpx = "^0.28.1"
jwcrypto = "^1.5.6"
mutagen = "^1.47.0"
palace-manager = {git = "https://github.com/ThePalaceProject/circulation.git", branch = "main"}
psycopg2-binary = "^2.9.11"
pydantic = "^2.11.7"
python = ">=3.12,<4"
python-vlc = "^3.0.20123"
rich = "^14.0.0"
textual = "^8.0.0"
typer = "^0.24.1"
typing_extensions = {version = "^4.9.0", python = "<3.11"}
xmltodict = "^1.0.2"
[tool.poetry.group.ci.dependencies]
pre-commit = "^4.3.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.8.0"
pytest = "^9.0.1"
tox = "^4.0.0"
types-jwcrypto = "^1.5.0.20251102"
types-requests = "^2.32.4.20250913"
types-xmltodict = "^1.0.1.20250920"
[tool.poetry.scripts]
audiobook-manifest-summary = "palace_tools.cli.summarize_rwpm_audio_manifest:main"
download-feed = "palace_tools.cli.download_feed:main"
fetch-lcp = "palace_tools.cli.fetch_lcp:main"
generate-demarque-keys = "palace_tools.cli.generate_demarque_keys:main"
import-libraries-from-csv = "palace_tools.cli.import_libraries_from_csv:main"
overdrive_feed_analyzer = "palace_tools.cli.overdrive_feed_analyzer:main"
palace-terminal = "palace_tools.cli.palace_terminal:main"
patron-bookshelf = "palace_tools.cli.patron_bookshelf:main"
stress-test-opds2 = "palace_tools.cli.stress_test_opds2:main"
validate-audiobook-manifests = "palace_tools.cli.validate_manifests:main"
validate-feed = "palace_tools.cli.validate_feed:main"
[tool.tomlsort]
ignore_case = true
in_place = true
sort_inline_arrays = true
sort_table_keys = true
spaces_before_inline_comment = 2
spaces_indent_inline_array = 4
trailing_comma_inline_array = true