Python
Clone or download
Pull request Compare This branch is 99 commits ahead, 2 commits behind cameronneylon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chemspipy
docs
examples
requirements
tests
.bumpversion.cfg
.travis.yml
CHANGELOG.md
CONTRIBUTING.rst
LICENSE
MANIFEST.in
README.rst
environment.yml
setup.py

README.rst

ChemSpiPy

http://img.shields.io/pypi/v/ChemSpiPy.svg?style=flat http://img.shields.io/pypi/l/ChemSpiPy.svg?style=flat http://img.shields.io/travis/mcs07/ChemSpiPy/master.svg?style=flat http://img.shields.io/coveralls/mcs07/ChemSpiPy/master.svg?style=flat

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-SECURITY-TOKEN>')
>>> c1 = cs.get_compound(236)  # Specify compound by ChemSpider ID
>>> c2 = cs.search('benzene')  # Search using name, SMILES, InChI, InChIKey, etc.

Installation

Install ChemSpiPy using pip:

pip install chemspipy

Alternatively, try one of the other installation options.

Documentation

Full documentation is available at http://chemspipy.readthedocs.io.

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

Contribute

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

License

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.