Eudract-py is a Python library for searching clinical trials on EUDRACT.
Use the package manager pip to install eudract-py:
pip install eudract-py
Search clinical trials and return summary or full protocol details.
from eudract import Eudract
eu = Eudract()
eu.search("EFC14280", "summary") # return trial summary in plain text format
eu.search("EFC14280", "summary", True) # return trial summary in dict
eu.search("covid", "full", True) # return all trial full details with covid term in array of dict
Get info for a trial by eudract id.
from eudract import Eudract
eu = Eudract()
eu.info("2015-001314-10", "summary", False) # return trial summary in plain text format
eu.info("2015-001314-10", "full", True) # return trial full in dict
Report issue here.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.