Skip to content

PaulinCharliquart/eudract-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI version GitHub license

eudract-py

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.

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

Trial info

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

Issues

Report issue here.

Contributing

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.

License

MIT