Interface to the ITALIC database of lichen biodiversity
Project description
pyitalic
pyitalic is a Python package that gives you access to ITALIC mediated data via its RESTful API.
It is a Python port of the R package
ritalic, exposing the same functions
(the R italic_* exports become pyitalic.match, pyitalic.taxonomy, ...).
ITALIC, the Information System on Italian Lichens, makes available information and resources about the lichens known to occur in Italy and bordering countries. It is maintained and updated by the Research Unit of Professor Pier Luigi Nimis, at the University of Trieste (NE Italy), Department of Life Sciences. Most of the data are derived from the Checklist of the Lichens of Italy by Nimis (2016), but nomenclatural and distributional data are being continuously updated.
Installation
pip install pyitalic
The distribution-map function (distribution_map) needs extra
geospatial/plotting dependencies (geopandas + matplotlib). Install them with:
pip install "pyitalic[map]"
Usage
import pyitalic
# Match scientific names against the Checklist of the Lichens of Italy
matched = pyitalic.match("Cetraria islandica")
accepted = matched["accepted_name"]
# Retrieve data for accepted names
pyitalic.taxonomy(accepted)
pyitalic.ecology_traits(accepted)
pyitalic.regions_distribution(accepted)
pyitalic.ecoregions_distribution(accepted)
# Occurrence records and their references
occ = pyitalic.occurrences("Cetraria ericetorum Opiz")
pyitalic.occurrences_references(occ)
# The full checklist (optionally filtered)
pyitalic.checklist(genus="Lecanora")
# A distribution map (requires the [map] extra)
fig = pyitalic.distribution_map("Flavoparmelia caperata (L.) Hale")
fig.savefig("flavoparmelia.png")
Most functions accept a single name (str) or several names
(list[str] / pandas.Series) and return a pandas.DataFrame.
Available functions
| Function | Description |
|---|---|
match |
Match scientific names against the ITALIC checklist |
checklist |
Accepted names in the Checklist of the Lichens of Italy |
taxonomy |
Taxonomic classification |
name_usage |
Name metadata (IDs, status, authorship) |
description |
Morphological descriptions and notes |
ecology_traits |
Morpho-functional traits and ecological indicators |
traits_pa |
Presence/absence matrix of morphological traits |
regions_distribution |
Presence/absence across Italian administrative regions |
ecoregions_distribution |
Commonness/rarity across Italian ecoregions |
occurrences |
Herbarium occurrence records (Darwin Core) |
occurrences_references |
Bibliographic references for occurrence datasets |
taxon_data |
Combined taxonomy + ecology + distribution data |
identification_key |
URL to an interactive identification key |
distribution_map |
Distribution map (requires the [map] extra) |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyitalic-0.1.0.tar.gz.
File metadata
- Download URL: pyitalic-0.1.0.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44cea2dfd45afa1d3b4fe7c6406772a6bdbe634ebcd093abdde51fb8daca0781
|
|
| MD5 |
997ec4d04609c693bc7f26bd097989d8
|
|
| BLAKE2b-256 |
f493bba2294eb3be958b95ad593335bf4e8346eb74e5af606cfcc3dd6bd6e930
|
File details
Details for the file pyitalic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyitalic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8349bac886fadbbfd22bc26f576e58626b3c4513b88a4653b4195f4eac61dd2
|
|
| MD5 |
0f2a14df455d7e1f520c313d0056d3a2
|
|
| BLAKE2b-256 |
9898df8ae28beb6b8561cb5f476edad2d2a557a60741f4f74c628be91d253dc7
|