Skip to content

GenomicMedLab/regbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 regbot 🤖

image image image Actions status

Acquire cleaned and structured data about drugs and therapeutics from US regulatory agencies and services:

  • ClinicalTrials.gov
  • Drugs@FDA
  • RxClass

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.


Installation

Install from PyPI:

python3 -m pip install regbot

Development

Clone the repo and create a virtual environment:

git clone https://github.com/genomicmedlab/regbot
cd regbot
python3 -m virtualenv venv
source venv/bin/activate

Install development dependencies and pre-commit:

python3 -m pip install -e '.[dev,tests]'
pre-commit install

Check style with ruff:

python3 -m ruff format . && python3 -m ruff check --fix .

Run tests with pytest:

pytest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages