Eudract-py is a Python library for searching clinical trials on EUDRACT
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eudract-py-1.2.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for eudract_py-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | deba4e23c721ed81421b3c83250dc69d8247bdb053462d615c7f6541dba82231 |
|
MD5 | d8fc6e0622f4d13bca1522f47f4d6458 |
|
BLAKE2b-256 | d5b92256b5b8beeb7ec51fd4f892c43ae0b2c3c0469c77188c507e7bfe3df36c |