gazette.utils.sogc_converter
============================
.. py:module:: gazette.utils.sogc_converter
Attributes
----------
.. autoapisummary::
gazette.utils.sogc_converter._T
Classes
-------
.. autoapisummary::
gazette.utils.sogc_converter.SogcConverter
gazette.utils.sogc_converter.KK
gazette.utils.sogc_converter.KK01
gazette.utils.sogc_converter.KK02
gazette.utils.sogc_converter.KK03
gazette.utils.sogc_converter.KK04
gazette.utils.sogc_converter.KK05
gazette.utils.sogc_converter.KK06
gazette.utils.sogc_converter.KK07
gazette.utils.sogc_converter.KK08
gazette.utils.sogc_converter.KK09
gazette.utils.sogc_converter.KK10
Functions
---------
.. autoapisummary::
gazette.utils.sogc_converter.html_converter
gazette.utils.sogc_converter.line_converter
Module Contents
---------------
.. py:data:: _T
.. py:function:: html_converter(text: str) -> markupsafe.Markup
.. py:function:: line_converter(text: str) -> str
.. py:class:: SogcConverter(root: lxml.etree._Element)
The base class for all converters.
.. py:attribute:: root
.. py:method:: get(path: str, converter: collections.abc.Callable[[str], markupsafe.Markup] | None = html_converter, root: lxml.etree._Element | None = None) -> markupsafe.Markup | Literal['']
get(path: str, converter: collections.abc.Callable[[str], _T], root: lxml.etree._Element | None = None) -> _T | Literal['']
.. py:method:: get_line(path: str, root: lxml.etree._Element | None = None) -> str
.. py:property:: title
:type: str
.. py:property:: source
:type: str
.. py:property:: publication_date
:type: datetime.datetime | Literal['']
.. py:property:: expiration_date
:type: datetime.datetime | Literal['']
.. py:method:: issues(session: sqlalchemy.orm.Session) -> list[str]
.. py:method:: p(value: object, title: str = '', title_break: bool = True, subtitle: str = '', subtitle_break: bool = False, fmt: str | None = None) -> markupsafe.Markup
Adds a paragraph.
Example::
title
subtitle:
value
.. py:class:: KK(root: lxml.etree._Element)
Bases: :py:obj:`SogcConverter`
The base class for all converters.
.. py:property:: addition
:type: markupsafe.Markup
.. py:property:: comment_entry_deadline
:type: markupsafe.Markup
.. py:property:: days_after_publication
:type: markupsafe.Markup
.. py:property:: debtor
:type: markupsafe.Markup
.. py:property:: entry_deadline
:type: markupsafe.Markup
.. py:property:: information_about_edition
:type: markupsafe.Markup
.. py:property:: legal
:type: markupsafe.Markup
.. py:property:: remarks
:type: markupsafe.Markup
.. py:property:: registration_office
:type: markupsafe.Markup
.. py:property:: resolution_date
:type: markupsafe.Markup
.. py:class:: KK01(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK02(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: proceeding
:type: markupsafe.Markup
.. py:property:: creditor_meeting
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK03(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: cessation_date
:type: markupsafe.Markup
.. py:property:: advance_amount
:type: markupsafe.Markup
.. py:property:: text
:type: str
.. py:class:: KK04(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: claim_of_creditors
:type: markupsafe.Markup
.. py:property:: inventory
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK05(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: location_circulation_authority
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK06(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: proceeding_end_date
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK07(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: proceeding_revocation_date
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK08(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: auction
:type: markupsafe.Markup
.. py:property:: auction_objects
:type: markupsafe.Markup
.. py:property:: entry_start
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK09(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: affected_land
:type: markupsafe.Markup
.. py:property:: appeal
:type: markupsafe.Markup
.. py:property:: location_circulation_authority
:type: markupsafe.Markup
.. py:property:: registration_office
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup
.. py:class:: KK10(root: lxml.etree._Element)
Bases: :py:obj:`KK`
The base class for all converters.
.. py:property:: title
:type: str
.. py:property:: publication
:type: markupsafe.Markup
.. py:property:: text
:type: markupsafe.Markup