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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycomchem-0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pycomchem-0.3.tar.gz.

File metadata

  • Download URL: pycomchem-0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.10 Linux/5.15.0-1034-azure

File hashes

Hashes for pycomchem-0.3.tar.gz
Algorithm Hash digest
SHA256 8089c21785dd7ef0098d7b2955beea2718ddb975df7f8c70c754e4c94ad8b340
MD5 da067a0f6df066011d5e77a395b2dc60
BLAKE2b-256 62bef0d0869e5f70b64cd68694ba9a86fe2daf8e40a77e2ddb54c3a5ca3bcc44

See more details on using hashes here.

File details

Details for the file pycomchem-0.3-py3-none-any.whl.

File metadata

  • Download URL: pycomchem-0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.10 Linux/5.15.0-1034-azure

File hashes

Hashes for pycomchem-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 83a82850f0c94e2ddc97a18fe2f799e6fb641f3f5d64558f807f3573f69f488d
MD5 bec5fac748ebc55711b52d7a6ddc9a33
BLAKE2b-256 876675417d74bb1d7a53ccf296bc1273e271161c7c5817741d5b95d5f0582daa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page