Python REST API for Entrez E-Utilities: stateless, easy to use, reliable.
Project description
Goal: Create Python REST API for Entrez E-Utilities, which will be easy to use and reliable, but limited in scope (no stateful/history queries).
Stats: Beta
from easy_entrez import EntrezAPI
entrez_api = EntrezAPI(
'your-tool-name',
'e@mail.com',
# optional
return_type='json'
)
# find up to 10 000 results for cancer in human
result = entrez_api.search('cancer AND human[organism]', max_results=10_000)
# data will be populated with JSON or XML (depending on the `return_type` value)
result.data
See more in the Demo notebook.
Installation
Requires Python 3.6+. Install with:
pip install easy-entrez
Alternatives:
entrezpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easy_entrez-0.1.1.tar.gz
(7.8 kB
view details)
File details
Details for the file easy_entrez-0.1.1.tar.gz
.
File metadata
- Download URL: easy_entrez-0.1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a0c49cefdaec52ca48e1ae31e36877d580a84f659b6646c4a6bdb41c2a6ea83 |
|
MD5 | cba49be01e73b16f4b3064a56134063a |
|
BLAKE2b-256 | f2cd496ad245f991e56240ff6ec9d75aecc57f80387ae00f339fc58bbe5e3aff |