Skip to main content

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

Project description

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.

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

CIRpy-1.0.2.tar.gz (20.3 kB view details)

Uploaded Source

File details

Details for the file CIRpy-1.0.2.tar.gz.

File metadata

  • Download URL: CIRpy-1.0.2.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for CIRpy-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b08c1483779e1c8fa6a5da7e383138a33e8396b31f56d827a3bca7c83e689c16
MD5 79708fe8bd6ed980954e199d09b875bf
BLAKE2b-256 fcbc3d7cb58ba6ffcde0d18d3f0e72a22caffe7741485bd1d286fd10d6a9a397

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page