Skip to main content

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.

Alternatives: - biopython.Entrez - entrezpy

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

easy_entrez-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file easy_entrez-0.1.0.tar.gz.

File metadata

  • Download URL: easy_entrez-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 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

Hashes for easy_entrez-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5305bc98ee896149e4aa3d9950ca27f0c0a4092f3e9860dcbdc8fe2c812dec43
MD5 86ca5ac4268007220397c03d6d5451c9
BLAKE2b-256 3388aa11d7b235ccd58ba5ffc0a277a322922fff029766b21e5f02feb0f20f99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page