Skip to main content

A simple Python wrapper around the ChemSpider Web Services.

Project description

ChemSpiPy provides a way to interact with ChemSpider in Python. It allows chemical searches, chemical file downloads, depiction and retrieval of chemical properties:

>>> from chemspipy import ChemSpider
>>> cs = ChemSpider('<YOUR-API-KEY>')
>>> c1 = cs.get_compound(236)  # Specify compound by ChemSpider ID
>>> c2 ='benzene')  # Search using name, SMILES, InChI, InChIKey, etc.


Install ChemSpiPy using conda:

conda install -c conda-forge chemspipy

or using pip:

pip install chemspipy

Alternatively, try one of the other installation options.


Full documentation is available at

The general documentation for the ChemSpider API is also a useful resource.


  • Feature ideas and bug reports are welcome on the Issue Tracker.
  • Fork the source code on GitHub, make changes and file a pull request.


ChemSpiPy is licensed under the MIT license.

This project was originally forked from ChemSpiPy by Cameron Neylon, which has been released into the public domain.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ChemSpiPy, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size ChemSpiPy-2.0.0.tar.gz (29.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page