Skip to main content

Python wrapper for the NCI Chemical Identifier Resolver (CIR).

Project description


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')

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.


Install CIRpy using:

pip install cirpy

Alternatively, try one of the other installation options.


Full documentation is available at


  • Feature ideas and bug reports are welcome on the Issue Tracker.
  • Fork the source code on GitHub, make changes and file a pull request.


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


CIRpy is licensed under the MIT license.

Download files

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

Files for CIRpy, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size CIRpy-1.0.1.tar.gz (20.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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