python-tty 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. {python_tty-0.2.0 → python_tty-0.2.1}/PKG-INFO +1 -1
  2. python_tty-0.2.1/src/python_tty/executor/__init__.py +29 -0
  3. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/PKG-INFO +1 -1
  4. python_tty-0.2.0/src/python_tty/executor/__init__.py +0 -10
  5. {python_tty-0.2.0 → python_tty-0.2.1}/.github/workflows/python-publish.yml +0 -0
  6. {python_tty-0.2.0 → python_tty-0.2.1}/.gitignore +0 -0
  7. {python_tty-0.2.0 → python_tty-0.2.1}/LICENSE +0 -0
  8. {python_tty-0.2.0 → python_tty-0.2.1}/MANIFEST.in +0 -0
  9. {python_tty-0.2.0 → python_tty-0.2.1}/NOTICE +0 -0
  10. {python_tty-0.2.0 → python_tty-0.2.1}/README.md +0 -0
  11. {python_tty-0.2.0 → python_tty-0.2.1}/README_zh.md +0 -0
  12. {python_tty-0.2.0 → python_tty-0.2.1}/demos/__init__.py +0 -0
  13. {python_tty-0.2.0 → python_tty-0.2.1}/demos/chat_room/__init__.py +0 -0
  14. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/__init__.py +0 -0
  15. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/commands/__init__.py +0 -0
  16. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/commands/root_commands.py +0 -0
  17. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/consoles/__init__.py +0 -0
  18. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/consoles/root.py +0 -0
  19. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/core/__init__.py +0 -0
  20. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/core/file_manager.py +0 -0
  21. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/exceptions/__init__.py +0 -0
  22. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/exceptions/console_exception.py +0 -0
  23. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/main.py +0 -0
  24. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/setup.py +0 -0
  25. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/utils/__init__.py +0 -0
  26. {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/utils/table.py +0 -0
  27. {python_tty-0.2.0 → python_tty-0.2.1}/docs/LOG.md +0 -0
  28. {python_tty-0.2.0 → python_tty-0.2.1}/docs/context.md +0 -0
  29. {python_tty-0.2.0 → python_tty-0.2.1}/pyproject.toml +0 -0
  30. {python_tty-0.2.0 → python_tty-0.2.1}/requirements.txt +0 -0
  31. {python_tty-0.2.0 → python_tty-0.2.1}/setup.cfg +0 -0
  32. {python_tty-0.2.0 → python_tty-0.2.1}/setup.py +0 -0
  33. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/__init__.py +0 -0
  34. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/audit/__init__.py +0 -0
  35. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/audit/sink.py +0 -0
  36. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/audit/ui_logger.py +0 -0
  37. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/__init__.py +0 -0
  38. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/core.py +0 -0
  39. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/decorators.py +0 -0
  40. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/examples/__init__.py +0 -0
  41. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/examples/root_commands.py +0 -0
  42. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/examples/sub_commands.py +0 -0
  43. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/general.py +0 -0
  44. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/mixins.py +0 -0
  45. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/registry.py +0 -0
  46. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/config/__init__.py +0 -0
  47. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/config/config.py +0 -0
  48. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/console_factory.py +0 -0
  49. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/__init__.py +0 -0
  50. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/core.py +0 -0
  51. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/decorators.py +0 -0
  52. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/examples/__init__.py +0 -0
  53. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/examples/root_console.py +0 -0
  54. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/examples/sub_console.py +0 -0
  55. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/loader.py +0 -0
  56. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/manager.py +0 -0
  57. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/registry.py +0 -0
  58. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/exceptions/__init__.py +0 -0
  59. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/exceptions/console_exception.py +0 -0
  60. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/executor/execution.py +0 -0
  61. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/executor/executor.py +0 -0
  62. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/executor/models.py +0 -0
  63. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/__init__.py +0 -0
  64. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/__init__.py +0 -0
  65. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/core.py +0 -0
  66. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/proto/runtime.proto +0 -0
  67. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/server.py +0 -0
  68. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/web/__init__.py +0 -0
  69. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/web/core.py +0 -0
  70. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/web/server.py +0 -0
  71. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/meta/__init__.py +0 -0
  72. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/__init__.py +0 -0
  73. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/context.py +0 -0
  74. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/event_bus.py +0 -0
  75. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/events.py +0 -0
  76. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/jobs.py +0 -0
  77. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/provider.py +0 -0
  78. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/router.py +0 -0
  79. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/sinks.py +0 -0
  80. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/__init__.py +0 -0
  81. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/callbacks.py +0 -0
  82. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/manager.py +0 -0
  83. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/models.py +0 -0
  84. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/policy.py +0 -0
  85. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/store.py +0 -0
  86. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/utils/__init__.py +0 -0
  87. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/utils/table.py +0 -0
  88. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/utils/tokenize.py +0 -0
  89. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/SOURCES.txt +0 -0
  90. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/dependency_links.txt +0 -0
  91. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/requires.txt +0 -0
  92. {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/top_level.txt +0 -0
  93. {python_tty-0.2.0 → python_tty-0.2.1}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-tty
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A multi-console TTY framework for complex CLI/TTY apps
5
5
  Home-page: https://github.com/ROOKIEMIE/python-tty
6
6
  Author: ROOKIEMIE
@@ -0,0 +1,29 @@
1
+ from typing import TYPE_CHECKING
2
+
3
+ if TYPE_CHECKING:
4
+ from python_tty.executor.executor import CommandExecutor
5
+ from python_tty.executor.models import Invocation, RunState, RunStatus
6
+
7
+ __all__ = [
8
+ "CommandExecutor",
9
+ "Invocation",
10
+ "RunState",
11
+ "RunStatus",
12
+ ]
13
+
14
+
15
+ def __getattr__(name):
16
+ if name == "CommandExecutor":
17
+ from python_tty.executor.executor import CommandExecutor
18
+ return CommandExecutor
19
+ if name == "Invocation":
20
+ from python_tty.executor.models import Invocation
21
+ return Invocation
22
+ if name == "RunState":
23
+ from python_tty.executor.models import RunState
24
+ return RunState
25
+ if name == "RunStatus":
26
+ from python_tty.executor.models import RunStatus
27
+ return RunStatus
28
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
29
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-tty
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A multi-console TTY framework for complex CLI/TTY apps
5
5
  Home-page: https://github.com/ROOKIEMIE/python-tty
6
6
  Author: ROOKIEMIE
@@ -1,10 +0,0 @@
1
- from python_tty.executor.executor import CommandExecutor
2
- from python_tty.executor.models import Invocation, RunState, RunStatus
3
-
4
- __all__ = [
5
- "CommandExecutor",
6
- "Invocation",
7
- "RunState",
8
- "RunStatus",
9
- ]
10
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes