Skip to content

Averhv/PubChemPy

This branch is up to date with mcs07/PubChemPy:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e3c4f4a · Apr 11, 2017
Apr 11, 2017
Oct 11, 2015
Apr 11, 2017
Apr 11, 2017
Apr 11, 2017
Apr 11, 2017
Apr 11, 2017
Feb 1, 2014
Mar 7, 2015
Jun 5, 2016
Apr 11, 2017
Apr 11, 2017

Repository files navigation

PubChemPy

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

PubChemPy provides a way to interact with PubChem in Python. It allows chemical searches by name, substructure and similarity, chemical standardization, conversion between chemical file formats, depiction and retrieval of chemical properties.

>>> from pubchempy import get_compounds, Compound
>>> comp = Compound.from_cid(1423)
>>> print(comp.isomeric_smiles)
CCCCCCCNC1CCCC1CCCCCCC(=O)O
>>> comps = get_compounds('Aspirin', 'name')
>>> print(comps[0].xlogp)
1.2

Installation

Install PubChemPy using:

pip install pubchempy

Alternatively, try one of the other installation options.

Documentation

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

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

PubChemPy is licensed under the MIT license.

About

Python wrapper for the PubChem PUG REST API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%