pylottosimu package¶
Subpackages¶
Submodules¶
pylottosimu.lottosystem module¶
- class pylottosimu.lottosystem.LottoSystemData[source]¶
Bases:
object
loads predefined lottery systems. And read and write a json file of the data set.
Dataset:
name: name of the lottery system,
max_draw: highest number of draw
draw_numbers: number to pick
with_addit: with additional number
sep_addit_numbers: with separate additional number, the additional number are not in the same pot
addit_numbers: additional number to pick
max_addit: highest additional number in the separate pot
- static fixdata()[source]¶
Data of predefined lottery system.
The following are predefined: Lotto Germany (pick 6 out of 49), Lotto Austria (pick 6 out of 45), EuroMillionen, Powerball Lottery US, Mega Millions, Hot Lotto Sizzler
If you miss your favorite lottery system than could you add here.
- Returns:
data
pylottosimu.pylotto module¶
Module contents¶
Manage a Lotto simulation draw.