-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
153 lines (134 loc) · 3.65 KB
/
Copy pathpyproject.toml
File metadata and controls
153 lines (134 loc) · 3.65 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# SPDX-FileCopyrightText: 2021 - 2023 Constantine Evans <qslib@mb.costi.net>
#
# SPDX-License-Identifier: EUPL-1.2
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
python-source = "python"
module-name = "qslib._qslib"
bindings = "pyo3"
features = ["python"]
exclude = ["tiff-collection.eds"]
[project]
name = "qslib"
requires-python = ">=3.10"
description = "Library for communicating with and using the QuantStudio qPCR machine, intended for non-qPCR uses."
license = { text = "EUPL-1.2" }
readme = "README.md"
authors = [{ name = "Constantine Evans", email = "const@costi.net" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Typing :: Typed",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: Matplotlib",
"Framework :: Jupyter",
]
dynamic = ["version"]
dependencies = [
"pandas >= 2",
"numpy >= 1",
"tabulate >= 0.9",
"typeguard >= 2, < 5",
"nest_asyncio >= 1.5",
"click >=8.0,<9.0",
"click-aliases",
"typing-extensions >= 4",
"toml",
"pint",
"attrs",
"matplotlib",
"markdown",
"dacite",
"polars ~= 1.21",
"pyarrow"
]
[project.optional-dependencies]
monitor = [
"aiohttp~=3.9.0b0; python_version >= '3.12'",
"matrix-nio",
"influxdb_client",
"lxml"]
altair = [
"vegafusion",
"altair",
"vl-convert-python",
]
[project.urls]
homepage = "https://docs.costi.net/qslib/"
documentation = "https://docs.costi.net/qslib/"
source = "https://github.com/cgevans/qslib"
changelog = "https://github.com/cgevans/qslib/blob/main/CHANGELOG.md"
tracker = "https://github.com/cgevans/qslib/issues"
download = "https://pypi.org/project/qslib/#files"
[project.scripts]
qs-monitor = "qslib.monitor_cli:run"
qslib = "qslib.cli:cli"
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-cov>=6.2.1",
"setuptools",
"pytest-asyncio",
"hypothesis",
"qslib[monitor]",
"altair>=6.0.0",
"maturin>=1.12.6",
"mypy>=1.19.1",
]
docs = [
"myst_parser",
"influxdb_client",
"lxml",
"sphinx-click",
"sphinx-autodoc-typehints",
"sphinx >= 2.4",
"qslib[monitor]"
]
[tool.pytest.ini_options]
addopts = "--verbose"
norecursedirs = ["dist", "build", ".tox"]
testpaths = ["tests"]
[tool.mypy]
python_version = "3.10"
# warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# selectors to match the pre-0.16 defaults, plus T20 (print) to keep debugging
# output out of the library.
select = ["E4", "E7", "E9", "F", "T20"]
[tool.ruff.lint.per-file-ignores]
"python/qslib/cli.py" = ["T20"]
"tests/*" = ["T20"]
"examples/*" = ["T20"]
"docs/*" = ["T20"]
[tool.hatch.envs.hatch-test]
skip-install = false
dependencies = [
"pytest>=8.4.2",
"pytest-cov>=6.2.1",
"setuptools",
"pytest-asyncio",
"hypothesis",
]
pre-install-commands=["maturin develop --uv"]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.12", "3.13"]
#[tool.hatch.envs.default.scripts]
#test = "pytest {args:tests}"
#test-cov = "pytest --cov qslib --cov-report term-missing {args:tests}"
#test-cov-html = "pytest --cov qslib --cov-report html {args:tests}"