Skip to main content

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

Metadata

Release files for py-army-days 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-army-days 0.1.0
File Size Uploaded Provenance Actions
py_army_days-0.1.0.tar.gz 15.8 kB Without provenance Details for py_army_days-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-army-days 0.1.0
File Interpreter ABI Platform Actions
py_army_days-0.1.0-py3-none-any.whl Python 3 none any Details for py_army_days-0.1.0-py3-none-any.whl

Total release size: 20.2 kB

Release files / py_army_days-0.1.0.tar.gz

Download URL py_army_days-0.1.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1c2f8efcec78375501f4988d8d0cf31c74d71e5739e316d8010b8933958898e2
BLAKE2b-256 checksum
How to use checksums
8311012c11f6823fbb3c5d6c931a4f0d7c21b6e05d3bb43c3ca02c9167a7ae62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / py_army_days-0.1.0-py3-none-any.whl

Download URL py_army_days-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c530abfbc9457a08edc298ebf3a4aed8a1c82cf13ae391e255575050685c660a
BLAKE2b-256 checksum
How to use checksums
a55cba1cb4a13723025b958e35c5775dda46e7b43479b7344f34036df469fe6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Security for py-army-days 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page