Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (82 loc) · 2.05 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
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[project]
name = "cocat"
version = "0.12.0"
description = "CRDT-based tscat"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "David Brochart", email = "david.brochart@gmail.com" },
]
readme = "README.md"
keywords = [
"crdt",
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"pycrdt >=0.12.40,<0.15.0",
"pydantic >=2.12.0,<3.0.0",
"typing_extensions >=4.15.0,<5.0.0; python_version<'3.11'",
"wiredb >=0.7.1,<0.8.0",
"cyclopts >=4.0.0,<6.0.0",
"wire-file >=0.7.1,<0.8.0",
"wire-websocket >=0.7.1,<0.8.0",
"httpx >=0.28.1,<0.29.0",
"simpleeval >=1.0.3,<2.0.0",
"keyring >=25.7.0,<26.0.0",
"anyioutils >=0.7.4,<0.8.0",
"rich",
]
[dependency-groups]
test = [
"mypy",
"ruff",
"pytest",
"coverage",
"trio",
"requests",
"types-requests",
"astropy",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
]
[project.optional-dependencies]
server = [
"alembic >=1.16,<2",
"fastapi >=0.120.3,<0.163.0",
"fastapi-users[sqlalchemy] >=15.0.1,<16.0.0",
"anycorn >=0.18.2,<0.21.0",
"aiosqlite >=0.21.0,<0.23.0",
]
[project.scripts]
cocat = "cocat.cli:app"
[project.urls]
Homepage = "https://github.com/SciQLop/cocat"
[tool.uv.build-backend]
module-name = "cocat"
[tool.ruff]
lint.extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
# FastAPI's dependency injection is declared as `Depends(...)` argument defaults.
"src/cocat/app/*" = ["B008"]
"tests/*" = ["ASYNC210", "SIM117"]
[tool.coverage.run]
# The server tests start `cocat serve` as a child process; measure it too.
patch = ["subprocess"]