py-coldp
Python tools for working with taxonomic checklists organised as Catalogue of Life Data Package (COLDP) format
Overview
py-coldp is a Python package to facilitate creation, manipulation, editing and serialisation of taxonomic checklists in the Catalogue of Life Data Package format.
The package includes two classes:
- COLDP - A COLDP package loaded as a set of Pandas dataframes
- NameBundle - A helper class to simplify addition of taxon names with sets of associated synonyms to a COLDP instance
Class: COLDP
The main COLDP class instantiates a COLDP package in memory as a set of Pandas dataframes. An instance may be initialised from the contents of a folder containing a set of COLDP-compliant CSV or tab-delimited data files or alternatively can be initialised as an empty instance in memory. The class includes many methods for inserting new data, editing existing records and querying the contents of the package. The instance can then be saved as a set of CSV files in a named folder .
Class: NameBundle
The NameBundle class brings together a scientific name and its synonyms so that these can be added together and the COLDP package can automatically manage their relationships NameBundle objects are normally created using the COLDP.start_name_bundle() method.
At minimum a NameBundle is initialised with a dictionary holding a set of COLDP name record values. The scientific name represented by this dictionary should be the accepted name for a species or other taxon. Synonyms may then be added to the NameBundle.
Once all names are included, the NameBundle can be added to the COLDP object via the COLDP.add_names() method. This adds name, taxon and synonym records for the set of names supplied. COLDP options may expand the set of added synonyms to include variant formats or may trigger the addition of one or taxa that are implicit in the accepted name.
The COLDP object will automatically manage record identifiers and the basionymID for any name records that are combinations of another name in the set.
Installation
pip install py-coldp
Documentation
Metadata
Release files for coldp 2025.4.3
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 |
|---|---|---|---|---|
| coldp-2025.4.3.tar.gz | 740.3 kB | Without provenance | Details for coldp-2025.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coldp-2025.4.3-py3-none-any.whl | Python 3 | none | any | Details for coldp-2025.4.3-py3-none-any.whl |
Total release size: 777.7 kB
Release files / coldp-2025.4.3.tar.gz
| Download URL | coldp-2025.4.3.tar.gz |
|---|---|
| Size | 740.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6c2ee43b0fec03444eda247a3aa3f6be1b6c043727c7e8b1cef8097e29665d8
|
|
BLAKE2b-256 checksum How to use checksums |
c5d755d854ae92295353090395e4b4214951eeb5c08c8e443a403727f4f1019f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / coldp-2025.4.3-py3-none-any.whl
| Download URL | coldp-2025.4.3-py3-none-any.whl |
|---|---|
| Size | 37.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d83b5aa061f338c9ba7608cdb9cfea253e3cd8a89302a49b588beba366a28d2d
|
|
BLAKE2b-256 checksum How to use checksums |
ad0fa87c4b6c50a6b867241e3ad67893e2984a32216f95e08c9c4f7869261a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for coldp 2025.4.3
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.