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.
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
File details
Details for the file PubChemPy-1.0.2.tar.gz
.
File metadata
- Download URL: PubChemPy-1.0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46fac98e137f207162f7ac8915d9c42db1b8996e451d4a603169ea1d582d459 |
|
MD5 | d50d43686956e049e7a6d572c25d3384 |
|
BLAKE2b-256 | 64c4a48c7b8716c1a2863c962adad4baae63a8050d6cd95597641479d16631c3 |