Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (97 loc) · 2.77 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (97 loc) · 2.77 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "timescaledb"
version = "0.2.1"
description = "TimescaleDB is a Python Client based on SQLModel and SQLAlchemy for high-performance real-time analytics time-series data."
readme = "README.md"
authors = [
{ name = "Justin Mitchel", email = "justin@codingforentrepreneurs.com" },
]
license = { text = "MIT" }
keywords = ["TimescaleDB", "SQLModel", "SQLAlchemy", "Time-Series", "Analytics"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
]
requires-python = ">=3.11"
dependencies = [
"sqlmodel>=0.0.8",
]
[project.optional-dependencies]
fastapi = [
"fastapi>=0.104.0",
"uvicorn>=0.23.2",
]
django = [
"Django>=5.2",
]
[project.urls]
Homepage = "https://github.com/jmitchel3/timescaledb-python"
Repository = "https://github.com/jmitchel3/timescaledb-python"
[project.entry-points."sqlalchemy.dialects"]
"timescaledb" = "timescaledb.dialect:TimescaledbPsycopg2Dialect"
"timescaledb.psycopg2" = "timescaledb.dialect:TimescaledbPsycopg2Dialect"
"timescaledb.psycopg" = "timescaledb.dialect:TimescaledbPsycopgDialect"
"timescaledb.asyncpg" = "timescaledb.dialect:TimescaledbAsyncpgDialect"
[tool.hatch.build.targets.wheel]
packages = ["src/timescaledb"]
[tool.isort]
force_single_line = true
profile = "black"
[tool.pytest.ini_options]
addopts = """
--strict-config
--strict-markers
"""
xfail_strict = true
[tool.coverage.run]
branch = true
parallel = true
source = ["timescaledb"]
omit = [
"*/migrations/*",
"*/admin.py",
"tests/*",
]
[tool.coverage.paths]
# The canonical (first) path must exist in the checkout where `coverage
# combine`/`report` runs, otherwise tox-recorded paths remap to a
# non-existent location and report fails with "No source for code".
source = [
"src/timescaledb",
"timescaledb",
"*/timescaledb",
".tox/*/lib/python*/site-packages/timescaledb",
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError",
]
[tool.mypy]
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
strict = true
warn_unreachable = true