Skip to content

Python module used to download taxa for all bats from the IUCN Redlist and store in Excel.

License

Notifications You must be signed in to change notification settings

cloudedbats/cloudedbats_species

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudedBats - Species

This is a part of CloudedBats: http://cloudedbats.org

taxa4bats

The software library taxa4bats contains taxonomic information for bats (Chiroptera). All data is collected from the IUCN Red List of Threatened Species (https://www.iucnredlist.org) since in covers most of the bats that exists, and the species lists are maintained with one or two published updates each year.

When running the Python script /taxa4bats/iucn_redlist.py the API at IUCN Redlist is called and all relevant information for bats is downloaded. The data is then stored in text files as a cache for usage between the published updates. An Excel file is also generated that can be downloaded separately. Note that you must to ask for a Token before you can run the script by yourself. It's free, but they don't like commercial use without written permission. Edit the Python script and replace the string 'TOKEN'. If it's not available, then the cached file will be used only.

WURB-A001 Swedish species filtered in LibreOffice Calc. CloudedBats.org / CC-BY

Installation

# Get the code from Github.
git clone https://github.com/cloudedbats/cloudedbats_species.git
cd cloudedbats_species
# Set up a virtual environment for python.
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt

# Run. (Edit the file and replace the string '<TOKEN>' if you want to update all data from IUCN.)
python taxa4bats/iucn_redlist.py

Contact

Arnold Andreasson, Sweden.

info@cloudedbats.org

About

Python module used to download taxa for all bats from the IUCN Redlist and store in Excel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages