Training tool for the Doomsday method.
Project description
doomsday-trainer
A simple GUI program for exercising the ability to calculate the day of week for a given date (Gregorian calendar).
The name is taken from the Doomsday rule - an algorithm devised by John Conway in 1973 for this specific purpose.
Dependencies
-
Python 3.7+
Installation
pip install doomsday-trainer
Usage
usage: doomsday-trainer [-h] [--start-year START_YEAR] [--end-year END_YEAR]
optional arguments:
-h, --help show this help message and exit
--start-year START_YEAR
Start year [1800]
--end-year END_YEAR End year [2099]
Installation from source (using Poetry)
git clone https://github.com/cbernander/doomsday-trainer.git
cd doomsday-trainer
poetry build
pip install dist/doomsday_trainer-*.whl
tkinter installation
macOS
$ brew install python-tk
Ubuntu / Debian
$ sudo apt get install python3-tk
Arch Linux
$ sudo pacman -S tk
Fedora
$ sudo dnf install python3-tkinter
RHEL / CentOS / Oracle Linux
$ sudo yum install -y tkinter tk-devel
Development tools
-
Poetry for dependency management and packaging.
-
tox for testing.
-
Black for code formatting.
-
GUI built using PySimpleGUI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
doomsday_trainer-0.4.4.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for doomsday_trainer-0.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a71f3ccb10ed61937cc5b206a49f25cb7356821c2926c6377ad19570b9023b0e |
|
MD5 | d9b67e5b192640bfc4ebb68a391cb80a |
|
BLAKE2b-256 | b1cb06817d8bf9bca557ea7646ad1b6193cd3d73111a4f27eb577177f5bad1cf |