forked from tinyBlogPub/microblog.pub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (92 loc) · 2.31 KB
/
Copy pathpyproject.toml
File metadata and controls
99 lines (92 loc) · 2.31 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
[tool.poetry]
name = "microblogpub"
version = "2.8.0"
description = "Self-hosted, single-user, ActivityPub-powered microblog"
authors = [
"Thomas Sileo <t@a4.io>",
"João Costa <jdpc557@gmail.com>",
"Toni Hermoso Pulido <toniher@cau.cat>",
"Nigini Oliveira <nigini@gmail.com>",
]
license = "AGPL-3.0"
readme = "README.md"
repository = "https://github.com/toniher/microblog.pub"
package-mode = false
[tool.poetry.dependencies]
python = "^3.10"
Jinja2 = "^3.1.4"
fastapi = ">=0.115,<1.0"
# Explicit floor for HTTP Range support (video seeking) and its later
# hardening — fastapi's own constraint (>=0.37.2) permits versions with no
# Range support at all. See serve_attachment in app/main.py.
starlette = ">=0.49.1"
pydantic = "^2.9"
pycryptodome = "^3.20"
bcrypt = "^4.2"
itsdangerous = "^2.1.2"
python-multipart = ">=0.0.9,<0.1"
tomli = "^2.0.1"
httpx = {version = ">=0.27,<0.29", extras = ["http2"]}
SQLAlchemy = {extras = ["asyncio"], version = "^1.4.54"}
alembic = "^1.13"
bleach = "^6.1.0"
prompt-toolkit = "^3.0.29"
tomli-w = "^1.0.0"
python-dateutil = "^2.8.2"
beautifulsoup4 = "^4.12"
html5lib = "^1.1"
mf2py = "^1.1.2"
Pygments = "^2.12.0"
loguru = "^0.7.2"
Pillow = ">=10.4,<12"
blurhash-python = "^1.1.3"
html2text = ">=2020.1.16,<2025"
feedgen = ">=0.9,<2"
emoji = "^2.8.0"
PyLD = "^2.0.3"
aiosqlite = ">=0.20,<1.0"
cachetools = "^5.2.0"
humanize = "^4.2.3"
tabulate = "^0.9.0"
asgiref = "^3.5.2"
supervisor = "^4.2.5"
invoke = "^2.2"
libsass = ">=0.22,<1.0"
boussole = "^2.0.0"
uvicorn = {extras = ["standard"], version = ">=0.30,<1.0"}
Brotli = "^1.0.9"
mistletoe = "^1.2.1"
Pebble = "^5.0.2"
Babel = "^2.16"
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
flake8 = "^7.1"
mypy = "^1.13"
isort = "^5.13"
pytest = "^8.3"
respx = "^0.22"
types-bleach = "^6.1.0"
types-Markdown = "^3.7"
factory-boy = "^3.3"
pytest-asyncio = "^0.24"
types-cachetools = "^5.2.1"
sqlalchemy2-stubs = "^0.0.2-alpha.24"
types-python-dateutil = "^2.8.18"
types-tabulate = "^0.9.0"
types-requests = "^2.28.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.mypy]
exclude = ["alembic/versions/"]
plugins = ["sqlalchemy.ext.mypy.plugin", "pydantic.mypy"]
[tool.black]
extend-exclude = '''
/(
| alembic/versions
)/
'''
[tool.pytest.ini_options]
asyncio_mode = "strict"