/whatday-pt

🗓 A CL utility for calculating the weekday of dates

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

whatday

whatday is a Python application for determining the weekday of a given date.

Installation

As a standalone script you do not need to install the application. Simply download the script and run it, after installing the dependencies and activating the environment.

conda env update -f environment.yml

To update the dependencies, run the following command:

conda env update -f environment.yml --prune

To activate the environment, run the following command:

conda activate whatday

Usage

Either specify the year, month and day as positional arguments or use the optional arguments. Per default the current date is used. If one argument stays unspecified, the current date's is used for that argument.

python3 whatday.py [-h] [-Y YEAR] [-m MONTH] [-d DAY] YEAR MONTH DAY

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GPL-3.0-or-later