Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (94 loc) · 2.25 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (94 loc) · 2.25 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
[project]
name = "data7"
version = "1.0.4"
description = "Data7 streams CSV/Parquet datasets over HTTP from SQL queries."
authors = [
{name="Julien Maupetit", email="julien@maupetit.net"},
]
license = "MIT"
readme = "README.md"
keywords = ["database", "dataset", "SQL", "Parquet", "CSV", "HTTP"]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Database",
"Topic :: Internet :: WWW/HTTP :: WSGI",
]
dependencies = [
"dynaconf>=3",
"pandas>=2",
"pyarrow>=20",
"pyinstrument>=5",
"sentry-sdk[starlette]>=2",
"sqlalchemy>=2",
"starlette>=0.1",
"typer>=0.1",
"uvicorn[standard]>=0.1",
]
[dependency-groups]
dev = [
"asyncpg==0.32.0",
"databases==0.9.0",
"httpx2==2.16.2",
"matplotlib==3.11.2",
"mkdocs-click==0.9.0",
"mkdocs-material==9.8.1",
"psycopg[binary,pool]==3.3.9",
"pytest==9.2.0",
"pytest-cov==7.1.0",
"ruff==0.17.5",
"ty==0.0.107",
"types-pyyaml==6.0.12.20261113",
]
[project.urls]
Homepage = "https://jmaupetit.github.io/data7/"
Repository = "https://github.com/jmaupetit/data7"
Documentation = "https://jmaupetit.github.io/data7/"
[project.scripts]
data7 = "data7.cli:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# Third party packages configuration
[tool.coverage.run]
omit = []
[tool.pytest.ini_options]
addopts = "-v --cov-report term-missing --cov=data7"
python_files = [
"test_*.py",
"tests.py",
]
testpaths = [
"tests",
]
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = []
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"D", # pydocstyle
"E", # pycodestyle error
"F", # Pyflakes
"I", # Isort
"ISC", # flake8-implicit-str-concat
"PLC", # Pylint Convention
"PLE", # Pylint Error
"PLR", # Pylint Refactor
"PLW", # Pylint Warning
"RUF100", # Ruff unused-noqa
"S", # flake8-bandit
"T20", # flake8-print
"W", # pycodestyle warning
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = [
"S101", # use of assert
]
[tool.ruff.lint.pydocstyle]
# Use Google-style docstrings.
convention = "google"
[tool.ty.src]
include = ["src", "tests", "scripts"]
exclude = []