File: README.rst

package info (click to toggle)
python-chemspipy 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: python: 1,125; makefile: 14
file content (63 lines) | stat: -rw-r--r-- 2,176 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
ChemSpiPy
=========

.. image:: https://img.shields.io/pypi/v/ChemSpiPy.svg?style=flat
    :target: https://pypi.python.org/pypi/ChemSpiPy

.. image:: https://img.shields.io/pypi/l/ChemSpiPy.svg?style=flat
    :target: https://github.com/mcs07/ChemSpiPy/blob/master/LICENSE

.. image:: https://img.shields.io/travis/mcs07/ChemSpiPy/master.svg?style=flat
    :target: https://travis-ci.org/mcs07/ChemSpiPy

.. image:: https://img.shields.io/coveralls/mcs07/ChemSpiPy/master.svg?style=flat
    :target: https://coveralls.io/r/mcs07/ChemSpiPy?branch=master

ChemSpiPy provides a way to interact with ChemSpider in Python. It allows chemical searches, chemical file downloads,
depiction and retrieval of chemical properties::

    >>> from chemspipy import ChemSpider
    >>> cs = ChemSpider('<YOUR-API-KEY>')
    >>> c1 = cs.get_compound(236)  # Specify compound by ChemSpider ID
    >>> c2 = cs.search('benzene')  # Search using name, SMILES, InChI, InChIKey, etc.

Installation
------------

Install ChemSpiPy using conda::

    conda install -c conda-forge chemspipy


or using pip::

    pip install chemspipy

Alternatively, try one of the other `installation options`_.

Documentation
-------------

Full documentation is available at https://chemspipy.readthedocs.io/en/stable/.

The `general documentation for the ChemSpider API`_ is also a useful resource.

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

ChemSpiPy is licensed under the `MIT license`_.

This project was originally forked from `ChemSpiPy by Cameron Neylon`_, which has been released into the public domain.

.. _`installation options`: https://chemspipy.readthedocs.io/en/stable/guide/install.html
.. _`source code`: https://github.com/mcs07/ChemSpiPy
.. _`Issue Tracker`: https://github.com/mcs07/ChemSpiPy/issues
.. _`MIT license`: https://github.com/mcs07/ChemSpiPy/blob/master/LICENSE
.. _`ChemSpiPy by Cameron Neylon`: https://github.com/cameronneylon/ChemSpiPy
.. _`general documentation for the ChemSpider API`: https://developer.rsc.org/compounds-v1/apis