Eudract-py is a Python library for searching clinical trials on EUDRACT.
Installation
Use the package manager pip to install eudract-py:
pip install eudract-py
Usage
Search for trials
Search clinical trials and return summary or full protocol details.
fromeudractimportEudracteu=Eudract()eu.search("EFC14280","summary")# return trial summary in plain text formateu.search("EFC14280","summary",True)# return trial summary in dicteu.search("covid","full",True)# return all trial full details with covid term in array of dict
Trial info
Get info for a trial by eudract id.
fromeudractimportEudracteu=Eudract()eu.info("2015-001314-10","summary",False)# return trial summary in plain text formateu.info("2015-001314-10","full",True)# return trial full in dict