feriennet.exports.base

Attributes

SPACES

STREET

Classes

Street

FeriennetExport

Functions

score_street_match(→ int)

extract_street(→ Street)

remove_duplicate_spaces(→ str)

html_to_text(→ str)

Module Contents

feriennet.exports.base.SPACES[source]
feriennet.exports.base.STREET[source]
class feriennet.exports.base.Street(name: str | None, number: str | None)[source]
__slots__ = ('name', 'number')[source]
name[source]
number[source]
feriennet.exports.base.score_street_match(match: re.Match[str] | None) int[source]
feriennet.exports.base.extract_street(address: str | None) Street[source]
feriennet.exports.base.remove_duplicate_spaces(text: str) str[source]
feriennet.exports.base.html_to_text(html: str | None) str[source]
class feriennet.exports.base.FeriennetExport(**kwargs: object)[source]

Bases: onegov.org.models.Export

activity_fields(activity: onegov.activity.models.Activity) Iterator[tuple[str, Any]][source]
booking_fields(booking: onegov.activity.models.Booking) Iterator[tuple[str, Any]][source]
attendee_fields(attendee: onegov.activity.models.Attendee) Iterator[tuple[str, Any]][source]
occasion_fields(occasion: onegov.activity.models.Occasion) Iterator[tuple[str, Any]][source]
occasion_need_fields(need: onegov.activity.models.OccasionNeed) Iterator[tuple[str, Any]][source]
activity_tags(tags: Iterable[str] | None) Iterator[tuple[str, Any]][source]
user_fields(user: onegov.user.User) Iterator[tuple[str, Any]][source]
invoice_item_fields(item: onegov.activity.models.InvoiceItem) Iterator[tuple[str, Any]][source]
invoice_attendee_fields(attendee: onegov.activity.models.Attendee) Iterator[tuple[str, Any]][source]
organiser_fields(organiser: onegov.user.User) Iterator[tuple[str, Any]][source]
volunteer_fields(volunteer: onegov.activity.models.Volunteer) Iterator[tuple[str, Any]][source]