gtdblib.db package
Submodules
gtdblib.db.common module
- class gtdblib.db.common.Common(**kwargs: Any)
Bases:
DeclarativeBase
- metadata: ClassVar[MetaData] = MetaData()
Refers to the
_schema.MetaData
collection that will be used for new_schema.Table
objects.See also
orm_declarative_metadata
- registry: ClassVar[_RegistryType] = <sqlalchemy.orm.decl_api.registry object>
Refers to the
_orm.registry
in use where new_orm.Mapper
objects will be associated.
- type_annotation_map = {<class 'datetime.datetime'>: TIMESTAMP(timezone=True)}
- class gtdblib.db.common.LpsnHtml(**kwargs)
Bases:
Common
- assigned_by: Mapped[str]
- assigned_by_doi: Mapped[str]
- basonym: Mapped[int]
- category: Mapped[str]
- created: Mapped[datetime]
- effective_publication: Mapped[str]
- effective_publication_doi: Mapped[str]
- emendations: Mapped[str]
- etymology: Mapped[str]
- gender: Mapped[str]
- html: Mapped[str]
- id: Mapped[int]
- ijsem_list: Mapped[str]
- ijsem_list_doi: Mapped[str]
- n_child_correct: Mapped[int]
- n_child_synonym: Mapped[int]
- n_child_total: Mapped[int]
- name: Mapped[str]
- nomenclatural_status: Mapped[str]
- original_publication: Mapped[str]
- original_publication_doi: Mapped[str]
- parent_taxon: Mapped[int]
- proposed_as: Mapped[str]
- record_number: Mapped[int]
- risk_group: Mapped[int]
- ssu: Mapped[str]
- ssu_ebi: Mapped[str]
- ssu_fasta: Mapped[str]
- ssu_ggdc: Mapped[str]
- ssu_ncbi: Mapped[str]
- strain_info: Mapped[str]
- taxonomic_status: Mapped[str]
- to_process: Mapped[bool]
- tygs: Mapped[str]
- type_class: Mapped[int]
- type_genus: Mapped[int]
- type_order: Mapped[int]
- type_species: Mapped[int]
- type_strain: Mapped[str]
- type_subgenus: Mapped[int]
- updated: Mapped[datetime]
- url: Mapped[str]
- valid_publication: Mapped[str]
- valid_publication_doi: Mapped[str]
- class gtdblib.db.common.LpsnHtmlChildTaxa(**kwargs)
Bases:
Common
- child_page_id: Mapped[int]
- id: Mapped[int]
- nomenclatural_status: Mapped[str]
- parent_page_id: Mapped[int]
- taxonomic_status: Mapped[str]