-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
66 lines (56 loc) · 1.54 KB
/
pyproject.toml
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
[project]
name = "lacia"
version = "0.2.0"
description = "A modern `Json-Rpc/Bson-Rpc` implementation, compatible with `Json-Rpc Ast` and `Json-Rpc 2.0` and `Json-Rpc X`, supports multiple network protocols and backend frameworks and supports bidirectional calls."
authors = [
{name = "luxuncang", email = "[email protected]"},
]
dependencies = [
"richuru>=0.1.1",
"nest-asyncio>=1.5.8",
"aiohttp>=3.8.6",
"orjson>=3.9.10",
"bson>=0.5.10",
"typing-extensions>=4.8.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Typing :: Typed",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
[project.urls]
repository = "https://github.com/luxuncang/lacia"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.dev-dependencies]
dev = [
"ruff>=0.1.5",
]
[project.optional-dependencies]
starlette = [
"starlette>=0.37.2",
]
uvicorn = [
"uvicorn[standard]>=0.30.1",
]
fastapi = [
"fastapi>=0.111.0",
]
[tool.pdm.build]
includes = ["src/lacia"]
[tool.pdm.scripts]
client1.cmd = "python example/CtoC/client_1.py"
client1.env = {PYTHONPATH = "src"}
client.cmd = "python example/CtoC/client_2.py"
client.env = {PYTHONPATH = "src"}
server.cmd = "python example/CtoC/server.py"
server.env = {PYTHONPATH = "src"}
test.cmd = "python tests/jsonast.py"
test.env = {PYTHONPATH = "src"}