-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (123 loc) · 3.67 KB
/
pyproject.toml
File metadata and controls
138 lines (123 loc) · 3.67 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
[project]
name = "imednet"
version = "0.4.2"
description = ""
authors = [{name = "Frederick de Ruiter", email = "127706008+fderuiter@users.noreply.github.com"}]
readme = "README.md"
license = {text = "MIT"}
[project.scripts]
imednet = "imednet.cli:app"
[tool.poetry]
name = "imednet"
version = "0.4.2"
description = "Unofficial Python SDK for the iMednet clinical trials API"
readme = "README.md"
keywords = ["imednet", "clinical trials", "sdk", "api"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Typing :: Typed",
]
authors = ["Frederick de Ruiter <127706008+fderuiter@users.noreply.github.com>"]
maintainers = ["Frederick de Ruiter <fpderuiter@gmail.com>"]
packages = [{ include = "imednet", from = "src" }]
include = [
"README.md",
"LICENSE",
"src/imednet/py.typed",
{ path = "examples", format = "sdist" } # Include examples only in sdist
]
license = "MIT"
repository = "https://github.com/fderuiter/imednet-python-sdk"
homepage = "https://github.com/fderuiter/imednet-python-sdk"
[tool.poetry.scripts]
imednet = "imednet.cli:app"
[tool.poetry.dependencies]
python = "^3.10"
h11 = "0.16.0"
pandas = { version = ">=2.2.3,<3.0.0", optional = true }
pyarrow = { version = ">=17.0.0", optional = true }
SQLAlchemy = { version = ">=2.0.0,<3.0.0", optional = true }
openpyxl = { version = "^3.1", optional = true }
pydantic = "^2.11.3"
httpx = "^0.28.1"
tenacity = "^9.1.2"
python-dotenv = "^1.1.0"
typer = {extras = ["all"], version = "^0.15.2"}
python-json-logger = "^2.0.7"
urllib3 = "^2.6.3"
filelock = "^3.20.3"
[tool.poetry.extras]
pandas = ["pandas"]
excel = ["pandas", "openpyxl"]
pyarrow = ["pyarrow"]
sqlalchemy = ["SQLAlchemy"]
airflow = ["apache-airflow", "apache-airflow-providers-amazon"]
[tool.poetry.group.dev.dependencies]
pandas = ">=2.2.3,<3.0.0"
black = ">=26.3.1"
ruff = "^0.11.6"
mypy = "^1.15.0"
pytest = "^8.3.5"
pytest-cov = "^6.1.1"
respx = "^0.22.0"
pytest-asyncio = "^0.23.5"
faker = "^24.9"
pre-commit = "^4.2.0"
virtualenv = "^20.36.1"
isort = "^6.0.1"
werkzeug = "^3.1.6"
sphinx = "^6.2.0"
sphinx-autodoc-typehints = "*"
sphinx-rtd-theme = "^3.0.2"
boto3 = "^1.34"
moto = "^5.0"
sqlalchemy = "^2.0"
openpyxl = "^3.1"
sphinxcontrib-mermaid = "^0.9.2"
doc8 = "^2.0.0"
codespell = "^2.4.1"
pip = "^26.0"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
# ------------------------
# Formatting / lint config
# ------------------------
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint.isort]
known-first-party = ["imednet"]
[tool.ruff.lint]
select = ["E", "F", "I", "N"]
ignore = ["D", "ANN", "S101"]
[tool.ruff.lint.pep8-naming]
classmethod-decorators = ["field_validator", "model_validator"]
[tool.isort]
profile = "black"
line_length = 100
known_first_party = ["imednet"]
src_paths = ["src", "tests"]
[tool.doc8]
max_line_length = 400
ignore_path = ["docs/_build"]
[tool.mypy]
python_version = "3.10"
strict = false
ignore_missing_imports = true
plugins = []
# ────────────────────────────────────────────────────────────────
# Ignore all files under examples/
exclude = '^examples/.*$'