Skip to main content

day countdown program (python edition)

Project description

Army Days (Python version)

Overview

A command-line program to display the number of days until certain events. This program (hence its name) is also based on the West Point requirement that first year cadets have to be able to recite "the days". Part of that tradition is that if it is past noon at the time, you subtract a day but add "and a butt". As most people aren't concerned about being West Point style, this is an optional feature that can be enabled via a flag. Past events can optionally be displayed via configuration.

Installing as a CLI Tool

For regular usage, it's useful to install the program using either pipx or uv tool.

Development

This project uses uv for dependency management and virtual environment management.

uv python install
uv sync

Running tests

For basic tests with coverage:

uv run pytest --cov

And for tests with coverage and more verbose output also allowing stdout:

uv run pytest --cov -v -s

Running the program

uv run army-days

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

army_days-0.2.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

army_days-0.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file army_days-0.2.0.tar.gz.

File metadata

  • Download URL: army_days-0.2.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for army_days-0.2.0.tar.gz
Algorithm Hash digest
SHA256 45a639aec6330c6b1e612732c16bb823e70c3fe07e317610b9a6f004aafa1d6f
MD5 1bdc99c71c43cd2c8e11a118d0a70fa4
BLAKE2b-256 ec8aeddb95de13c9daca203137a25d948759fa6f3f022dce65932a80e8f20ca7

See more details on using hashes here.

File details

Details for the file army_days-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: army_days-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for army_days-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61c4258374679be53e951c56491c02fd99e1abe02feb6e5a04d350038aa75c0c
MD5 9555ee5aee92bf818d0950fd15859e0e
BLAKE2b-256 78ceb32b4b88f22a92452f573a17148ce2bd7c83be951f3bd7b0e2dec25a962f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page