{ "info": { "author": "Vincent Russo", "author_email": "vincentrusso1@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5" ], "description": "scirate\n------------\n\nPython wrapper for extracting information from Scirate :microscope:\n\n|Build Status| |Documentation Status| |Coverage Status| |Latest Version| \n|Supported Python versions| |License|\n\n.. image:: https://i.imgur.com/QONau8z.png?1\n :width: 100\n :height: 100\n\nThis package provides a Python interface for the `Scirate website `__.\n\nDependencies\n------------\n\nThis package depends on the following packages:\n\n- bs4\n- lxml\n- requests\n\nThey can be installed using ``pip``.\n\n::\n\n sudo pip install -r requirements.txt\n\nIf you want to contribute to this package, you will need the ``nose`` package as well.\n\nInstallation\n------------\nThe preferred way to install the ``scirate`` package is via ``pip``\n\n::\n\n sudo pip install scirate\n\n\nAlternatively to install, you may also run the following command from the top-level package\ndirectory.\n\n::\n\n sudo python setup.py install\n\n\nExamples\n--------\n\nThis package provides a Python interface for interfacing with the Scirate\nwebsite. Here are a few examples demonstrating how to access data on \nScirate.\n\nClients\n~~~~~~~\nIn order to interface with the content on Scirate, we start off my \ncreating a client. This client will be responsible for requesting\ninformation from Scirate and will serve as the intermediary for \nrequesting and obtaining data.\n\n.. code:: python\n\n from scirate.client import ScirateClient\n \n client = ScirateClient()\n\n\nPapers\n~~~~~~\n\nLet us access a paper on Scirate via the arXiv identifier. Say we want to\naccess information via Scirate on the following `listing 1509.01147 `__.\n\nWe can grab some of the basic information, such as the authors, title, abstract, arXiv category, \netc.\n\n.. code:: python\n\n >>> from scirate.paper import SciratePaper\n >>> paper = client.paper(\"1509.01147\")\n >>> \"The Information Paradox for Black Holes\"\n >>> paper.authors\n >>> ['S. W. Hawking']\n >>> paper.abstract[0:50]\n >>> \"I propose that the information loss paradox can be\"\n >>> paper.category\n >>> \"hep-th\"\n\nWe can also grab some of the more Scirate-specific metrics. Such as the number of\nscites for a given article, who scited the article, etc.\n\n.. code:: python\n\n >>> paper.scites\n >>> 6\n >>> paper.scitors\n >>> ['Andrew Childs', 'Jonny', 'Mehdi Ahmadi', 'Noon van der Silk', 'Ryan L. Mann', 'Tom Wong']\n \nConsult the documentation for further examples of information that can be obtained\nfrom a paper. \n \nAuthors\n~~~~~~~\n\nYou can get information about an author as well.\n\n.. code:: python\n\n >>> from scirate.author import ScirateAuthor\n >>> author = client.author(\"Terrance\", \"Tao\", \"math.CO\")\n >>> author\n >>> \"Terrance Tao\"\n >>> author.papers[0]\n >>> \"An inverse theorem for an inequality of Kneser\"\n >>> author.arxiv_ids[0]\n >>> \"1711.04337\"\n\nUsing the arXiv identifier along with what we did in the Papers\nsection, we can obtain further information about that paper if \nwe wish\n\n.. code:: python\n\n >>> paper = client.paper(author.arxiv_ids[0])\n >>> paper.scites\n >>> 0\n \nNote that the mathematician Terrance Tao published on multiple arXiv \ncategories. We can look up his papers under the math.NT category as \nwell.\n\n.. code:: python\n\n >>> author = client.author(\"Terrance\", \"Tao\", \"math.NT\")\n >>> author.papers[0]\n >>> \"Long gaps in sieved sets\"\n >>> author.category\n >>> math.NT\n \nCategories\n~~~~~~~~~~\n\nOne may also wish to look at papers under various arXiv identifier\nlistings on Scirate. For instance, one may wish to find all of the \npapers posted under the 'quant-ph' category posted on September 7, 2017.\n\n.. code:: python\n\n >>> from scirate.category import ScirateCategory\n >>> category = client.category(\"quant-ph\", \"09-07-2017\")\n >>> category.papers[0:2]\n >>> ['Quantum Advantage from Conjugated Clifford Circuits', 'Extended Nonlocal Games from Quantum-Classical Games']\n\nDocumentation\n-------------\n\nRead more about this package\n`here `__.\n\n\nContribution\n------------\n\nIf you find an API method that is not supported by this package, feel\nfree to create a Github issue. Also, you are more than welcome to submit\na pull request for a bug fix or additional feature.\n\n\nLicense\n-------\n\n`MIT License `__\n\n.. |Build Status| image:: http://img.shields.io/travis/vprusso/scirate.svg\n :target: https://travis-ci.org/vprusso/scirate\n.. |Coverage Status| image:: http://img.shields.io/coveralls/vprusso/scirate.svg\n :target: https://coveralls.io/r/vprusso/scirate\n.. |Documentation Status| image:: https://readthedocs.org/projects/scirate/badge/?version=latest\n :target: https://readthedocs.org/projects/scirate/?badge=latest \n.. |Latest Version| image:: https://img.shields.io/pypi/v/scirate.svg\n :target: https://pypi.python.org/pypi/scirate/\n.. |Supported Python versions| image:: https://img.shields.io/pypi/pyversions/scirate.svg\n :target: https://pypi.python.org/pypi/scirate/\n.. |License| image:: https://img.shields.io/pypi/l/scirate.svg\n :target: https://pypi.python.org/pypi/scirate/", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vprusso/scirate", "keywords": "scirate,scirate API,scirate python", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "scirate", "package_url": "https://pypi.org/project/scirate/", "platform": "", "project_url": "https://pypi.org/project/scirate/", "project_urls": { "Homepage": "https://github.com/vprusso/scirate" }, "release_url": "https://pypi.org/project/scirate/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for extracting content from Scirate.", "version": "0.1.0" }, "last_serial": 3785346, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3e235f63f38f831ed6ffe059ea1116f4", "sha256": "4fb9f873cf1cb2d7f69927717f719d76dbf599a70b31a45b832fe675f5d715a2" }, "downloads": -1, "filename": "scirate-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3e235f63f38f831ed6ffe059ea1116f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5264, "upload_time": "2018-04-15T20:18:35", "url": "https://files.pythonhosted.org/packages/e9/54/5405b7c0f63d413ecfa67c386434a6a91c8becad9d503a8b546000828b53/scirate-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "27e4dfec23aa55f5835630e86d887355", "sha256": "03b16f2afb8f17051ebf491676e91fdb88d98445dd0490a6d4dbfa26a7f183ca" }, "downloads": -1, "filename": "scirate-0.0.2.tar.gz", "has_sig": false, "md5_digest": "27e4dfec23aa55f5835630e86d887355", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8139, "upload_time": "2018-04-16T01:19:47", "url": "https://files.pythonhosted.org/packages/bf/78/e5b29897e44f4f85dc25cd8180d3d2cd9edb0a8b453d68c2dc2f9d0e2739/scirate-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8548d2dfca14c1a359ddbd241ea1abb8", "sha256": "bedc5260275eea79126583639422a5c5dcf40ed6ea02594869c5945966b60d6c" }, "downloads": -1, "filename": "scirate-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8548d2dfca14c1a359ddbd241ea1abb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8444, "upload_time": "2018-04-17T22:51:28", "url": "https://files.pythonhosted.org/packages/c1/31/f2dfb15fc94325725b2a7ccf11e06378cd32206cf963e2532d779189aa80/scirate-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "c90027f876cf5ca65074ffdc82f0def1", "sha256": "07f43a36c16f81dfed6dc11b2bdcfcb9577b044608e85af7320f29fe5874f223" }, "downloads": -1, "filename": "scirate-0.0.4.tar.gz", "has_sig": false, "md5_digest": "c90027f876cf5ca65074ffdc82f0def1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8445, "upload_time": "2018-04-17T22:53:19", "url": "https://files.pythonhosted.org/packages/6f/3b/dc420272d2afb3a5c1809bd2eee94017dc2dd9bb4c6563b95d292591259f/scirate-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "860be1dfc9272bb29152d204875bedb3", "sha256": "5a71ef18b28d24afd768a94a3d717cc17b0db5259eab5bb0d8f344d09a7c3e3f" }, "downloads": -1, "filename": "scirate-0.0.5.tar.gz", "has_sig": false, "md5_digest": "860be1dfc9272bb29152d204875bedb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9133, "upload_time": "2018-04-17T22:57:32", "url": "https://files.pythonhosted.org/packages/5a/b4/8cb05c47cf3240d22386f82555d534f4373892a9430809054122c81a534e/scirate-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "cd8a8b8e21de6c14a47bdf93e6dacafc", "sha256": "f398c1f1b1d9a669692aade335ea87f1cf024dd496a2c80b3f79a241537264fb" }, "downloads": -1, "filename": "scirate-0.0.6.tar.gz", "has_sig": false, "md5_digest": "cd8a8b8e21de6c14a47bdf93e6dacafc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9126, "upload_time": "2018-04-17T22:59:07", "url": "https://files.pythonhosted.org/packages/d5/93/b7111283d3e39b0cd2d786ebd04d16472b33a4766e67f0dd75ceb1c6817d/scirate-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "3f1e237b97315a215f27749141670084", "sha256": "3a24b79bc6d5b2766a407bcc5a5f0f30e5ff756e134e451e9f0ebbd97678b078" }, "downloads": -1, "filename": "scirate-0.0.7.tar.gz", "has_sig": false, "md5_digest": "3f1e237b97315a215f27749141670084", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9128, "upload_time": "2018-04-17T23:01:09", "url": "https://files.pythonhosted.org/packages/e6/50/de22c21dc2ddfc55b244026d8ee140eb1b2979f40386d5399e1529e6b647/scirate-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "1634d737c83f6662bd470f15140f54a9", "sha256": "9ca7fa7f38f70c5cf817aa8c2517245c8ac8d57a9c6dde92186ec78bccb26dfb" }, "downloads": -1, "filename": "scirate-0.0.8.tar.gz", "has_sig": false, "md5_digest": "1634d737c83f6662bd470f15140f54a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9118, "upload_time": "2018-04-17T23:09:59", "url": "https://files.pythonhosted.org/packages/9d/97/09cd574027ae9c4b059066f4bc5af99ad93164305cf3a2cf2d0ade4b688b/scirate-0.0.8.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "198e1bfcd5d87c43c8b6f18f40bd09a3", "sha256": "86dcade52c7e6eefff4650c518c0e4b1be51ec5c6d0b4e7e5fdbb87f509ceba9" }, "downloads": -1, "filename": "scirate-0.1.0.tar.gz", "has_sig": false, "md5_digest": "198e1bfcd5d87c43c8b6f18f40bd09a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8428, "upload_time": "2018-04-20T17:52:02", "url": "https://files.pythonhosted.org/packages/1f/9e/f54383f8bb47fbea9cd7d535ca78a40722068bd176e6d8eac9f0a6ed9a4b/scirate-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "198e1bfcd5d87c43c8b6f18f40bd09a3", "sha256": "86dcade52c7e6eefff4650c518c0e4b1be51ec5c6d0b4e7e5fdbb87f509ceba9" }, "downloads": -1, "filename": "scirate-0.1.0.tar.gz", "has_sig": false, "md5_digest": "198e1bfcd5d87c43c8b6f18f40bd09a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8428, "upload_time": "2018-04-20T17:52:02", "url": "https://files.pythonhosted.org/packages/1f/9e/f54383f8bb47fbea9cd7d535ca78a40722068bd176e6d8eac9f0a6ed9a4b/scirate-0.1.0.tar.gz" } ] }