Skip to main content

Add your description here

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

py_army_days-0.1.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

py_army_days-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file py_army_days-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for py_army_days-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c2f8efcec78375501f4988d8d0cf31c74d71e5739e316d8010b8933958898e2
MD5 1332b72e399f500d5caad5a7513e8d00
BLAKE2b-256 8311012c11f6823fbb3c5d6c931a4f0d7c21b6e05d3bb43c3ca02c9167a7ae62

See more details on using hashes here.

File details

Details for the file py_army_days-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_army_days-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c530abfbc9457a08edc298ebf3a4aed8a1c82cf13ae391e255575050685c660a
MD5 3aabbfb43167de2d7919217184b955bb
BLAKE2b-256 a55cba1cb4a13723025b958e35c5775dda46e7b43479b7344f34036df469fe6d

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