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.
- {python_tty-0.2.0 → python_tty-0.2.1}/PKG-INFO +1 -1
- python_tty-0.2.1/src/python_tty/executor/__init__.py +29 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/PKG-INFO +1 -1
- python_tty-0.2.0/src/python_tty/executor/__init__.py +0 -10
- {python_tty-0.2.0 → python_tty-0.2.1}/.github/workflows/python-publish.yml +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/.gitignore +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/LICENSE +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/MANIFEST.in +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/NOTICE +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/README.md +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/README_zh.md +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/chat_room/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/commands/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/commands/root_commands.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/consoles/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/consoles/root.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/core/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/core/file_manager.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/exceptions/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/exceptions/console_exception.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/main.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/setup.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/utils/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/demos/file_manager/utils/table.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/docs/LOG.md +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/docs/context.md +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/pyproject.toml +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/requirements.txt +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/setup.cfg +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/setup.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/audit/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/audit/sink.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/audit/ui_logger.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/core.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/decorators.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/examples/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/examples/root_commands.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/examples/sub_commands.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/general.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/mixins.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/commands/registry.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/config/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/config/config.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/console_factory.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/core.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/decorators.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/examples/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/examples/root_console.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/examples/sub_console.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/loader.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/manager.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/consoles/registry.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/exceptions/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/exceptions/console_exception.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/executor/execution.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/executor/executor.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/executor/models.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/core.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/proto/runtime.proto +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/rpc/server.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/web/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/web/core.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/frontends/web/server.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/meta/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/context.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/event_bus.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/events.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/jobs.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/provider.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/router.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/runtime/sinks.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/callbacks.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/manager.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/models.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/policy.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/session/store.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/utils/__init__.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/utils/table.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty/utils/tokenize.py +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/SOURCES.txt +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/dependency_links.txt +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/requires.txt +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/src/python_tty.egg-info/top_level.txt +0 -0
- {python_tty-0.2.0 → python_tty-0.2.1}/tests/__init__.py +0 -0
|
@@ -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
|
+
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|