comicbox.formats.base.fields.fields

source module comicbox.formats.base.fields.fields

Custom Marshmallow fields.

Classes

Functions

  • half_replace — Replace half notation with decimal notation.

source class StringField(*args: Any, clean_tabs: bool = False, **kwargs: Any)

Bases : fields.String

Durable Stripping String Field.

Add a clean tabs flag.

source half_replace(num: str) → str

Replace half notation with decimal notation.

source class IssueField()

Bases : StringField

Issue Field.

Methods

source staticmethod IssueField.parse_issue(num: str) → str

Parse issues.