FishScrapping
Features:
- get up-to-date information from FishBase database
- Terminal-based scripts
Software requierements:
- Python 3
Installation
Using pip
pip install FishScrapping
Length-Weight relationships
Let's suppose we have the following a list of species stored at species.txt:
cat species.txt
Odontesthes regia
Engraulis ringens
Menticirrhus undulatus
Sciaena deliciosa
We can obtain their LWRs by using:
fishbase.py species.txt -lw
While 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.
cat species_fishbase_lw.tsv
species a b n Country RangeLength
Odontesthes regia NA NA NA NA NA
Engraulis ringens 0.02150 2.604 NA Peru NA
Engraulis ringens 0.00674 3.000 NA Peru NA
Engraulis ringens 0.00460 3.121 NA Chile NA
Engraulis ringens 0.00421 3.144 NA Chile NA
Engraulis ringens 0.00375 3.221 NA Chile NA
Menticirrhus undulatus 0.01027 3.000 1 NA 61.0, 61.0
Sciaena deliciosa NA NA NA NA NA
Synonyms
We can also extract species synonyms according to this database with the option -syn:
fishbase.py species.txt -syn
Again, by default fishbase.py uses its input to name its output, however this can be modified with -out option.
cat species_fishbase_syn.tsv
species synonyms
Odontesthes regia Atherina regia, Austromenidia regia, Atherina laticlavia, Austromenidia laticlava, Chirostoma affine, Basilichthys regillus, Cauque regillus, Odontesthes regillus, Basilichthys jordani, Basilichthys octavius, Odontesthes regia
Engraulis ringens Engraulis pulchellus, Engraulis tapirulus, Anchoviella tapirulus, Stolephorus tapirulus, Engraulis ringens
Menticirrhus undulatus Umbrina undulata, Menticirrhus undulatus
Sciaena deliciosa Corvina deliciosa, Sciaena deliciosa
Metadata
Release files for FishScrapping 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| FishScrapping-1.2.tar.gz | 9.2 kB | Without provenance | Details for FishScrapping-1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FishScrapping-1.2-py3-none-any.whl | Python 3 | none | any | Details for FishScrapping-1.2-py3-none-any.whl |
Total release size: 26.4 kB
Release files / FishScrapping-1.2.tar.gz
| Download URL | FishScrapping-1.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
074ce04d949c3364a41730e6529f0d90c21f70b2ece6c10ee65bd5723e0abe72
|
|
BLAKE2b-256 checksum How to use checksums |
c67bce817173ab416cd08c3dbf5d20ab4989534777c82973ae6bae279a7ad8a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
|
Release files / FishScrapping-1.2-py3-none-any.whl
| Download URL | FishScrapping-1.2-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60c5739f8959feb6184fe6e7a60913c102c61db3c87cd617d6f7d0db17be8f7e
|
|
BLAKE2b-256 checksum How to use checksums |
c2ecba64ab24415e8c3600788fad8ca6b655f1f37ae6deae9a66151681eb22e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
|
Security for FishScrapping 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.