{ "info": { "author": "Christoph Ulshoefer", "author_email": "c@culshoefer.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "See source on GitHub: https://github.com/culshoefer/pyarxiv\n\n|buildstatus|\\ |Coverage Status|\n\npyarxiv\n=======\n\npyarxiv is a wrapper for the API of `Cornell University's famous\nrepository `__ for scientific papers.\n\nSupports Python 2.7, 3.3-3.6+\n\nInstallation\n------------\n\n.. code:: sh\n\n pip install pyarxiv\n\nFeatures\n--------\n\n- Query the arXiv API (atom feed) in your code\n- Use enums for arXiv categories\n- Download papers in your code as PDF TODO - Do the above in the\n commandline\n\nUsage\n-----\n\nCLI\n~~~\n\n.. code:: sh\n\n pyarxiv-cli download -h\n pyarxiv-cli query -h\n # will download a couple of papers with given ids to folder /home/user, name them according to their titles,\n # append their arxiv ids, and do not give progress feedback when each paper is downloaded\n pyarxiv-cli download 1703.00001 1703.00002v1 ... --target-folder=/home/user --use-title-for-filename --append-id --silent\n\n.. code:: sh\n\n # Queries for papers with \"Lorem\" in them, maximally gets 5 papers (default 100), authors Einstein and Zweistein\n # Other potential arguments are --abstract, --journalref and manualmode with --querystring\n pyarxiv-cli query --title=\"Lorem\" --max-results=5 --authors=\"A Einstein, B Zweistein\"\n\nYou can also chain commands:\n\n.. code:: sh\n\n pyarxiv-cli download $(pyarxiv-cli query --title=\"WaveNet\") --use-title-for-filename --append-id\n\nPython\n~~~~~~\n\n.. code:: python\n\n from pyarxiv import query, download_entries\n from pyarxiv.arxiv_categories import ArxivCategory, arxiv_category_map\n #query(max_results=100, ids=[], categories=[],\n # title='', authors='', abstract='', journal_ref='',\n # querystring='')\n entries = query(title='WaveNet') \n titles = map(lambda x: x['title'], entries)\n print(list(titles))\n\n\n #download_entries(entries_or_ids_or_uris=[], target_folder='.',\n # use_title_for_filename=False, append_id=False,\n # progress_callback=(lambda x, y: id))\n download_entries(entries)\n\n\n entries_with_category = query([ArxivCategory.cs_AI])\n print(arxiv_category_map(ArxivCategory.cs_AI))\n\n.. |buildstatus| image:: https://travis-ci.org/culshoefer/pyarxiv.svg?branch=master\n :target: https://travis-ci.org/culshoefer/pyarxiv\n.. |Coverage Status| image:: https://coveralls.io/repos/github/culshoefer/pyarxiv/badge.svg?branch=master\n :target: https://coveralls.io/github/culshoefer/pyarxiv?branch=master", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/culshoefer/pyarxiv/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyarxiv", "package_url": "https://pypi.org/project/pyarxiv/", "platform": "", "project_url": "https://pypi.org/project/pyarxiv/", "project_urls": { "Homepage": "https://github.com/culshoefer/pyarxiv/" }, "release_url": "https://pypi.org/project/pyarxiv/1.0.3.1/", "requires_dist": null, "requires_python": "", "summary": "Python Client Library and CLI client for the ArXiv.org API", "version": "1.0.3.1" }, "last_serial": 3240768, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "b3b26f340056c5a3296ce6693c624e75", "sha256": "6ebb5e2d5d90a930860d7b750817e041b5587b66dc606f086cff3df922f18018" }, "downloads": -1, "filename": "pyarxiv-1.0.tar.gz", "has_sig": false, "md5_digest": "b3b26f340056c5a3296ce6693c624e75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9650, "upload_time": "2017-10-10T22:57:23", "url": "https://files.pythonhosted.org/packages/d2/9b/aa4a056ee331d24967bd36a2530a60b52edf61c733c941864456fef33e1f/pyarxiv-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "459198489777417f5aeec5e38ff030c6", "sha256": "58ea8b3d06afcaf1e7a962d17426e2dd0b96706e385d8403dbbe4fcd579f8fff" }, "downloads": -1, "filename": "pyarxiv-1.0.1.tar.gz", "has_sig": false, "md5_digest": "459198489777417f5aeec5e38ff030c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9746, "upload_time": "2017-10-10T23:04:46", "url": "https://files.pythonhosted.org/packages/29/ae/1d55e6679d4502a386033cca53e4e0e9777878d94652a77bf1b6dada4b43/pyarxiv-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "5abe7e736f088785b3e78c3b4db7206f", "sha256": "72cf40229e602323e1ccfa8aacd1f4059c30d4cb56944ffd9ac25bc70d63a75a" }, "downloads": -1, "filename": "pyarxiv-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5abe7e736f088785b3e78c3b4db7206f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9753, "upload_time": "2017-10-10T23:06:33", "url": "https://files.pythonhosted.org/packages/77/8e/ef358d52afaacbd52e706f15bf08fb8df5d6da546554bed17e8f45f8d03d/pyarxiv-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "0660fa5c00689a274b01bfb9bd6a3662", "sha256": "850950d462fe56055211c55c4e860c44ad3ced7c465f0c33ddb31ec86bae5c1c" }, "downloads": -1, "filename": "pyarxiv-1.0.3.tar.gz", "has_sig": false, "md5_digest": "0660fa5c00689a274b01bfb9bd6a3662", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11023, "upload_time": "2017-10-10T23:09:45", "url": "https://files.pythonhosted.org/packages/12/51/5198356efcb0debe150c7454bf49e591e4ffc96dda948c6921941e5fb242/pyarxiv-1.0.3.tar.gz" } ], "1.0.3.1": [ { "comment_text": "", "digests": { "md5": "91dc4e1154c0a56a4214aba5b36a9ec0", "sha256": "51ab841b8e00c02d3c8612a035c89efec33305d2520200da335655d5494a0cde" }, "downloads": -1, "filename": "pyarxiv-1.0.3.1.tar.gz", "has_sig": false, "md5_digest": "91dc4e1154c0a56a4214aba5b36a9ec0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11031, "upload_time": "2017-10-10T23:19:17", "url": "https://files.pythonhosted.org/packages/59/e1/7f66ed8636f50d56b3b48f2f1bdaf312b9b37bab2eb147542ea1511e1960/pyarxiv-1.0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "91dc4e1154c0a56a4214aba5b36a9ec0", "sha256": "51ab841b8e00c02d3c8612a035c89efec33305d2520200da335655d5494a0cde" }, "downloads": -1, "filename": "pyarxiv-1.0.3.1.tar.gz", "has_sig": false, "md5_digest": "91dc4e1154c0a56a4214aba5b36a9ec0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11031, "upload_time": "2017-10-10T23:19:17", "url": "https://files.pythonhosted.org/packages/59/e1/7f66ed8636f50d56b3b48f2f1bdaf312b9b37bab2eb147542ea1511e1960/pyarxiv-1.0.3.1.tar.gz" } ] }