gazette.utils.sogc_converter

Attributes

_T

Classes

SogcConverter

The base class for all converters.

KK

The base class for all converters.

KK01

The base class for all converters.

KK02

The base class for all converters.

KK03

The base class for all converters.

KK04

The base class for all converters.

KK05

The base class for all converters.

KK06

The base class for all converters.

KK07

The base class for all converters.

KK08

The base class for all converters.

KK09

The base class for all converters.

KK10

The base class for all converters.

Functions

html_converter(→ markupsafe.Markup)

line_converter(→ str)

Module Contents

gazette.utils.sogc_converter._T[source]
gazette.utils.sogc_converter.html_converter(text: str) markupsafe.Markup[source]
gazette.utils.sogc_converter.line_converter(text: str) str[source]
class gazette.utils.sogc_converter.SogcConverter(root: lxml.etree._Element)[source]

The base class for all converters.

root[source]
get(path: str, converter: Callable[[str], Markup] | None = html_converter, root: _Element | None = None) markupsafe.Markup | Literal[''][source]
get(path: str, converter: Callable[[str], _T], root: _Element | None = None) _T | Literal['']
get_line(path: str, root: _Element | None = None) str[source]
property title: str[source]
property source: str[source]
property publication_date: datetime | Literal[''][source]
property expiration_date: datetime | Literal[''][source]
issues(session: sqlalchemy.orm.Session) list[str][source]
p(value: object, title: str = '', title_break: bool = True, subtitle: str = '', subtitle_break: bool = False, fmt: str | None = None) markupsafe.Markup[source]

Adds a paragraph.

Example:

<p>
    <strong>title</strong><br>
    subtitle:<br>
    value
</p>
class gazette.utils.sogc_converter.KK(root: lxml.etree._Element)[source]

Bases: SogcConverter

The base class for all converters.

property addition: markupsafe.Markup[source]
property comment_entry_deadline: markupsafe.Markup[source]
property days_after_publication: markupsafe.Markup[source]
property debtor: markupsafe.Markup[source]
property entry_deadline: markupsafe.Markup[source]
property information_about_edition: markupsafe.Markup[source]
property legal: markupsafe.Markup[source]
property remarks: markupsafe.Markup[source]
property registration_office: markupsafe.Markup[source]
property resolution_date: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK01(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK02(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property proceeding: markupsafe.Markup[source]
property creditor_meeting: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK03(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property cessation_date: markupsafe.Markup[source]
property advance_amount: markupsafe.Markup[source]
property text: str[source]
class gazette.utils.sogc_converter.KK04(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property claim_of_creditors: markupsafe.Markup[source]
property inventory: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK05(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property location_circulation_authority: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK06(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property proceeding_end_date: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK07(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property proceeding_revocation_date: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK08(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property auction: markupsafe.Markup[source]
property auction_objects: markupsafe.Markup[source]
property entry_start: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK09(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property affected_land: markupsafe.Markup[source]
property appeal: markupsafe.Markup[source]
property location_circulation_authority: markupsafe.Markup[source]
property registration_office: markupsafe.Markup[source]
property text: markupsafe.Markup[source]
class gazette.utils.sogc_converter.KK10(root: lxml.etree._Element)[source]

Bases: KK

The base class for all converters.

property title: str[source]
property publication: markupsafe.Markup[source]
property text: markupsafe.Markup[source]