Skip to main content
Help us improve Python packaging – donate today!

A simple Python wrapper around the PubChem PUG REST API.

Project Description

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

comps = get_compounds('Aspirin', 'name')
print comps[0].xlogp

Installation

Install PubChemPy using:

pip install pubchempy

Alternatively, try one of the other installation options.

Documentation

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

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.

Release history Release notifications

History Node

1.0.4

History Node

1.0.3

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
PubChemPy-1.0.2.tar.gz (12.3 kB) Copy SHA256 hash SHA256 Source None Apr 2, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page