jw-python/src/python/jwutils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 8681317e8c
jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd
This commit does a couple of things in one go:

- Move the implementations from jw.util.Cmds and jw.util.Cmd back to
  jwutils where they came from to remain backwards compatible for
  code still using jwutils.

- No code uses jw.util.Cmds and jw.util.Cmd yet, so remove them.

- Add new jw.util.App and jw.util.Cmd classes instead, which are
  re-exported modules from jw.pkg.lib. These implementations are very
  similar, but not identical to jwutils.Cmds and jwutils.App.

Originally, Cmds and Cmd had been copied from jw-python to jw-pkg App
and Cmd, respectively, because an App class proved indispensible in
jw-pkg.  The two classes have subsequently evolved in jw-pkg, and
re-using them here ends the fork and removes the redundancy.

This makes jw-python expose the same App / Cmd pair as jw.pkg does
for as long as Cmds is still in use. In the future, it might be a
good idea to remove Cmds, Cmd and App from jw-python entirely.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-12 23:10:11 +00:00
..
algo jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
asyncio jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
auth jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
db jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
graph jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
stree jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
__init__.py jwutils: Add missing types 2026-06-14 11:36:34 +02:00
ArgsContainer.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Bunch.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
cast.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Cmd.py jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd 2026-08-12 23:10:11 +00:00
Cmds.py jw.util.Cmds, .Cmd, .App: Use jw.pkg.lib.App + .Cmd 2026-08-12 23:10:11 +00:00
Config.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
CppState.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
ldap.py jwutils: Add missing types 2026-06-14 11:36:34 +02:00
log.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Makefile jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
misc.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
multi_key_dict.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Object.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Options.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Process.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
RedirectStdIO.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
replace.sh jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
Signals.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
StopWatch.py jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00