Skip to content

Commit 0d42845

Browse files
authored
feat!: make all namedtuples typed, and remove unnormalized option (#24)
In an early version of regbot, I'd thought about trying to avoid collapsing all values into enums, but I think that's unnecessary so I'm removing the option Make all namedtuples type-annotated for editor integration
1 parent 249d6d5 commit 0d42845

File tree

6 files changed

+593
-490
lines changed

6 files changed

+593
-490
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
[![Actions status](https://github.com/genomicmedlab/regbot/actions/workflows/checks.yaml/badge.svg)](https://github.com/genomicmedlab/regbot/actions/checks.yaml)
77

88
<!-- description -->
9-
Fetch regulatory approval data for drug terms
10-
<!-- /description -->
9+
Acquire cleaned and structured data about drugs and therapeutics from US regulatory agencies and services:
1110

11+
* ClinicalTrials.gov
12+
* Drugs@FDA
13+
* RxClass
14+
<!-- /description -->
1215

16+
All data returned from regulatory APIs is structured as instances of standard library NamedTuples. This is done to give data structure and rudimentary type annotation (i.e. to benefit code editor and analysis tools) without adding runtime heft or being wedded to particular schema libraries like Pydantic. This may change in the future.
1317

1418
---
1519

0 commit comments

Comments
 (0)