Skip to content

Package jwt_tool as an installable CLI (pyproject + entrypoint)#140

Open
Trigus42 wants to merge 5 commits intoticarpi:masterfrom
Trigus42:master
Open

Package jwt_tool as an installable CLI (pyproject + entrypoint)#140
Trigus42 wants to merge 5 commits intoticarpi:masterfrom
Trigus42:master

Conversation

@Trigus42
Copy link

Summary
Modernizes distribution so jwt_tool can be installed/run as a console script, updates install docs accordingly, and makes Windows colour support optional.

Changes

  • Adds Python packaging via pyproject.toml with console script entrypoint (jwt-tool) and optional dependency group for Windows colours.
  • Refactors jwt_tool.py to expose a main() function and keep __main__ behavior.
  • Auto-enables colorama when available (no hard dependency).
  • Updates installation/usage guidance in README.md and setup.txt for uv/pip.
  • Adds lockfile and housekeeping: uv.lock, .gitignore, .python-version.

Notes

  • requirements.txt is removed in favor of pyproject.toml.
  • Windows colour support is now opt-in via .[win-colour].

@Trigus42 Trigus42 force-pushed the master branch 2 times, most recently from d2ee9f0 to 5fafbc7 Compare February 12, 2026 09:42
@Trigus42 Trigus42 force-pushed the master branch 2 times, most recently from e1bb83d to 985c12d Compare February 12, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant