dimedbpy: Python wrapper for the DIMEdb REST API
dimedbpy provides a way to interact with the DIMEdb web service in Python. It provides metabolite queries by name, structure, and adduct information.
Here's a quick example, showing how to retrieve metabolites by its name:
from dimedbpy import get_metabolites
metabolites = get_metabolites("name", "Caffeine")
for metabolite in metabolites:
print metabolite.adducts
Resources
License
Code released under the MIT license.