sshplex 1.0.4__tar.gz → 1.0.8__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.
- {sshplex-1.0.4/sshplex.egg-info → sshplex-1.0.8}/PKG-INFO +1 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/pyproject.toml +1 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/__init__.py +1 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/cli.py +2 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/config-template.yaml +0 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/config.py +3 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/main.py +2 -1
- {sshplex-1.0.4 → sshplex-1.0.8/sshplex.egg-info}/PKG-INFO +1 -1
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex.egg-info/SOURCES.txt +0 -1
- sshplex-1.0.4/sshplex/populate_examples.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/LICENSE +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/MANIFEST.in +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/README.md +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/setup.cfg +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/__init__.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/logger.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/multiplexer/__init__.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/multiplexer/base.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/multiplexer/tmux.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/sot/__init__.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/sot/base.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/sot/netbox.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/ssh/__init__.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/ssh/connection.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/ssh/manager.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/ui/__init__.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/ui/host_selector.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/lib/ui/session_manager.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex/sshplex_connector.py +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex.egg-info/dependency_links.txt +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex.egg-info/entry_points.txt +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex.egg-info/requires.txt +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/sshplex.egg-info/top_level.txt +0 -0
- {sshplex-1.0.4 → sshplex-1.0.8}/tests/test_config.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sshplex"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.8"
|
|
8
8
|
description = "Multiplex your SSH connections with style"
|
|
9
9
|
authors = [{name = "MJAHED Sabri", email = "contact@sabrimjahed.com"}]
|
|
10
10
|
readme = "README.md"
|
|
@@ -4,6 +4,7 @@ import sys
|
|
|
4
4
|
import argparse
|
|
5
5
|
from typing import Any
|
|
6
6
|
|
|
7
|
+
from . import __version__
|
|
7
8
|
from .lib.config import load_config
|
|
8
9
|
from .lib.logger import setup_logging, get_logger
|
|
9
10
|
from .lib.sot.netbox import NetBoxProvider
|
|
@@ -16,7 +17,7 @@ def main() -> int:
|
|
|
16
17
|
# Parse command line arguments
|
|
17
18
|
parser = argparse.ArgumentParser(description="SSHplex CLI: Debug interface for NetBox connectivity testing.")
|
|
18
19
|
parser.add_argument('--config', type=str, default=None, help='Path to the configuration file (default: ~/.config/sshplex/sshplex.yaml)')
|
|
19
|
-
parser.add_argument('--version', action='version', version='SSHplex
|
|
20
|
+
parser.add_argument('--version', action='version', version=f'SSHplex {__version__}')
|
|
20
21
|
args = parser.parse_args()
|
|
21
22
|
|
|
22
23
|
# Load configuration (will use default path if none specified)
|
|
@@ -7,10 +7,12 @@ import shutil
|
|
|
7
7
|
import os
|
|
8
8
|
from pydantic import BaseModel, Field, validator
|
|
9
9
|
|
|
10
|
+
from .. import __version__
|
|
11
|
+
|
|
10
12
|
|
|
11
13
|
class SSHplexConfig(BaseModel):
|
|
12
14
|
"""SSHplex main configuration."""
|
|
13
|
-
version: str =
|
|
15
|
+
version: str = __version__
|
|
14
16
|
session_prefix: str = "sshplex"
|
|
15
17
|
|
|
16
18
|
|
|
@@ -7,6 +7,7 @@ from pathlib import Path
|
|
|
7
7
|
from datetime import datetime
|
|
8
8
|
from typing import Any
|
|
9
9
|
|
|
10
|
+
from . import __version__
|
|
10
11
|
from .lib.config import load_config
|
|
11
12
|
from .lib.logger import setup_logging, get_logger
|
|
12
13
|
from .lib.sot.netbox import NetBoxProvider
|
|
@@ -41,7 +42,7 @@ def main() -> int:
|
|
|
41
42
|
# Parse command line arguments
|
|
42
43
|
parser = argparse.ArgumentParser(description="SSHplex: Multiplex your SSH connections with style.")
|
|
43
44
|
parser.add_argument('--config', type=str, default=None, help='Path to the configuration file (default: ~/.config/sshplex/sshplex.yaml)')
|
|
44
|
-
parser.add_argument('--version', action='version', version='SSHplex
|
|
45
|
+
parser.add_argument('--version', action='version', version=f'SSHplex {__version__}')
|
|
45
46
|
parser.add_argument('--debug', action='store_true', help='Run in debug mode (CLI only, no TUI)')
|
|
46
47
|
args = parser.parse_args()
|
|
47
48
|
|
|
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
|