-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (79 loc) · 2.06 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (79 loc) · 2.06 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cclab"
version = "0.3.48"
description = "cclab development workspace and Python helpers"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
license-files = []
authors = [
{ name = "Chris Cheng", email = "chris.cheng.c4@gmail.com" }
]
keywords = ["rust", "mamba", "async", "postgres", "http"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Programming Language :: Rust",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = []
# Optional dependencies for different data sources
[project.optional-dependencies]
mongodb = [] # MongoDB support (included by default)
# OpenTelemetry distributed tracing support
observability = [
"opentelemetry-api>=1.20.0",
"opentelemetry-sdk>=1.20.0",
"opentelemetry-exporter-otlp>=1.20.0",
]
dev = [
"ruff>=0.1.0",
"mypy>=1.8.0",
]
# pytest ONLY for framework comparison benchmarks
comparison = [
"pytest>=8.0.0",
"pytest-benchmark>=4.0.0",
"pytest-benchmark[histogram]>=4.0.0",
]
[tool.setuptools.packages.find]
where = ["python"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
# pytest configuration (ONLY for framework comparison benchmarks)
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["python/benchmarks/framework_comparison"]
markers = [
"comparison: framework comparison benchmarks only",
]
[dependency-groups]
dev = [
"beanie>=2.0.1",
"pymongo>=4.0.0",
"mongoengine>=0.27.0",
"motor>=3.7.1",
"gevent>=25.9.1",
"matplotlib>=3.10.8",
"tabulate>=0.9.0",
"python-dotenv>=1.2.1",
"httpx>=0.27.0",
"fastapi>=0.116.1",
"uvicorn>=0.35.0",
"asyncpg>=0.29.0",
"psycopg2-binary>=2.9.0",
"sqlalchemy[asyncio]>=2.0.0",
"bandit>=1.9.2",
"pre-commit>=4.5.1",
]