Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (95 loc) · 4.62 KB
/
Copy pathpyproject.toml
File metadata and controls
112 lines (95 loc) · 4.62 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
[project]
name = "nhp-data"
dynamic = ["version"]
description = "Add your description here"
readme = "readme.md"
requires-python = ">=3.12"
dependencies = [
"azure-identity>=1.25.3",
"azure-storage-blob>=12.28.0",
"azure-storage-file-datalake>=12.23.0",
"beautifulsoup4>=4.13.4",
"databricks-connect>=16.4",
"mlflow>=3.3.2",
"openpyxl>=3.1.5",
"pandas>=2.2.3",
"pygam>=0.9.1",
"pyspark>=3.5.2",
"statsmodels>=0.14.5",
"tqdm>=4.67.1",
"xlrd>=2.0.2",
]
# Explicitly specify which packages to include
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools_scm]
write_to = "src/nhp/data/__version.py"
fallback_version = "0.0.0"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"nhp.data.raw_data.mitigators.reference_data" = ["*.json", "*.csv"]
[build-system]
requires = ["setuptools>=80", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff]
exclude = ["**/*.pyi"]
[tool.ty.src]
exclude = ["**/*.pyi"]
[tool.uv.sources]
nhp-functional-area-mapping = { git = "https://github.com/the-strategy-unit/nhp_functional_area_mapping.git" }
[project.scripts]
aggregated_data-ecds = "nhp.data.aggregated_data.ecds:main"
aggregated_data-outpatients = "nhp.data.aggregated_data.outpatients:main"
default-apc = "nhp.data.default.apc:main"
default-ecds = "nhp.data.default.ecds:main"
default-opa = "nhp.data.default.opa:main"
hes-aae-arrivals = "nhp.data.hes.aae.arrivals:main"
hes-aae-diagnoses = "nhp.data.hes.aae.diagnoses:main"
hes-aae-investigations = "nhp.data.hes.aae.investigations:main"
hes-aae-treatments = "nhp.data.hes.aae.treatments:main"
hes-apc-episodes = "nhp.data.hes.apc.episodes:main"
hes-apc-births = "nhp.data.hes.apc.births:main"
hes-apc-diagnoses = "nhp.data.hes.apc.diagnoses:main"
hes-apc-procedures = "nhp.data.hes.apc.procedures:main"
hes-opa-attendances = "nhp.data.hes.opa.attendances:main"
hes-opa-diagnoses = "nhp.data.hes.opa.diagnoses:main"
hes-opa-procedures = "nhp.data.hes.opa.procedures:main"
inputs_data-age_sex = "nhp.data.inputs_data.age_sex:main"
inputs_data-baseline = "nhp.data.inputs_data.baseline:main"
inputs_data-diagnoses = "nhp.data.inputs_data.diagnoses:main"
inputs_data-expat_repat = "nhp.data.inputs_data.expat_repat:main"
inputs_data-procedures = "nhp.data.inputs_data.procedures:main"
inputs_data-rates = "nhp.data.inputs_data.rates:main"
inputs_data-inequalities = "nhp.data.inputs_data.inequalities:main"
raw_data-aae = "nhp.data.raw_data.aae:main"
raw_data-ecds = "nhp.data.raw_data.ecds:main"
raw_data-inpatients = "nhp.data.raw_data.inpatients:main"
raw_data-inpatients_mitigators = "nhp.data.raw_data.inpatients_mitigators:main"
raw_data-outpatients = "nhp.data.raw_data.outpatients:main"
raw_data-outpatients_mitigators = "nhp.data.raw_data.outpatients_mitigators:main"
population_projections-get_ons_files_2022 = "nhp.data.population_projections.get_ons_files_2022:main"
population_projections-npp = "nhp.data.population_projections.npp:main"
population_projections-snpp = "nhp.data.population_projections.snpp:main"
model_data-health_status_adjustment-generate_provider_gams = "nhp.data.model_data.health_status_adjustment.generate_provider_gams:main"
model_data-health_status_adjustment-generate_icb_gams = "nhp.data.model_data.health_status_adjustment.generate_icb_gams:main"
model_data-health_status_adjustment-generate_national_gams = "nhp.data.model_data.health_status_adjustment.generate_national_gams:main"
model_data-aae = "nhp.data.model_data.aae:main"
model_data-birth_factors = "nhp.data.model_data.birth_factors:main"
model_data-demographic_factors = "nhp.data.model_data.demographic_factors:main"
model_data-inequalities = "nhp.data.model_data.inequalities:main"
model_data-ip = "nhp.data.model_data.ip:main"
model_data-ip-tpmas = "nhp.data.model_data.ip_tpmas:main"
model_data-ip-functional_areas = "nhp.data.model_data.ip_functional_areas:main"
model_data-op = "nhp.data.model_data.op:main"
model_data-clean_up = "nhp.data.model_data.clean_up:main"
model_data-generate_synthetic_data = "nhp.data.model_data.generate_synthetic_data:main"
reference-day_procedures = "nhp.data.reference.day_procedures:main"
reference-ods_trusts = "nhp.data.reference.ods_trusts:main"
reference-provider_main_icb = "nhp.data.reference.provider_main_icb:main"
reference-population_by_imd_decile = "nhp.data.reference.population_by_imd_decile:main"
reference-lsoa_lookups = "nhp.data.reference.lsoa_lookups:main"
reference-population_by_lsoa21 = "nhp.data.reference.population_by_lsoa21:main"
reference-provider_catchments = "nhp.data.reference.provider_catchments:main"
reference-icb_catchments = "nhp.data.reference.icb_catchments:main"
extract_data = "nhp.data.extract_data:main"