Skip to main content

Module seed_data

Module seed_data 

Source
Expand description

Embedded seed data for generating realistic German names and addresses in EDIFACT fixture files.

Structs§

SeedAddress
A coherent German postal address.

Statics§

ADDRESSES
30 geographically coherent German addresses.
ANREDEN
Salutations: “Herr” and “Frau”.
NACHNAMEN
20 common German surnames.
TITEL
Titles: mostly empty (no title), occasionally academic.
VORNAMEN
20 common German first names.

Functions§

pick
Deterministic selection from a slice using a seed value.
pick_address
Pick a coherent address using a seed.
pick_index
Deterministic index selection for correlated picks.