a b/pyproject.toml
1
[build-system]
2
requires = ["setuptools >= 69.0", "setuptools-scm>=8.0"]
3
build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "femr"
7
description = "Framework for Electronic Medical Records. A python package for building models using EHR data."
8
readme = "README.md"
9
dependencies = [
10
    "numpy >= 1.22",
11
    "scipy >= 1.6",
12
    "scikit-learn >= 0.24",
13
    "tqdm >= 4.60.0",
14
    "zstandard >= 0.18",
15
    "icecream == 2.1.3",
16
    "nptyping == 2.4.1",
17
    "msgpack >= 1.0.5",
18
    "meds == 0.1.3",
19
    "meds_etl == 0.1.0",
20
    "torch >= 2.1.2",
21
    "transformers >= 4.25",
22
    "datasets >= 2.15",
23
    "polars >= 0.20",
24
    "dill >= 0.3.7",
25
]
26
requires-python=">3.9"
27
dynamic = ["version"]
28
29
[tool.setuptools_scm]
30
version_file = "src/femr/_version.py"
31
32
[project.scripts]
33
34
femr_stanford_omop_fixer = "femr.post_etl_pipelines.stanford:femr_stanford_omop_fixer_program"
35
36
[project.optional-dependencies]
37
build = [
38
    "pytest >= 5.2",
39
    "flake8-future-import >= 0.4.6",
40
    "black >= 19.10b0",
41
    "isort >= 5.3.2",
42
    "mypy >= 0.782",
43
    "flake8 >= 3.8.3",
44
    "sphinx >= 3.2.1",
45
    "sphinx-rtd-theme >= 0.5.0",
46
    "sphinx-autoapi >= 1.5.1",
47
    "torchtyping == 0.1.4",
48
]
49
50
[tool.isort]
51
multi_line_output = 3
52
include_trailing_comma = true
53
force_grid_wrap = 0
54
use_parentheses = true
55
ensure_newline_before_comments = true
56
line_length = 120
57
58
[tool.black]
59
line_length = 120
60
target_version = ['py310']
61
62
[tool.pydocstyle]
63
match = "src/.*\\.py"
64
65
66
[tool.pytest.ini_options]
67
pythonpath = [
68
    "tests"
69
]