Skip to main content

Wormbase/PudMed API Access

Project description

pub_worm

Wormbase

API integration of Wormbase and NCBI Utils

  • Call from the commandline
  • $PYTHONPATH="./src" python -m pub_worm.wormbase.WormbaseREST

Helpful Sites

ncbi_utils

eInfo

eSearch

Search nlmcatalog only get pubmed journals

eSummary

eFetch

Pull Article

        efetch_params = {
            "db": "pubmed",
            "id": ",".join(papers),  # Join IDs with comma
            "retmode": "json",
            "rettype": "abstract"
        }

Pytest

  • Run a specific test from the command line
  • cd /Users/dan/Code/Python/pub_worm/tests
  • export PYTHONPATH=..;python -m pytest ncbi/test_entreze_api.py::test_entreze_esearch

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

pub_worm-0.3.14.tar.gz (397.8 kB view details)

Uploaded Source

File details

Details for the file pub_worm-0.3.14.tar.gz.

File metadata

  • Download URL: pub_worm-0.3.14.tar.gz
  • Upload date:
  • Size: 397.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pub_worm-0.3.14.tar.gz
Algorithm Hash digest
SHA256 f0f306dee1fdb290a0bc95cd18c404d8a5e51ddef04d060241688750ba9f11e0
MD5 745bdda2795a2d6d00d7d57681496e34
BLAKE2b-256 7f889b6c038faacd7806ec013840d180c8428a718c9fd72ef87e600dfa8cff5c

See more details on using hashes here.

Supported by

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