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.2.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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pycomchem-0.2.tar.gz
Algorithm Hash digest
SHA256 2a5ff0730213decf0a3bc2687c6b66b9b3ab9d606c6d2b800b8a79e1d6970a90
MD5 ae831f7ff2556713d1579b096effb6b7
BLAKE2b-256 9a5b29bb2159fe7f7afb1c12cf64a4097f4a14dbba77ecd864bb97c7a806863a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycomchem-0.2-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.9.16 Linux/5.15.0-1024-azure

File hashes

Hashes for pycomchem-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 504fc848be9cd3dc17b06938e24be8aaa1cf21496d145e7958f128e8cc543c33
MD5 feb36eb54bfc2910d97868a7036ee95b
BLAKE2b-256 01f30afdc9b14174afc54916f319d0cdf1f5bcab678464033df4f56dfe4bf410

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