feriennet.exports.base ====================== .. py:module:: feriennet.exports.base Attributes ---------- .. autoapisummary:: feriennet.exports.base.SPACES feriennet.exports.base.STREET Classes ------- .. autoapisummary:: feriennet.exports.base.Street feriennet.exports.base.FeriennetExport Functions --------- .. autoapisummary:: feriennet.exports.base.score_street_match feriennet.exports.base.extract_street feriennet.exports.base.remove_duplicate_spaces feriennet.exports.base.html_to_text Module Contents --------------- .. py:data:: SPACES .. py:data:: STREET .. py:class:: Street(name: str | None, number: str | None) .. py:attribute:: __slots__ :value: ('name', 'number') .. py:attribute:: name .. py:attribute:: number .. py:function:: score_street_match(match: re.Match[str] | None) -> int .. py:function:: extract_street(address: str | None) -> Street .. py:function:: remove_duplicate_spaces(text: str) -> str .. py:function:: html_to_text(html: str | None) -> str .. py:class:: FeriennetExport(**kwargs: object) Bases: :py:obj:`onegov.org.models.Export` .. py:method:: activity_fields(activity: onegov.activity.models.Activity) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: booking_fields(booking: onegov.activity.models.Booking) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: attendee_fields(attendee: onegov.activity.models.Attendee) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: occasion_fields(occasion: onegov.activity.models.Occasion) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: occasion_need_fields(need: onegov.activity.models.OccasionNeed) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: activity_tags(tags: collections.abc.Iterable[str] | None) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: user_fields(user: onegov.user.User) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: invoice_item_fields(item: onegov.activity.models.InvoiceItem) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: invoice_attendee_fields(attendee: onegov.activity.models.Attendee) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: organiser_fields(organiser: onegov.user.User) -> collections.abc.Iterator[tuple[str, Any]] .. py:method:: volunteer_fields(volunteer: onegov.activity.models.Volunteer) -> collections.abc.Iterator[tuple[str, Any]]