Skip to main content

Python wrapper for DIMEdbs REST API.

Project description

dimedbpy: Python wrapper for the DIMEdb REST API

Project Status: Active - The project has reached a stable, usable state and is being actively developed. PyPI - Python Version PyPI PyPI - License PyPI - Status Build Status

dimedbpy provides a way to interact with the DIMEdb web service in Python. It provides metabolite queries by name, structure, and isotope 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.isotopic_distributions)

Resources

License

Code released under the MIT license.

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

dimedbpy-0.1.2.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

dimedbpy-0.1.2-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

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