Skip to content

ws2543/PyUMLS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyUMLS

Python wrapper for UMLS REST API

Installation

To install, clone to your machine and add the cloned directory to your PYTHONPATH environment variable.

E.g., if you cloned into /home/someuser/PyUMLS, you would add the following to your .bashrc:

PYTHONPATH=${PYTHONPATH}:/home/someuser/PyUMLS

You can then use pyumls in Python via import pyumls or from pyumls import api.

Authentication

To use the UMLS REST API, you must have

  • A UTS account (sign up for one here)
  • An API key associated with your account (you can find this by going to the "My Profile" page and looking for the field labeled "API KEY")

This API key must be passed as an argument to all API calls, using the apikey parameter. E.g.,

from pyumls import api
x = api.getByCUI('C0009443', apikey='<your API key>')

About

Python wrapper for UMLS REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%