mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-24 20:46:28 +01:00
Todo: 3a5477b9 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
460 B
Python
17 lines
460 B
Python
"""The shared kuhy credit for Python programs.
|
|
|
|
``credit_line()`` is the terminal form; :mod:`kuhy_credit.tk` holds the
|
|
Tkinter logo widget. The words and the link come from the generated
|
|
``_data`` module, which comes from ``credit.json``.
|
|
"""
|
|
|
|
from kuhy_credit._data import TEXT, URL
|
|
|
|
|
|
def credit_line() -> str:
|
|
"""The one-line credit for terminal programs: the text, then the URL."""
|
|
return f"{TEXT} {URL}"
|
|
|
|
|
|
__all__ = ["TEXT", "URL", "credit_line"]
|