Skip to main content

Python library for accessing the CommonChemistry.org API

Project description

pyComChem

A Python package to access data via the CommonChemistry.org API.

A revised version of the CommonChemistry website, originally at commonchemistry.org, has been redeveloped into a much larger (~500K) database of CAS Registry Numbers and now includes an API for programmatic access.

This package provides access to the API to search the database and extract chemical metadata, images, and mol files.

Currently available commands are:

  • query - search either and exact string or substring
  • detail - full metadata retrieval
  • key2cas - specialized function to return the CAS Registry Number of a compound from its InChIKey
  • chemimg - download structural images an .svg, .png, or .ps files

Future improvements will include

  • molfile - download the mol file of a compound
  • additional specialized functions

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

pycomchem-0.3.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

pycomchem-0.3-py3-none-any.whl (4.3 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