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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file doomsday_trainer-0.4.4.tar.gz.
File metadata
- Download URL: doomsday_trainer-0.4.4.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.0-52-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f9afcc27f22b104e4536ca2d042fcb8ea16c7eb035a0e82264c0d6b3f9e8a3b
|
|
| MD5 |
8f3ed5c6b5ce9c413199d0e4787e99a0
|
|
| BLAKE2b-256 |
db8e74c950314211e0e5c2f80d09add665a81cc3c35f795b6f7b8c51deaa2c53
|
File details
Details for the file doomsday_trainer-0.4.4-py3-none-any.whl.
File metadata
- Download URL: doomsday_trainer-0.4.4-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.10 Linux/5.15.0-52-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a71f3ccb10ed61937cc5b206a49f25cb7356821c2926c6377ad19570b9023b0e
|
|
| MD5 |
d9b67e5b192640bfc4ebb68a391cb80a
|
|
| BLAKE2b-256 |
b1cb06817d8bf9bca557ea7646ad1b6193cd3d73111a4f27eb577177f5bad1cf
|