Models¶
- class taxonomy.models.TaxonomyBase(*args, **kwargs)¶
An abstract model for a TaxonomyBase object. This model can be used as the foundation for all other taxonomy models.
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- __str__()¶
Returns a string representation of a TaxonomyBase object instance.
- Returns:
A string that refers to a Taxonomy object instance.
- class taxonomy.models.Order(*args, **kwargs)¶
A model that represents an Order object.
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a TaxonomyBase object instance.
- Returns:
A string that refers to a Taxonomy object instance.
- class taxonomy.models.Family(*args, **kwargs)¶
A model that represents a Family object.
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a TaxonomyBase object instance.
- Returns:
A string that refers to a Taxonomy object instance.
- class taxonomy.models.Subfamily(*args, **kwargs)¶
A model that represents a Subfamily object.
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a TaxonomyBase object instance.
- Returns:
A string that refers to a Taxonomy object instance.
- class taxonomy.models.Tribe(*args, **kwargs)¶
A model that represents a Tribe object.
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a TaxonomyBase object instance.
- Returns:
A string that refers to a Taxonomy object instance.
- class taxonomy.models.Genus(*args, **kwargs)¶
A model that represents a Genus object.
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a TaxonomyBase object instance.
- Returns:
A string that refers to a Taxonomy object instance.
- class taxonomy.models.Species(*args, **kwargs)¶
A model that represents a Species object.
- mona¶
The MONA (Hodges) number for the species (Lepidoptera only).
- Type:
str
- p3¶
The P3 (Pohl, Patterson, Pelham 2016) number for the species (Lepidoptera only).
- Type:
str
- ps¶
The Phylogenetic Sequence (Pohl and Nanz, 2023) number for the species (Lepidoptera only).
- Type:
str
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a Species object instance.
- Returns:
A string that refers to a Species object instance.
- binomial¶
The species’ binomial (genus + species).
- class taxonomy.models.Subspecies(*args, **kwargs)¶
A model that represents a Subspecies object.
- mona¶
The MONA (Hodges) number for the subspecies (Lepidoptera only).
- Type:
str
- p3¶
The P3 (Pohl, Patterson, Pelham 2016) number for the subspecies (Lepidoptera only).
- Type:
str
- ps¶
The Phylogenetic Sequence (Pohl and Nanz, 2023) number for the subspecies (Lepidoptera only).
- Type:
str
- name¶
The scientific name of the taxon.
- Type:
str
- common_name¶
The common name of the taxon, if it has one.
- Type:
str
- authority¶
The authority of the taxon.
- Type:
str
- date_created¶
The date when the object instance was created. Inherited from TimeStampMixin.
- Type:
datetime
- date_modified¶
The date when the object instance was last modified. Inherited from TimeStampMixin.
- Type:
datetime
- __str__()¶
Returns a string representation of a Subspecies object instance.
- Returns:
A string that refers to a Subspecies object instance.
- trinomial¶
The subspecies’ trinomial (genus + species + subspecies).