pylifemap

Overview

pylifemap is a Python package for visualizing taxonomy data on Lifemap, the interactive tree of life. It provides several visualisation layers, as well as functions allowing to aggregate data along the tree branches.

Here is a simple example:

import polars as pl
from pylifemap import Lifemap

# Load iucn dataset
iucn = pl.read_parquet(
    "https://raw.githubusercontent.com/Lifemap-ToL/pylifemap/main/data/iucn.parquet"
)

Lifemap(iucn).layer_points(radius=5, opacity=0.8).show()

Installation and usage

  • Getting started gives an overview of the package usage and features.
  • Usage describes how to use the package and the available features and options.
  • The Layers section shows examples of the different available layers.
  • Reference provides detailed documentation of the different methods and functions.

Credits