Home > aids_info_python

aids_info_python

Aids_info_python is a project mainly written in Python, based on the BSD-3-Clause license.

Python wrapper for the AIDSinfo drug information API

AIDSinfo Python API Wrapper

A Python wrapper for the AIDSinfo drug information API.

AIDSinfo Documentation: http://www.aidsinfo.nih.gov/Other/rss.aspx

Usage

>>> from aidsinfo import DrugInfo
>>> info = DrugInfo()
>>> info.search('abacavir')
{'abacavir': {'data': 'here'}}

>>> info.search('combivir')
{'combivir': {'data': 'here'}}

>>> # You can also get back just the XML data.
... xml_data = info.search('combivir', output_format=None)

Copyright

Copyright (c) 2011 Code for America Laboratories.

See LICENSE for details.

Previous:CCombo