Download Latest Version v0.2.1 source code.zip (96.0 kB)
Email in envelope

Get an email when there's a new version of H9A

Home / v0.1.0
Name Modified Size InfoDownloads / Week
Parent folder
h9a 0.1.0 source code.tar.gz 2026-08-14 89.8 kB
h9a 0.1.0 source code.zip 2026-08-14 101.9 kB
README.md 2026-08-14 839 Bytes
Totals: 3 Items   192.6 kB 0

Published to PyPI: https://pypi.org/project/h9a/0.1.0/

Added

  • Count how many times a digit appears in a range of numbers, with a colorized step-by-step breakdown.
  • ASCII-art banner via pyfiglet; styled output via rich.
  • Command-line interface (--digit, --start, --end, --json, --no-color, --screenshot, --version).
  • Importable library: count_digit(), build_lines(), render_text(), generate_screenshot().
  • Project documentation (docs/), MkDocs site, logo, and standard project files.
  • Automated documentation deployment to GitHub Pages.
  • Automated container publishing to GitHub Container Registry.

Changed

  • Restructured from a single script into an installable Python package (h9a) with a h9a console command.
  • Fixed the counting logic: the digit 9 appears 20 times between 1 and 100 (10 in ones, 10 in tens), not 19.
Source: README.md, updated 2026-08-14