Files
MeshTerm/meshterm/__init__.py
T
Jean-Pierre MartineauandClaude Opus 5 37e46bfda5 The project says what it is in one line
The Summary is the only description most people will ever read: it is the line
under the name in PyPI search results, the one a package manager echoes, and the
sentence that decides whether anyone opens the README. It said "A modern
command-line toolkit for tuning and exploring a MeshCore mesh", which named a
category rather than the thing, and left out every fact a reader is actually
deciding on.

The new one is JP's own wording and answers those instead: what it is (a
full-featured TUI-based MeshCore client for your terminal), how it reaches a
radio (USB, BLE, TCP), and whether it runs on the reader's machine (Windows,
MacOS, Linux). "USB" and "MacOS" are the spellings the About page already uses,
so the front door and the metadata now say it the same way.

The package docstring carries the same sentence, split at the summary line as
`D205` wants, so `help(meshterm)` and the PyPI page agree.

The README's opening is untouched. It is doing a different job — a paragraph that
gets to breathe, with the links and the longitudinal-record pitch in it — and a
one-line summary is not a replacement for it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 02:09:25 -04:00

30 lines
993 B
Python

"""MeshTerm is a full-featured TUI-based MeshCore client for your terminal.
Supports USB, BLE and TCP companion connection. For Windows, MacOS and Linux.
"""
from datetime import datetime
__version__ = "0.1.0"
__author__ = "Jean-Pierre Martineau"
#: The year MeshTerm was first published; the copyright span starts here.
COPYRIGHT_START_YEAR = 2026
def copyright_notice() -> str:
"""The one canonical copyright line, dated from :data:`COPYRIGHT_START_YEAR` to now.
A single publication year collapses to just that year ("Copyright © 2026 …"); once
time has moved on it becomes a span ("Copyright © 2026-2027 …"). Every splash and
screen that shows a copyright draws it from here so the wording, holder, and span can
never drift apart.
"""
year = datetime.now().year
span = (
str(COPYRIGHT_START_YEAR)
if year <= COPYRIGHT_START_YEAR
else f"{COPYRIGHT_START_YEAR}-{year}"
)
return f"Copyright © {span} {__author__}"