vssh 4.0.0__tar.gz → 4.1.0__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.
@@ -1,21 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vssh
3
- Version: 4.0.0
4
- Summary: [DEPRECATED - Use Go version] Secure SSH/SCP tool
3
+ Version: 4.1.0
4
+ Summary: vssh - installs Go binary
5
5
  Author-email: MeshPOP <mpop@mpop.dev>
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/meshpop/vssh
8
- Project-URL: Repository, https://github.com/meshpop/vssh
9
- Keywords: ssh,scp,tailscale,p2p,vpn,mcp,remote
10
- Classifier: Development Status :: 4 - Beta
11
- Classifier: Environment :: Console
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Intended Audience :: System Administrators
8
+ Keywords: ssh,scp,remote
9
+ Classifier: Programming Language :: Python :: 3
14
10
  Classifier: License :: OSI Approved :: MIT License
15
11
  Classifier: Operating System :: POSIX :: Linux
16
12
  Classifier: Operating System :: MacOS
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Topic :: System :: Networking
19
13
  Requires-Python: >=3.8
20
14
  Description-Content-Type: text/markdown
21
15
  License-File: LICENSE
@@ -23,17 +17,16 @@ Dynamic: license-file
23
17
 
24
18
  # vssh
25
19
 
26
- > ⚠️ **DEPRECATED**: This Python package is no longer maintained. Please use the Go version instead:
27
- > ```bash
28
- > # macOS
29
- > brew install meshpop/tap/vssh
30
- >
31
- > # Linux
32
- > curl -sSL https://github.com/meshpop/vssh/releases/latest/download/vssh-linux-amd64 -o /usr/local/bin/vssh && chmod +x /usr/local/bin/vssh
33
- > ```
34
- > GitHub: https://github.com/meshpop/vssh
35
-
36
20
  [![PyPI](https://img.shields.io/pypi/v/vssh)](https://pypi.org/project/vssh/)
21
+
22
+ **SSH/SCP CLI - Go binary installer**
23
+
24
+ ```bash
25
+ pip install vssh
26
+ vssh # Auto-downloads Go binary on first run
27
+ ```
28
+
29
+ This package automatically downloads and installs the native Go binary for your platform.
37
30
  [![Python](https://img.shields.io/pypi/pyversions/vssh)](https://pypi.org/project/vssh/)
38
31
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
39
32
 
@@ -1,16 +1,15 @@
1
1
  # vssh
2
2
 
3
- > ⚠️ **DEPRECATED**: This Python package is no longer maintained. Please use the Go version instead:
4
- > ```bash
5
- > # macOS
6
- > brew install meshpop/tap/vssh
7
- >
8
- > # Linux
9
- > curl -sSL https://github.com/meshpop/vssh/releases/latest/download/vssh-linux-amd64 -o /usr/local/bin/vssh && chmod +x /usr/local/bin/vssh
10
- > ```
11
- > GitHub: https://github.com/meshpop/vssh
12
-
13
3
  [![PyPI](https://img.shields.io/pypi/v/vssh)](https://pypi.org/project/vssh/)
4
+
5
+ **SSH/SCP CLI - Go binary installer**
6
+
7
+ ```bash
8
+ pip install vssh
9
+ vssh # Auto-downloads Go binary on first run
10
+ ```
11
+
12
+ This package automatically downloads and installs the native Go binary for your platform.
14
13
  [![Python](https://img.shields.io/pypi/pyversions/vssh)](https://pypi.org/project/vssh/)
15
14
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
16
15
 
@@ -0,0 +1,30 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "vssh"
7
+ version = "4.1.0"
8
+ description = "vssh - installs Go binary"
9
+ readme = "README.md"
10
+ license = {text = "MIT"}
11
+ requires-python = ">=3.8"
12
+ authors = [{name = "MeshPOP", email = "mpop@mpop.dev"}]
13
+ keywords = ["ssh", "scp", "remote"]
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Operating System :: POSIX :: Linux",
18
+ "Operating System :: MacOS",
19
+ ]
20
+ dependencies = []
21
+
22
+ [project.scripts]
23
+ vssh = "vssh:main"
24
+
25
+ [project.urls]
26
+ Homepage = "https://github.com/meshpop/vssh"
27
+
28
+ [tool.setuptools.packages.find]
29
+ where = ["."]
30
+ include = ["vssh*"]
@@ -0,0 +1,51 @@
1
+ """vssh - Go binary wrapper for pip install"""
2
+ import os
3
+ import sys
4
+ import subprocess
5
+ import platform
6
+ import urllib.request
7
+ import stat
8
+ from pathlib import Path
9
+
10
+ __version__ = "4.1.0"
11
+
12
+ def get_binary_path():
13
+ local_bin = Path.home() / ".local" / "bin"
14
+ if local_bin.exists():
15
+ return local_bin / "vssh"
16
+ return Path(__file__).parent / "bin" / "vssh"
17
+
18
+ def get_download_url():
19
+ system = platform.system().lower()
20
+ machine = platform.machine().lower()
21
+
22
+ os_name = "darwin" if system == "darwin" else "linux"
23
+ arch = "arm64" if machine in ("arm64", "aarch64") else "amd64"
24
+
25
+ return f"https://github.com/meshpop/vssh/releases/latest/download/vssh-{os_name}-{arch}"
26
+
27
+ def ensure_binary():
28
+ binary_path = get_binary_path()
29
+ if binary_path.exists():
30
+ return binary_path
31
+
32
+ binary_path.parent.mkdir(parents=True, exist_ok=True)
33
+ url = get_download_url()
34
+ print(f"Downloading vssh from {url}...")
35
+ urllib.request.urlretrieve(url, binary_path)
36
+ binary_path.chmod(binary_path.stat().st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
37
+ print(f"Installed vssh to {binary_path}")
38
+ return binary_path
39
+
40
+ def main():
41
+ try:
42
+ binary_path = ensure_binary()
43
+ result = subprocess.run([str(binary_path)] + sys.argv[1:])
44
+ sys.exit(result.returncode)
45
+ except Exception as e:
46
+ print(f"Error: {e}", file=sys.stderr)
47
+ print("Install manually: https://github.com/meshpop/vssh", file=sys.stderr)
48
+ sys.exit(1)
49
+
50
+ if __name__ == "__main__":
51
+ main()
@@ -1,21 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vssh
3
- Version: 4.0.0
4
- Summary: [DEPRECATED - Use Go version] Secure SSH/SCP tool
3
+ Version: 4.1.0
4
+ Summary: vssh - installs Go binary
5
5
  Author-email: MeshPOP <mpop@mpop.dev>
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/meshpop/vssh
8
- Project-URL: Repository, https://github.com/meshpop/vssh
9
- Keywords: ssh,scp,tailscale,p2p,vpn,mcp,remote
10
- Classifier: Development Status :: 4 - Beta
11
- Classifier: Environment :: Console
12
- Classifier: Intended Audience :: Developers
13
- Classifier: Intended Audience :: System Administrators
8
+ Keywords: ssh,scp,remote
9
+ Classifier: Programming Language :: Python :: 3
14
10
  Classifier: License :: OSI Approved :: MIT License
15
11
  Classifier: Operating System :: POSIX :: Linux
16
12
  Classifier: Operating System :: MacOS
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Topic :: System :: Networking
19
13
  Requires-Python: >=3.8
20
14
  Description-Content-Type: text/markdown
21
15
  License-File: LICENSE
@@ -23,17 +17,16 @@ Dynamic: license-file
23
17
 
24
18
  # vssh
25
19
 
26
- > ⚠️ **DEPRECATED**: This Python package is no longer maintained. Please use the Go version instead:
27
- > ```bash
28
- > # macOS
29
- > brew install meshpop/tap/vssh
30
- >
31
- > # Linux
32
- > curl -sSL https://github.com/meshpop/vssh/releases/latest/download/vssh-linux-amd64 -o /usr/local/bin/vssh && chmod +x /usr/local/bin/vssh
33
- > ```
34
- > GitHub: https://github.com/meshpop/vssh
35
-
36
20
  [![PyPI](https://img.shields.io/pypi/v/vssh)](https://pypi.org/project/vssh/)
21
+
22
+ **SSH/SCP CLI - Go binary installer**
23
+
24
+ ```bash
25
+ pip install vssh
26
+ vssh # Auto-downloads Go binary on first run
27
+ ```
28
+
29
+ This package automatically downloads and installs the native Go binary for your platform.
37
30
  [![Python](https://img.shields.io/pypi/pyversions/vssh)](https://pypi.org/project/vssh/)
38
31
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
39
32
 
@@ -3,6 +3,7 @@ README.md
3
3
  pyproject.toml
4
4
  vssh.py
5
5
  vssh_mcp_server.py
6
+ vssh/__init__.py
6
7
  vssh.egg-info/PKG-INFO
7
8
  vssh.egg-info/SOURCES.txt
8
9
  vssh.egg-info/dependency_links.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ vssh = vssh:main
@@ -0,0 +1 @@
1
+ vssh
vssh-4.0.0/pyproject.toml DELETED
@@ -1,41 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "vssh"
7
- version = "4.0.0"
8
- description = "[DEPRECATED - Use Go version] Secure SSH/SCP tool"
9
- readme = "README.md"
10
- license = {text = "MIT"}
11
- requires-python = ">=3.8"
12
- authors = [
13
- {name = "MeshPOP", email = "mpop@mpop.dev"}
14
- ]
15
- keywords = ["ssh", "scp", "tailscale", "p2p", "vpn", "mcp", "remote"]
16
- classifiers = [
17
- "Development Status :: 4 - Beta",
18
- "Environment :: Console",
19
- "Intended Audience :: Developers",
20
- "Intended Audience :: System Administrators",
21
- "License :: OSI Approved :: MIT License",
22
- "Operating System :: POSIX :: Linux",
23
- "Operating System :: MacOS",
24
- "Programming Language :: Python :: 3",
25
- "Topic :: System :: Networking",
26
- ]
27
- dependencies = []
28
-
29
- [project.scripts]
30
- vssh = "vssh:main"
31
- vssh-mcp = "vssh_mcp_server:main"
32
-
33
- [project.urls]
34
- Homepage = "https://github.com/meshpop/vssh"
35
- Repository = "https://github.com/meshpop/vssh"
36
-
37
- [project.entry-points."meshpop.mcp"]
38
- vssh = "vssh_mcp_server"
39
-
40
- [tool.setuptools]
41
- py-modules = ["vssh", "vssh_mcp_server"]
@@ -1,6 +0,0 @@
1
- [console_scripts]
2
- vssh = vssh:main
3
- vssh-mcp = vssh_mcp_server:main
4
-
5
- [meshpop.mcp]
6
- vssh = vssh_mcp_server
@@ -1,2 +0,0 @@
1
- vssh
2
- vssh_mcp_server
File without changes
File without changes
File without changes
File without changes