betty.wikipedia.populator module

Populate ancestries with information from Wikipedia.

class betty.wikipedia.populator.Populator[source]

Bases: object

Populate an ancestry with information from Wikipedia.

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

This is internal. It MAY be used anywhere in Betty’s source code, but MUST NOT be used by third-party code.

__init__(ancestry: Ancestry, locales: Sequence[str], localizers: LocalizerRepository, client: Client, copyright_notice: WikipediaContributors)[source]
async populate() None[source]

Populate the ancestry.