PubChemPy


NamePubChemPy JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/mcs07/PubChemPy
SummaryA simple Python wrapper around the PubChem PUG REST API.
upload_time2017-04-11 18:36:23
maintainer
docs_urlNone
authorMatt Swain
requires_python
licenseMIT
keywords pubchem python rest api chemistry cheminformatics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            PubChemPy
=========

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

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

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

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

PubChemPy provides a way to interact with PubChem in Python. It allows chemical searches by name, substructure and
similarity, chemical standardization, conversion between chemical file formats, depiction and retrieval of chemical
properties.

.. code:: python

    >>> from pubchempy import get_compounds, Compound
    >>> comp = Compound.from_cid(1423)
    >>> print(comp.isomeric_smiles)
    CCCCCCCNC1CCCC1CCCCCCC(=O)O
    >>> comps = get_compounds('Aspirin', 'name')
    >>> print(comps[0].xlogp)
    1.2


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

Install PubChemPy using:

::

    pip install pubchempy

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

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

Full documentation is available at http://pubchempy.readthedocs.io.

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

PubChemPy is licensed under the `MIT license`_.

.. _`installation options`: http://pubchempy.readthedocs.io/en/latest/guide/install.html
.. _`source code`: https://github.com/mcs07/PubChemPy
.. _`Issue Tracker`: https://github.com/mcs07/PubChemPy/issues
.. _`MIT license`: https://github.com/mcs07/PubChemPy/blob/master/LICENSE
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mcs07/PubChemPy",
    "name": "PubChemPy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pubchem python rest api chemistry cheminformatics",
    "author": "Matt Swain",
    "author_email": "m.swain@me.com",
    "download_url": "https://files.pythonhosted.org/packages/aa/fb/8de3aa9804b614dbc8dc5c16ed061d819cc360e0ddecda3dcd01c1552339/PubChemPy-1.0.4.tar.gz",
    "platform": "UNKNOWN",
    "description": "PubChemPy\n=========\n\n.. image:: http://img.shields.io/pypi/v/PubChemPy.svg?style=flat\n    :target: https://pypi.python.org/pypi/PubChemPy\n\n.. image:: http://img.shields.io/pypi/l/PubChemPy.svg?style=flat\n    :target: https://github.com/mcs07/PubChemPy/blob/master/LICENSE\n\n.. image:: http://img.shields.io/travis/mcs07/PubChemPy/master.svg?style=flat\n    :target: https://travis-ci.org/mcs07/PubChemPy\n\n.. image:: http://img.shields.io/coveralls/mcs07/PubChemPy/master.svg?style=flat\n    :target: https://coveralls.io/r/mcs07/PubChemPy?branch=master\n\nPubChemPy provides a way to interact with PubChem in Python. It allows chemical searches by name, substructure and\nsimilarity, chemical standardization, conversion between chemical file formats, depiction and retrieval of chemical\nproperties.\n\n.. code:: python\n\n    >>> from pubchempy import get_compounds, Compound\n    >>> comp = Compound.from_cid(1423)\n    >>> print(comp.isomeric_smiles)\n    CCCCCCCNC1CCCC1CCCCCCC(=O)O\n    >>> comps = get_compounds('Aspirin', 'name')\n    >>> print(comps[0].xlogp)\n    1.2\n\n\nInstallation\n------------\n\nInstall PubChemPy using:\n\n::\n\n    pip install pubchempy\n\nAlternatively, try one of the other `installation options`_.\n\nDocumentation\n-------------\n\nFull documentation is available at http://pubchempy.readthedocs.io.\n\nContribute\n----------\n\n-  Feature ideas and bug reports are welcome on the `Issue Tracker`_.\n-  Fork the `source code`_ on GitHub, make changes and file a pull request.\n\nLicense\n-------\n\nPubChemPy is licensed under the `MIT license`_.\n\n.. _`installation options`: http://pubchempy.readthedocs.io/en/latest/guide/install.html\n.. _`source code`: https://github.com/mcs07/PubChemPy\n.. _`Issue Tracker`: https://github.com/mcs07/PubChemPy/issues\n.. _`MIT license`: https://github.com/mcs07/PubChemPy/blob/master/LICENSE",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple Python wrapper around the PubChem PUG REST API.",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://github.com/mcs07/PubChemPy"
    },
    "split_keywords": [
        "pubchem",
        "python",
        "rest",
        "api",
        "chemistry",
        "cheminformatics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aafb8de3aa9804b614dbc8dc5c16ed061d819cc360e0ddecda3dcd01c1552339",
                "md5": "95343bfd5304e5f660b67de61dea33c1",
                "sha256": "24e9dc2fc90ab153b2764bf805e510b1410700884faf0510a9e7cf0d61d8ed0e"
            },
            "downloads": -1,
            "filename": "PubChemPy-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "95343bfd5304e5f660b67de61dea33c1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 29767,
            "upload_time": "2017-04-11T18:36:23",
            "upload_time_iso_8601": "2017-04-11T18:36:23.649752Z",
            "url": "https://files.pythonhosted.org/packages/aa/fb/8de3aa9804b614dbc8dc5c16ed061d819cc360e0ddecda3dcd01c1552339/PubChemPy-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2017-04-11 18:36:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mcs07",
    "github_project": "PubChemPy",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pubchempy"
}
        
Elapsed time: 0.48140s