{ "info": { "author": "Ulises Rosas", "author_email": "ulisesfrosasp@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "[![DOI](https://zenodo.org/badge/148187014.svg)](https://zenodo.org/badge/latestdoi/148187014)\n\n# FishScrapping\n\nFeatures:\n\n- [x] get up-to-date information from FishBase database\n- [x] Terminal-based scripts\n\nSoftware requierements:\n* Python 3\n\n#### Installation\n\nUsing `pip`\n\n```Shell\npip install FishScrapping\n```\n\n### Length-Weight relationships\n\nLet's suppose we have the following a list of species stored at [species.txt](https://github.com/Ulises-Rosas/FishScrapping/blob/master/species.txt):\n\n```Shell\ncat species.txt\n```\n```\nOdontesthes regia\nEngraulis ringens\nMenticirrhus undulatus\nSciaena deliciosa\n```\nWe can obtain their LWRs by using:\n\n```Shell\nfishbase.py species.txt -lw\n```\n\nWhile output file name is based on input and on above example this file is named `species_fishbase_lw.tsv`, option `-out` can also modify default names. \n\n```Shell\ncat species_fishbase_lw.tsv\n```\n```\nspecies\ta\tb\tn\tCountry\tRangeLength\nOdontesthes regia\tNA\tNA\tNA\tNA\tNA\nEngraulis ringens\t0.02150\t2.604\tNA\tPeru\tNA\nEngraulis ringens\t0.00674\t3.000\tNA\tPeru\tNA\nEngraulis ringens\t0.00460\t3.121\tNA\tChile\tNA\nEngraulis ringens\t0.00421\t3.144\tNA\tChile\tNA\nEngraulis ringens\t0.00375\t3.221\tNA\tChile\tNA\nMenticirrhus undulatus\t0.01027\t3.000\t1\tNA\t61.0, 61.0\nSciaena deliciosa\tNA\tNA\tNA\tNA\tNA\n```\n### Synonyms\nWe can also extract species synonyms according to this database with the option `-syn`:\n\n```Shell\nfishbase.py species.txt -syn\n```\n\nAgain, by default `fishbase.py` uses its input to name its output, however this can be modified with `-out` option.\n\n```Shell\ncat species_fishbase_syn.tsv\n```\n```\nspecies\tsynonyms\nOdontesthes regia\tAtherina regia, Austromenidia regia, Atherina laticlavia, Austromenidia laticlava, Chirostoma affine, Basilichthys regillus, Cauque regillus, Odontesthes regillus, Basilichthys jordani, Basilichthys octavius, Odontesthes regia\nEngraulis ringens\tEngraulis pulchellus, Engraulis tapirulus, Anchoviella tapirulus, Stolephorus tapirulus, Engraulis ringens\nMenticirrhus undulatus\tUmbrina undulata, Menticirrhus undulatus\nSciaena deliciosa\tCorvina deliciosa, Sciaena deliciosa\n```\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Ulises-Rosas/FishScrapping", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "FishScrapping", "package_url": "https://pypi.org/project/FishScrapping/", "platform": "", "project_url": "https://pypi.org/project/FishScrapping/", "project_urls": { "Homepage": "https://github.com/Ulises-Rosas/FishScrapping" }, "release_url": "https://pypi.org/project/FishScrapping/1.2/", "requires_dist": null, "requires_python": "", "summary": "", "version": "1.2", "yanked": false, "yanked_reason": null }, "last_serial": 6060451, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "828fbb764b6320d721d7d59fadc978e9", "sha256": "3132dee2396545de7dbaa06bf0d11157f4d19d06ec7e8a233b08f3f1bdd58ac8" }, "downloads": -1, "filename": "FishScrapping-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "828fbb764b6320d721d7d59fadc978e9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16345, "upload_time": "2019-10-27T06:15:03", "upload_time_iso_8601": "2019-10-27T06:15:03.510265Z", "url": "https://files.pythonhosted.org/packages/9e/67/94ff557700ea0ea82ace2f752c7a5e7e3f18c08d8c4fa98eb4de1b6cf9b9/FishScrapping-1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "f1ed0c33de45e1c0caf1f5763cdcce15", "sha256": "749c3c25abf756b853d6c3333e25f8fc4005da05f9e11fd4a0b9b72c9c390154" }, "downloads": -1, "filename": "FishScrapping-1.0.tar.gz", "has_sig": false, "md5_digest": "f1ed0c33de45e1c0caf1f5763cdcce15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8846, "upload_time": "2019-10-27T06:15:08", "upload_time_iso_8601": "2019-10-27T06:15:08.461812Z", "url": "https://files.pythonhosted.org/packages/f0/01/76c584fe5ffc0305efc56dd8247a651ce58fa882c0978e8521b5a2541e5e/FishScrapping-1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1": [ { "comment_text": "", "digests": { "md5": "673ec6141cd314b9caf6e45f601b2cf6", "sha256": "0e25ec38e146bb06ce252945a7c31ffdbc062759609e39567f33e2dfbb4552cc" }, "downloads": -1, "filename": "FishScrapping-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "673ec6141cd314b9caf6e45f601b2cf6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17256, "upload_time": "2019-10-31T20:25:40", "upload_time_iso_8601": "2019-10-31T20:25:40.703772Z", "url": "https://files.pythonhosted.org/packages/0d/62/b9670cce2013d9ee60527d468d7265512f718987af5dd1dff9f6790ce7bd/FishScrapping-1.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "b9576fa5653024c6f5b9af471f6c2cb7", "sha256": "31769a7c4fac1d40d8dcb6c0b226f6183f38453d8e02bc7468b041b968da6ab2" }, "downloads": -1, "filename": "FishScrapping-1.1.tar.gz", "has_sig": false, "md5_digest": "b9576fa5653024c6f5b9af471f6c2cb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9195, "upload_time": "2019-10-31T20:25:43", "upload_time_iso_8601": "2019-10-31T20:25:43.390091Z", "url": "https://files.pythonhosted.org/packages/3c/92/fb0009711c572cabeb1105a6b547d7567bfaea0da429827cb462ee84296d/FishScrapping-1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2": [ { "comment_text": "", "digests": { "md5": "26f7ec72189ab1f79a29f493a48a24c1", "sha256": "60c5739f8959feb6184fe6e7a60913c102c61db3c87cd617d6f7d0db17be8f7e" }, "downloads": -1, "filename": "FishScrapping-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "26f7ec72189ab1f79a29f493a48a24c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17250, "upload_time": "2019-10-31T20:27:48", "upload_time_iso_8601": "2019-10-31T20:27:48.207645Z", "url": "https://files.pythonhosted.org/packages/c2/ec/ba64ab24415e8c3600788fad8ca6b655f1f37ae6deae9a66151681eb22e0/FishScrapping-1.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "33e305201cf3fd510f08f6d8718fa3f0", "sha256": "074ce04d949c3364a41730e6529f0d90c21f70b2ece6c10ee65bd5723e0abe72" }, "downloads": -1, "filename": "FishScrapping-1.2.tar.gz", "has_sig": false, "md5_digest": "33e305201cf3fd510f08f6d8718fa3f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9192, "upload_time": "2019-10-31T20:27:51", "upload_time_iso_8601": "2019-10-31T20:27:51.417848Z", "url": "https://files.pythonhosted.org/packages/c6/7b/ce817173ab416cd08c3dbf5d20ab4989534777c82973ae6bae279a7ad8a5/FishScrapping-1.2.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "26f7ec72189ab1f79a29f493a48a24c1", "sha256": "60c5739f8959feb6184fe6e7a60913c102c61db3c87cd617d6f7d0db17be8f7e" }, "downloads": -1, "filename": "FishScrapping-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "26f7ec72189ab1f79a29f493a48a24c1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17250, "upload_time": "2019-10-31T20:27:48", "upload_time_iso_8601": "2019-10-31T20:27:48.207645Z", "url": "https://files.pythonhosted.org/packages/c2/ec/ba64ab24415e8c3600788fad8ca6b655f1f37ae6deae9a66151681eb22e0/FishScrapping-1.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "33e305201cf3fd510f08f6d8718fa3f0", "sha256": "074ce04d949c3364a41730e6529f0d90c21f70b2ece6c10ee65bd5723e0abe72" }, "downloads": -1, "filename": "FishScrapping-1.2.tar.gz", "has_sig": false, "md5_digest": "33e305201cf3fd510f08f6d8718fa3f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9192, "upload_time": "2019-10-31T20:27:51", "upload_time_iso_8601": "2019-10-31T20:27:51.417848Z", "url": "https://files.pythonhosted.org/packages/c6/7b/ce817173ab416cd08c3dbf5d20ab4989534777c82973ae6bae279a7ad8a5/FishScrapping-1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }