{ "info": { "author": "Michael F. Covington", "author_email": "mfcovington@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3 :: Only" ], "description": "*************\npubmed-lookup\n*************\n\n\n.. image:: https://badge.fury.io/py/pubmed-lookup.svg\n :target: http://badge.fury.io/py/pubmed-lookup\n :alt: PyPI Version\n\n.. image:: https://travis-ci.org/mfcovington/pubmed-lookup.svg?branch=master\n :target: https://travis-ci.org/mfcovington/pubmed-lookup\n :alt: Build Status\n\n.. image:: https://coveralls.io/repos/mfcovington/pubmed-lookup/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/mfcovington/pubmed-lookup?branch=master\n :alt: Test Coverage\n\n.. image:: https://landscape.io/github/mfcovington/pubmed-lookup/master/landscape.svg?style=flat\n :target: https://landscape.io/github/mfcovington/pubmed-lookup/master\n :alt: Code Health\n\n``pubmed-lookup`` is a Python package to lookup PubMed records and make Publication objects with info about a scientific publication.\n\nSource code is available on GitHub at `mfcovington/pubmed-lookup `_.\n\n.. contents:: :local:\n\n\nInstallation\n============\n\n**PyPI**\n\n.. code-block:: sh\n\n pip install pubmed-lookup\n\n**GitHub (development branch)**\n\n.. code-block:: sh\n\n pip install git+http://github.com/mfcovington/pubmed-lookup.git@develop\n\n\nUsage\n=====\n\n- Retrieve a PubMed record:\n\n .. code-block:: python\n\n from pubmed_lookup import PubMedLookup\n\n # NCBI will contact user by email if excessive queries are detected\n email = ''\n url = 'http://www.ncbi.nlm.nih.gov/pubmed/22331878'\n lookup = PubMedLookup(url, email)\n\n\n- Create a Publication object:\n\n .. code-block:: python\n\n from pubmed_lookup import Publication\n \n publication = Publication(lookup) # Use 'resolve_doi=False' to keep DOI URL\n\n\n- Access the Publication object's attributes:\n\n .. code-block:: python\n \n print(\n \"\"\"\n TITLE:\\n{title}\\n\n AUTHORS:\\n{authors}\\n\n JOURNAL:\\n{journal}\\n\n YEAR:\\n{year}\\n\n MONTH:\\n{month}\\n\n DAY:\\n{day}\\n\n URL:\\n{url}\\n\n PUBMED:\\n{pubmed}\\n\n CITATION:\\n{citation}\\n\n MINICITATION:\\n{mini_citation}\\n\n ABSTRACT:\\n{abstract}\\n\n \"\"\"\n .format(**{\n 'title': publication.title,\n 'authors': publication.authors,\n 'journal': publication.journal,\n 'year': publication.year,\n 'month': publication.month,\n 'day': publication.day,\n 'url': publication.url,\n 'pubmed': publication.pubmed_url,\n 'citation': publication.cite(),\n 'mini_citation': publication.cite_mini(),\n 'abstract': repr(publication.abstract),\n }))\n\n\n- Output of example:\n\n TITLE:\n Arabidopsis synchronizes jasmonate-mediated defense with insect circadian behavior.\n \n AUTHORS:\n Goodspeed D, Chehab EW, Min-Venditti A, Braam J, Covington MF\n \n JOURNAL:\n Proc Natl Acad Sci U S A\n \n YEAR:\n 2012\n \n MONTH:\n 3\n \n DAY:\n 20\n \n URL:\n http://www.pnas.org/content/109/12/4674\n \n PUBMED:\n http://www.ncbi.nlm.nih.gov/pubmed/22331878\n \n CITATION:\n Goodspeed D, Chehab EW, Min-Venditti A, Braam J, Covington MF (2012). Arabidopsis synchronizes jasmonate-mediated defense with insect circadian behavior. Proc Natl Acad Sci U S A 109(12): 4674-7.\n \n MINICITATION:\n Goodspeed D - Covington MF - 2012 - Proc Natl Acad Sci U S A\n \n ABSTRACT:\n Diverse life forms have evolved internal clocks enabling them to monitor time and thereby anticipate the daily environmental changes caused by Earth's rotation. The plant circadian clock regulates expression of about one-third of the Arabidopsis genome, yet the physiological relevance of this regulation is not fully understood. Here we show that the circadian clock, acting with hormone signals, provides selective advantage to plants through anticipation of and enhanced defense against herbivory. We found that cabbage loopers (Trichoplusia ni) display rhythmic feeding behavior that is sustained under constant conditions, and plants entrained in light/dark cycles coincident with the entrainment of the T. ni suffer only moderate tissue loss due to herbivory. In contrast, plants entrained out-of-phase relative to the insects are significantly more susceptible to attack. The in-phase entrainment advantage is lost in plants with arrhythmic clocks or deficient in jasmonate hormone; thus, both the circadian clock and jasmonates are required. Circadian jasmonate accumulation occurs in a phase pattern consistent with preparation for the onset of peak circadian insect feeding behavior, providing evidence for the underlying mechanism of clock-enhanced herbivory resistance. Furthermore, we find that salicylate, a hormone involved in biotrophic defense that often acts antagonistically to jasmonates, accumulates in opposite phase to jasmonates. Our results demonstrate that the plant circadian clock provides a strong physiological advantage by performing a critical role in Arabidopsis defense.\"\n\n\nCommand-Line Tools\n==================\n\npubmed-citation\n---------------\n\n- Get a PubMed record's citation (both give same result):\n\n .. code-block:: sh\n\n pubmed-citation 22331878\n pubmed-citation http://www.ncbi.nlm.nih.gov/pubmed/22331878\n\n\n- Output of example:\n\n Goodspeed D, Chehab EW, Min-Venditti A, Braam J, Covington MF (2012). Arabidopsis synchronizes jasmonate-mediated defense with insect circadian behavior. Proc Natl Acad Sci U S A 109(12): 4674-7.\n\n- Output of example (using ``--mini`` option):\n\n Goodspeed D - Covington MF - 2012 - Proc Natl Acad Sci U S A\n\n\npubmed-url\n----------\n\n- Get a PubMed record's url (both give same result):\n\n .. code-block:: sh\n \n pubmed-url 22331878\n pubmed-url http://www.ncbi.nlm.nih.gov/pubmed/22331878\n\n\n- Output of example:\n\n http://www.pnas.org/content/109/12/4674\n\n- Output of example (using ``--doi`` option):\n\n http://dx.doi.org/10.1073/pnas.1116368109\n\n\n*Version 0.2.1*\n\n\nRevision History\n================\n\n0.2.1 2016-01-22\n\n- Change import of ``pubmed_lookup.command_line`` that was causing Travis CI to fail\n\n\n0.2.0 2016-01-22\n\n- Create command-line tool (``pubmed-citation``) to quickly retrieve citations for PubMed IDs/URLS\n- Create command-line tool (``pubmed-url``) to quickly retrieve article and DOI URLs for PubMed IDs/URLS\n- Add option to save time by not resolving DOI URL (``Publication(pubmed_record, resolve_doi=False)``)\n- Clean up documentation\n\n\n0.1.5 2016-01-08\n\n- Add exception for publications that do not have month information (Thanks to Sasha Cuerda!)\n\n\n0.1.4 2015-12-24\n\n- Resolve PEP8 errors\n- Refactor code to be cleaner\n- Configure Landscape and add code health badge\n- Convert Github installation instructions to install from develop branch\n\n\n0.1.3 2015-07-29\n\n- Add tests for Publication and PubMedLookup\n- Configure Travis-CI\n- Configure Coveralls\n- Add PyPI, Travis-CI, and Coveralls badges to README\n\n\n0.1.2 2015-06-24\n\n- Prepare for distribution via PyPI\n\n\n0.1.1 2015-05-26\n\n- Return an abbreviated citation for a Publication with cite_mini()\n- Change install docs to use GitHub link, since not yet on PyPI\n\n\n0.1.0 2015-05-22\n\n- Lookup PubMed records and make Publication objects with info about a scientific publication", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mfcovington/pubmed-lookup", "keywords": "citations lab literature pmid publications pubmed science", "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "pubmed-lookup", "package_url": "https://pypi.org/project/pubmed-lookup/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pubmed-lookup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mfcovington/pubmed-lookup" }, "release_url": "https://pypi.org/project/pubmed-lookup/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Lookup PubMed records and make Publication objects with info about a scientific publication", "version": "0.2.1" }, "last_serial": 1917143, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "6f920f87a7cdfcb0032392ac7de9b4f9", "sha256": "af394bc3473629581fec32db719cf68d5d11edc358a56d9f51686831b4f69c5e" }, "downloads": -1, "filename": "pubmed_lookup-0.1.2-py32-none-any.whl", "has_sig": false, "md5_digest": "6f920f87a7cdfcb0032392ac7de9b4f9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 8993, "upload_time": "2015-06-24T21:25:23", "url": "https://files.pythonhosted.org/packages/95/bd/fafd6c21a9bd8806a56da3adf986992f208d0c53eff9171a588cdd6aea56/pubmed_lookup-0.1.2-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "871805c8a7be524eff15b2c9136f2fcf", "sha256": "90681635783c64085ea09352a07151bbff45749994fcd555512cc9b225782f56" }, "downloads": -1, "filename": "pubmed-lookup-0.1.2.tar.gz", "has_sig": false, "md5_digest": "871805c8a7be524eff15b2c9136f2fcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6977, "upload_time": "2015-06-24T21:25:19", "url": "https://files.pythonhosted.org/packages/dc/10/2dc4fe10f018997d5d3cef13d8e76667333d2bdd7a8d5cd2cb8fb15bfbc9/pubmed-lookup-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "94aed2913584e413e17ccf7d333bcf1d", "sha256": "4f356f9425465847302ffd4b5d91af788176eb5d2ac0f09c62dbd94414923cd4" }, "downloads": -1, "filename": "pubmed_lookup-0.1.3-py32-none-any.whl", "has_sig": false, "md5_digest": "94aed2913584e413e17ccf7d333bcf1d", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10408, "upload_time": "2015-07-30T00:25:57", "url": "https://files.pythonhosted.org/packages/2c/03/1ac06db4a461d386741a77566e67e3312b23f4ebb4efef524a71d3f27db1/pubmed_lookup-0.1.3-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "968e2532d126ef328a4d0c89c9b2cee5", "sha256": "2fe5be58d5b4aacecd8d28860b4c1be7b16956d102c314958f6b306e9c5ce4a5" }, "downloads": -1, "filename": "pubmed-lookup-0.1.3.tar.gz", "has_sig": false, "md5_digest": "968e2532d126ef328a4d0c89c9b2cee5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7980, "upload_time": "2015-07-30T00:25:52", "url": "https://files.pythonhosted.org/packages/ce/0d/b0324fdbfa4590c2db4cb524c49c3aff058abd05c8ef0d9de8e9bac07833/pubmed-lookup-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "fdeec923fdedd9e6c63389618e206ae9", "sha256": "66798fec876ba3240010e5af77a6be86445ca869507d75fcd57b4c372d652722" }, "downloads": -1, "filename": "pubmed_lookup-0.1.4-py32-none-any.whl", "has_sig": false, "md5_digest": "fdeec923fdedd9e6c63389618e206ae9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10778, "upload_time": "2015-12-24T09:24:23", "url": "https://files.pythonhosted.org/packages/ab/a9/4b161c9aa86dc71be9fba1f5ab7eb2ddcd9ea78d69b61524332dbe59bc51/pubmed_lookup-0.1.4-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4cca98c2d464d62e7b259f8cc0c7d034", "sha256": "b37da4a8b2423548e094914a77651d491bf1bd1d5d60454ee0d220b30e2a22dd" }, "downloads": -1, "filename": "pubmed-lookup-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4cca98c2d464d62e7b259f8cc0c7d034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8238, "upload_time": "2015-12-24T09:23:53", "url": "https://files.pythonhosted.org/packages/05/5e/25858e4e04b516069556a81efa5f9a9bab265b0bf90f0896ab7e1badf20f/pubmed-lookup-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "d1c21507772524d99c851ccd0b7e95b0", "sha256": "f311046653d86b1e58acff6b4aff9eacda30af60b3797ccc55a8fd2da28a8c6a" }, "downloads": -1, "filename": "pubmed_lookup-0.1.5-py32-none-any.whl", "has_sig": false, "md5_digest": "d1c21507772524d99c851ccd0b7e95b0", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10905, "upload_time": "2016-01-08T18:57:31", "url": "https://files.pythonhosted.org/packages/39/1a/4a1c9916928f3aa68250f6fe448f24c59f53d11aea68c20eb7a0963d3a6e/pubmed_lookup-0.1.5-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a3166bc29a5d3b072f49d0ed39b47d58", "sha256": "6c82242d8ce1368ba5db5b3380b08c9bcad985638f5fd9bb2a57697285577468" }, "downloads": -1, "filename": "pubmed-lookup-0.1.5.tar.gz", "has_sig": false, "md5_digest": "a3166bc29a5d3b072f49d0ed39b47d58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8310, "upload_time": "2016-01-08T18:57:24", "url": "https://files.pythonhosted.org/packages/11/c2/47f78ab9feb0664a36d87f63108207a513fd20b840dba18c8b2a168558d8/pubmed-lookup-0.1.5.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "40ca6d08c8bd1126b44fccaf07197149", "sha256": "b40b53a7f4eecbfc9a37b2ce88e001577a21f859ac5ae54aab488965c8981280" }, "downloads": -1, "filename": "pubmed_lookup-0.2.0-py32-none-any.whl", "has_sig": false, "md5_digest": "40ca6d08c8bd1126b44fccaf07197149", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 12988, "upload_time": "2016-01-22T10:26:01", "url": "https://files.pythonhosted.org/packages/4b/87/91b1a76b830c99e6951de648b1ca9803f68f4dca0566f2c25b93dc8597a9/pubmed_lookup-0.2.0-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a82c133611f0d48546b0ccdd10901d4", "sha256": "856e445728caac2977d8a60edb12b863f5cae65f07f878c60478bcdc501377ae" }, "downloads": -1, "filename": "pubmed-lookup-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3a82c133611f0d48546b0ccdd10901d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11940, "upload_time": "2016-01-22T10:25:55", "url": "https://files.pythonhosted.org/packages/d7/c1/bc97756aa209067cc970211d16dbea4e1769a9a53512455853fa1e71c62d/pubmed-lookup-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "cd023c39d49329bd8c769c684ab51f3e", "sha256": "2b6e1fcd1a2289b7b0aa67f96ea269bc0c54bd8143b6ea15826188af361f38d4" }, "downloads": -1, "filename": "pubmed_lookup-0.2.1-py32-none-any.whl", "has_sig": false, "md5_digest": "cd023c39d49329bd8c769c684ab51f3e", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 13078, "upload_time": "2016-01-22T12:25:12", "url": "https://files.pythonhosted.org/packages/95/5f/841c7916716468dd098c35056b9fd1cc7654e326cb823047e7780f922c73/pubmed_lookup-0.2.1-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93eaaa509be4374139dd42a23c6cc9c4", "sha256": "3de85f22df014c8519e30f7c377f8442458fe7b72f5180d091203512a72799f5" }, "downloads": -1, "filename": "pubmed-lookup-0.2.1.tar.gz", "has_sig": false, "md5_digest": "93eaaa509be4374139dd42a23c6cc9c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12020, "upload_time": "2016-01-22T12:24:42", "url": "https://files.pythonhosted.org/packages/44/88/9995e175ca79e34224d7e6bb91b140e2d14368019a199ce7e77ea0c0e7db/pubmed-lookup-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd023c39d49329bd8c769c684ab51f3e", "sha256": "2b6e1fcd1a2289b7b0aa67f96ea269bc0c54bd8143b6ea15826188af361f38d4" }, "downloads": -1, "filename": "pubmed_lookup-0.2.1-py32-none-any.whl", "has_sig": false, "md5_digest": "cd023c39d49329bd8c769c684ab51f3e", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 13078, "upload_time": "2016-01-22T12:25:12", "url": "https://files.pythonhosted.org/packages/95/5f/841c7916716468dd098c35056b9fd1cc7654e326cb823047e7780f922c73/pubmed_lookup-0.2.1-py32-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93eaaa509be4374139dd42a23c6cc9c4", "sha256": "3de85f22df014c8519e30f7c377f8442458fe7b72f5180d091203512a72799f5" }, "downloads": -1, "filename": "pubmed-lookup-0.2.1.tar.gz", "has_sig": false, "md5_digest": "93eaaa509be4374139dd42a23c6cc9c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12020, "upload_time": "2016-01-22T12:24:42", "url": "https://files.pythonhosted.org/packages/44/88/9995e175ca79e34224d7e6bb91b140e2d14368019a199ce7e77ea0c0e7db/pubmed-lookup-0.2.1.tar.gz" } ] }