Skip to content

Commit

Permalink
Minor changes to README
Browse files Browse the repository at this point in the history
Removed hard link to 1.0 release, and changed `from pubchem import *` to import specific classes and functions.
  • Loading branch information
mcs07 committed Jan 6, 2014
1 parent 9e507a6 commit c461980
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A simple Python wrapper around the [PubChem PUG REST API](http://pubchem.ncbi.nl

pip install PubChemPy

**Option 2**: [Download the latest release](https://pypi.python.org/packages/source/P/PubChemPy/PubChemPy-1.0.tar.gz) and install yourself:
**Option 2**: [Download the latest release](https://github.com/mcs07/PubChemPy/releases/) and install yourself:

tar xzvf PubChemPy-1.0.tar.gz
cd PubChemPy-1.0
Expand All @@ -24,10 +24,10 @@ A simple Python wrapper around the [PubChem PUG REST API](http://pubchem.ncbi.nl

PubChemPy provides a variety of functions and classes that allow you to retrieve information from PubChem.

from pubchempy import *
from pubchempy import Compound, get_compounds

c = Compound.from_cid(1423)
cs = get_compounds('Aspirin', 'name')
comp = Compound.from_cid(1423)
comps = get_compounds('Aspirin', 'name')

## Substances and compounds

Expand Down

0 comments on commit c461980

Please sign in to comment.