Metadata-Version: 2.1
Name: doomsday-trainer
Version: 0.3.0
Summary: Training tool for the Doomsday method.
Home-page: https://github.com/cbernander/doomsday-trainer
License: GPL-3.0-or-later
Author: Christofer Bernander
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: pysimplegui (>=4.60.4,<5.0.0)
Project-URL: Repository, https://github.com/cbernander/doomsday-trainer
Description-Content-Type: text/markdown

# doomsday-trainer

A simple 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](https://en.wikipedia.org/wiki/Doomsday_rule) - an algorithm
devised by [John Conway](https://en.wikipedia.org/wiki/John_Horton_Conway) in
1973 for this specific purpose.

## Dependencies

- Python 3.7+

- [Poetry](https://python-poetry.org/) for dependency management and packaging.

- [tox](https://pypi.org/project/tox/) for testing.

## 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
```

## 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
  --end-year END_YEAR   End year
```

