-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (87 loc) · 2.95 KB
/
pyproject.toml
File metadata and controls
95 lines (87 loc) · 2.95 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
[build-system]
requires = [
'setuptools==80.9.0',
'build==1.3.0',
'wheel==0.45.1'
]
build-backend = 'setuptools.build_meta'
[project]
name = "mrmat-python-api-fastapi"
description = "A Python API using FastAPI"
urls = { "Sources" = "https://github.com/MrMatAP/mrmat-python-api-fastapi.git" }
keywords = ["api", "python", "fastapi"]
readme = "README.md"
license = "MIT"
authors = [
{ "name" = "Mathieu Imfeld", "email" = "imfeldma+9jqerw@gmail.com" }
]
maintainers = [
{ "name" = "Mathieu Imfeld", "email" = "imfeldma+9jqerw@gmail.com" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.13"
]
requires-python = ">=3.13"
dynamic = ["version"]
dependencies = [
"fastapi[standard]==0.119.0",
"sqlalchemy[asyncio]==2.0.44",
"uvicorn==0.37.0",
"pydantic==2.12.2",
"psycopg2-binary==2.9.11",
"prometheus-fastapi-instrumentator==7.1.0",
"opentelemetry-distro",
"opentelemetry-exporter-otlp==1.38.0",
"opentelemetry-instrumentation-asyncio==0.59b0",
"opentelemetry-instrumentation-dbapi==0.59b0",
"opentelemetry-instrumentation-logging==0.59b0",
"opentelemetry-instrumentation-sqlite3==0.59b0",
"opentelemetry-instrumentation-threading==0.59b0",
"opentelemetry-instrumentation-urllib==0.59b0",
"opentelemetry-instrumentation-wsgi==0.59b0",
"opentelemetry-instrumentation-asgi==0.59b0",
"opentelemetry-instrumentation-click==0.59b0",
"opentelemetry-instrumentation-fastapi==0.59b0",
"opentelemetry-instrumentation-grpc==0.59b0",
"opentelemetry-instrumentation-httpx==0.59b0",
"opentelemetry-instrumentation-requests==0.59b0",
"opentelemetry-instrumentation-sqlalchemy==0.59b0",
"opentelemetry-instrumentation-starlette==0.59b0",
"opentelemetry-instrumentation-tortoiseorm==0.59b0",
"opentelemetry-instrumentation-urllib3==0.59b0",
"types-pyyaml==6.0.12.20250915",
]
[dependency-groups]
dev = [
"pytest==8.4.2",
"pytest-cov==7.0.0",
"mypy==1.18.2",
"types-PyYAML==6.0.12.20250915",
"httpx==0.28.1",
"black>=25.9.0",
]
[tool.setuptools.dynamic]
version = { attr = "ci.version"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["mrmat_python_api_fastapi*"]
namespaces = true
[tool.setuptools.package-data]
"*" = [".mo", "*.yml", "*.yaml", "*.md", "inventory", "*.j2", "*.html", "*.ico", "*.css", "*.js", "*.svg", "*.woff", "*.eot", "*.ttf"]
[project.scripts]
mrmat-python-api-fastapi = "mrmat_python_api_fastapi.app:run"
[tool.mypy]
plugins = [ 'pydantic.mypy' ]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pytest.ini_options]
testpaths = 'tests'
addopts = '--cov=mrmat_python_api_fastapi --cov-report=term --cov-report=xml:build/coverage.xml --junit-xml=build/junit.xml'
junit_family = 'xunit2'
log_cli = 1
log_cli_level = 'INFO'
log_cli_format = '%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)'
log_cli_date_format = '%Y-%m-%d %H:%M:%S'