-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
58 lines (54 loc) · 1.81 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
[tool.poetry]
name = "fastapi-wire"
version = "0.0.1-a4"
description = "Build FastAPI applications easily"
authors = ["Guillaume Charbonnier <gu.charbon@gmail.com>"]
packages = [
{ include = "demo_app", from = "src/demo-app" },
{ include = "wire", from = "src/fastapi-wire" },
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8,<=3.10"
# Rest API Framework
fastapi = "^0.75.1"
# HTTP Server
uvicorn = "^0.17.6"
# Logging framework
structlog = "^21.5.0"
# NATS deps
nats-py = "^2.1.0"
nkeys = "^0.1.0"
# Config/Settings deps
PyYAML = "^6.0"
setuptools = "*"
# OpenID Connect deps
cryptography = { version = "^36.0.2", optional = true }
httpx = { version = "^0.22.0", optional = true }
PyJWT = { version = "^2.3.0", optional = true }
# Telemetry deps
prometheus-fastapi-instrumentator = { version = "^5.7.1", optional = true }
opentelemetry-instrumentation-fastapi = { version = "^0.29-beta.0", optional = true }
opentelemetry-sdk = { version = "^1.10.0", optional = true }
opentelemetry-exporter-otlp-proto-grpc = { version = "^1.10.0", optional = true }
# Development tools
flake8 = { version = "^4.0.1", optional = true }
black = { version = "^22.3.0", optional = true }
isort = { version = "^5.10.1", optional = true }
mypy = { version = "^0.942", optional = true }
types-setuptools = { version = "^57.4.12", optional = true }
types-PyYAML = { version = "^6.0.7", optional = true }
[tool.poetry.extras]
dev = ["flake8", "black", "isort", "mypy", "types-setuptools", "types-PyYAML"]
telemetry = [
"prometheus-fastapi-instrumentator",
"opentelemetry-instrumentation-fastapi",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp-proto-http",
]
oidc = ["cryptography", "httpx", "PyJWT"]
[tool.poetry.scripts]
wire = "wire.cli:run"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"