-
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (94 loc) · 2.3 KB
/
pyproject.toml
File metadata and controls
108 lines (94 loc) · 2.3 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
[tool.poetry]
name = "pysus"
version = "1.0.1" # changed by semantic-release
description = "Tools for dealing with Brazil's Public health data"
authors = ["Flavio Codeco Coelho <fccoelho@gmail.com>", "Luã Bida Vacaro <luabidaa@gmail.com>"]
license = "GPL"
packages = [{ include = "pysus"}]
exclude = [
"pysus/tests",
"pysus/tests/**",
"pysus/management",
"pysus/management/**"
]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
python-dateutil = "2.8.2"
fastparquet = ">=2023.10.1,<=2024.11.0"
pyarrow = ">=11.0.0"
numpy = ">1,<3"
tqdm = ">=4.67.0"
wget = "^3.2"
loguru = "^0.6.0"
Unidecode = "^1.3.6"
dateparser = "^1.1.8"
pandas = "^2.2.2"
typing-extensions = ">=4.10.0"
pydantic = "^2.12.5"
duckdb = "^1.4.4"
duckdb-engine = "^0.17.0"
sqlalchemy = "^2.0.48"
textual = {extras = ["syntax"], version = "^8.2.1"}
python-magic = "^0.4.27"
chardet = "^7.4.0.post2"
anyio = "^4.13.0"
humanize = "^4.8.0"
aioftp = "^0.21.4"
dbfread = "2.0.7"
bigtree = "^0.12.2"
pyreaddbc = { version = ">=1.1.0", optional = true }
pycparser = { version = "2.21", optional = true }
dotenv = "^0.9.9"
boto3 = "^1.42.89"
[tool.poetry.extras]
dbc = ["pyreaddbc", "pycparser"]
[tool.poetry.group.dev.dependencies]
pytest = ">=6.1.0"
black = "^22.6.0"
flake8 = "^5.0.4"
isort = "^5.10.1"
pre-commit = "^2.20.0"
pytest-timeout = "^2.1.0"
nbsphinx = "^0.9.3"
pytest-retry = "1.7.0"
datamodel-code-generator = {extras = ["http"], version = "^0.54.0"}
pytest-asyncio = "^1.3.0"
[tool.poetry.group.docs.dependencies]
sphinx = "^5.1.1"
nbmake = "^1.4.1"
matplotlib = "^3.7.1"
jupyterlab = "^4.0.5"
ipykernel = "^6.25.1"
seaborn = "^0.12.2"
tomli = "^2.0.1"
sphinx-rtd-theme = "^1.3.0"
nbsphinx = "^0.9.3"
[tool.poetry.group.geo.dependencies]
geocoder = { version = "^1.38.1", extras=["preprocessing"] }
jsonschema = "^4.19.0"
descartes = "^1.1.0"
folium = "^0.14.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
src_paths = ["isort", "test"]
[tool.black]
# https://github.com/psf/black
target-version = ["py39"]
line-length = 79
color = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"-ra -q"
]
testpaths = [
"tests"
]
exclude = ["*.git", "docs/"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
check_untyped_defs = false