comicbox.enums.comicbox

source module comicbox.enums.comicbox

Comicbox Schema Enums.

Classes

Functions

source enum ReadingDirectionEnum()

Bases : Enum

Four reading directions.

Attributes

  • RTL

  • LTR

  • TTB

  • BTT

source enum MangaEnum()

Bases : Enum

Whether a book is manga.

ComicInfo compounds this with reading direction in a single YesAndRightToLeft value. Comicbox keeps the two facts apart: this says only whether the book is manga, and reading_direction says how it reads.

Attributes

  • YES

  • NO

  • UNKNOWN

source enum IdSources()

Bases : Enum

Comic Database Namespace Identifiers.

Declaration order is the best source ranking. Everything that must pick one source derives its order from this list: ID_SOURCE_VALUES and ranked_id_sources() in comicbox.identifiers, and compare_identifier_source below.

Attributes

  • METRON

  • COMICVINE

  • GCD

  • LCG

  • MARVEL

  • PANELSYNDICATE

  • ANILIST

  • KITSU

  • MANGADEX

  • MANGAUPDATES

  • MYANIMELIST

  • GTIN

  • ISBN

  • UPC

  • ASIN

  • COMIXOLOGY

source enum AlternateIdSources()

Bases : Enum

Alternate ID_SOURCE Names.

Attributes

  • CVDB_ALTERNATE

  • CMXDB_ALTERNATE

source enum FileTypeEnum()

Bases : Enum

File types.

Attributes

  • CBZ

  • CBR

  • CB7

  • CBT

  • PDF

source compare_identifier_source(id_source_a: IdSources | str | None, id_source_b: IdSources | str | None) → bool

Compare identifier sources by string.