Skip to content
Index IUCN redlist data in Elasticsearch
Branch: master
Clone or download
Pull request Compare This branch is 1 commit behind anusharanganathan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
espirit @ 0c39a15
magnificent-octopus @ 708d29d

IUCN Redlist importer


Clone the project:

git clone

get all the submodules

cd myapp
git submodule init
git submodule update

This will initialise and clone the esprit and magnificent octopus libraries

Then get the submodules for Magnificent Octopus

cd myapp/magnificent-octopus
git submodule init
git submodule update

Create your virtualenv and activate it

virtualenv /path/to/venv
source /path/tovenv/bin/activate

Install esprit and magnificent octopus (in that order)

cd myapp/esprit
pip install -e .

cd myapp/magnificent-octopus
pip install -e .

Create your local config

cd myapp
touch local.cfg

Then you can override any config values that you need to

To start the application, you'll also need to install it into the virtualenv just this first time

cd myapp
pip install -e .

To index the data

1. Make sure elastic search is running
2. Download the IUCN redlist data of interest from the IUCN website in csv format. Downloading these data now requires a login and a brief (at least minutes) waiting period.

from service.importer import import_species
You can’t perform that action at this time.