Skip to content

Taxonomy

TaxonRank

Bases: str, Enum

Represent the rank of the taxon

RawClassification

Bases: StrictModel

Represent the raw classification model.

Parameters:

Name Type Description Default
family str | None

Taxon family

None
genus str | None

Taxon genus

None
species str | None

Taxon species

None
focal_name str

Focal name of the taxon. This represents the lowest level of the classification for a specific taxon.

required

CleanedClassification

Bases: RawClassification

Represent the cleaned classification model.

Parameters:

Name Type Description Default
family str

Taxon family

required
genus str

Taxon genus

required

RawTaxonomy

Bases: StrictModel

Represent the raw taxonomy model.

Parameters:

Name Type Description Default
rank TaxonRank

Rank of the lowest level of the classification for a specific taxon.

required
raw_classification RawClassification

The raw classification of the taxon

required

CleanedTaxonomy

Bases: RawTaxonomy

Represent the cleaned taxonomy model.

Parameters:

Name Type Description Default
cleaned_classification CleanedClassification

The cleaned classification of the taxon

required