Skip to main content

vikinglotto-generator

This program can generate a set of randomly picked lottery numbers for Vikinglotto and Eurojackpot.

The program's output supports showing the result using cowsay for added fun. The generated numbers are stored in a log file and can be reviewed if necessary.

Demo

中文说明

Requirements

If you need the program to display the results as cowsay, you need to have cowsay installed on your system.

Take Debian & Ubuntu as an example:

sudo apt update
sudo apt install cowsay -y

Installation

Use pip:

python3 -m pip install vikinglotto

Usage

Run the program in cowsay mode:

vikinglotto

Without using cowsay, print the result directly:

vikinglotto --plain

Generate numbers for Eurojackpot:

vikinglotto --euro

Release files for vikinglotto 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vikinglotto 0.0.8
File Size Uploaded
vikinglotto-0.0.8.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vikinglotto 0.0.8
File Interpreter ABI Platform
vikinglotto-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 30.8 kB

Release files / vikinglotto-0.0.8.tar.gz

Download URL vikinglotto-0.0.8.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9b973af219ed89b231b1170206daf202a4df9f0202448f01606816ecbb27599e
BLAKE2b-256 checksum
How to use checksums
f21a924de8df890dc1859165a5f172de2cb92be46bab732d64fe7b64c0b19647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / vikinglotto-0.0.8-py3-none-any.whl

Download URL vikinglotto-0.0.8-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e3b7e60bd7dcca4f3fece99f81f63f27a335595a869f517841a2b6192b1af17e
BLAKE2b-256 checksum
How to use checksums
b518bd302af74c561d672226f739f7033fbd1b58a39223587ecdb441e898966e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page