betty.wiki.populator module

Populate ancestries with information from Wikipedia and Wikimedia.

class betty.wiki.populator.Populator

Bases: object

Populate an ancestry with information from Wikipedia and Wikimedia.

This is thread-safe, which means you can safely use this between different threads.

__init__(ancestry: EntityPool, locales: Sequence[Locale], localizers: LocalizerRepository, client: Client, copyright_notice: CopyrightNotice, *, user: User)
async populate(entity: Entity) None

Populate an entity.