-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (77 loc) · 1.91 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (77 loc) · 1.91 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
[tool.poetry]
name = "bhulan"
version = "2.2.0"
description = "GPS data processing and ingestion system"
authors = ["Bhulan Contributors"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2.0"
pydantic-settings = "^2.0"
pymongo = "^4.0"
fastapi = {version = "^0.115.0", extras = ["standard"]}
uvicorn = {extras = ["standard"], version = "^0.24.0"}
numpy = "^1.26"
scipy = "^1.11"
pandas = "^2.1"
openpyxl = "^3.1.0"
python-dateutil = "^2.8.0"
slowapi = "^0.1.9"
kafka-python = {version = "^2.0", optional = true}
paho-mqtt = {version = "^1.6", optional = true}
boto3 = {version = "^1.28", optional = true}
pyarrow = {version = "^13.0", optional = true}
limits = ">=3.10"
gpxpy = "^1.6.2"
fitdecode = "^0.11.0"
python-multipart = ">=0.0.9,<0.0.20"
httpx = "<0.28"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4"
pytest-asyncio = "^0.21"
pytest-cov = "^4.1"
black = "^23.0"
ruff = "^0.1"
mypy = "^1.5"
types-python-dateutil = "^2.9.0.20260408"
[tool.poetry.extras]
kafka = ["kafka-python"]
mqtt = ["paho-mqtt"]
s3 = ["boto3"]
parquet = ["pyarrow"]
all = ["kafka-python", "paho-mqtt", "boto3", "pyarrow"]
[tool.poetry.scripts]
bhulan-api = "bhulan.api.app:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --cov=bhulan --cov-report=term-missing"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"pymongo.*",
"kafka.*",
"paho.*",
"fitdecode.*",
"gpxpy.*",
]
ignore_missing_imports = true