Skip to content

mcs07/CIRpy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CIRpy

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

Introduction

CIRpy is a Python interface for the Chemical Identifier Resolver (CIR) by the CADD Group at the NCI/NIH.

CIR is a web service that will resolve any chemical identifier to another chemical representation. For example, you can pass it a chemical name and and request the corresponding SMILES string:

>>> import cirpy
>>> cirpy.resolve('Aspirin', 'smiles')
'C1=CC=CC(=C1C(O)=O)OC(C)=O'

CIRpy makes interacting with CIR through Python easy. There's no need to construct url requests and parse XML responses — CIRpy does all this for you.

Installation

Install CIRpy using:

pip install cirpy

Alternatively, try one of the other installation options.

Documentation

Full documentation is available at http://cirpy.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.

Acknowledgements

All of CIRpy's functionality relies on the fantastic CIR web service created by the CADD Group at the NCI/NIH.

License

CIRpy is licensed under the MIT license.