shelltastic 0.1.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.
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: shelltastic
3
+ Version: 0.2.1
4
+ Summary: A fantastic shell command runner for python
5
+ Author: Bearmine
6
+ License-Expression: MPL-2.0
7
+ License-File: LICENSE
8
+ Requires-Python: >=3.12
9
+ Project-URL: Repository, https://forge.bearmine.com/bearmine/shelltastic
10
+ Description-Content-Type: text/markdown
11
+
12
+ # shelltastic
13
+
14
+ ## Basic Usage
15
+
16
+ Run shell commands on a local host:
17
+
18
+ ```python
19
+ from shelltastic import shell
20
+
21
+ # Straight commands
22
+ shell.run("echo Hello World!")
23
+
24
+ # Or safely escape input
25
+ text = "Hello World!"
26
+ shell.run(["echo", text])
27
+ ```
28
+
29
+ It's easy to run on a remote host using SSH with the same interface:
30
+
31
+ ```python
32
+ from shelltastic import shell
33
+
34
+ # Run command on host with default username and port
35
+ shell.host("example.com").run("echo Hello World!")
36
+
37
+ # Specifying Username and Port
38
+ shell.host("example.com", username="root", port=22).run("echo Hello World!")
39
+ ```
@@ -0,0 +1,28 @@
1
+ # shelltastic
2
+
3
+ ## Basic Usage
4
+
5
+ Run shell commands on a local host:
6
+
7
+ ```python
8
+ from shelltastic import shell
9
+
10
+ # Straight commands
11
+ shell.run("echo Hello World!")
12
+
13
+ # Or safely escape input
14
+ text = "Hello World!"
15
+ shell.run(["echo", text])
16
+ ```
17
+
18
+ It's easy to run on a remote host using SSH with the same interface:
19
+
20
+ ```python
21
+ from shelltastic import shell
22
+
23
+ # Run command on host with default username and port
24
+ shell.host("example.com").run("echo Hello World!")
25
+
26
+ # Specifying Username and Port
27
+ shell.host("example.com", username="root", port=22).run("echo Hello World!")
28
+ ```
@@ -1,10 +1,10 @@
1
1
  [project]
2
2
  name = "shelltastic"
3
- version = "0.1.0"
4
- description = "Add your description here"
3
+ version = "0.2.1"
4
+ description = "A fantastic shell command runner for python"
5
5
  readme = "README.md"
6
6
  authors = [
7
- { name = "Bearmine", email = "bearmine@bearmine.com" }
7
+ { name = "Bearmine" }
8
8
  ]
9
9
  license = "MPL-2.0"
10
10
  license-files = [
@@ -13,8 +13,8 @@ license-files = [
13
13
  requires-python = ">=3.12"
14
14
  dependencies = []
15
15
 
16
- [project.scripts]
17
- shelltastic = "shelltastic:main"
16
+ [project.urls]
17
+ Repository = "https://forge.bearmine.com/bearmine/shelltastic"
18
18
 
19
19
  [build-system]
20
20
  requires = ["uv_build>=0.11.18,<0.12.0"]
@@ -5,7 +5,3 @@ __all__ = ["shell", "scp"]
5
5
 
6
6
  shell = LocalShellFrontend()
7
7
  scp = SCP()
8
-
9
-
10
- def main() -> None:
11
- print("Hello from shellnostic!")
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: shelltastic
3
- Version: 0.1.0
4
- Summary: Add your description here
5
- Author: Bearmine
6
- Author-email: Bearmine <bearmine@bearmine.com>
7
- License-Expression: MPL-2.0
8
- License-File: LICENSE
9
- Requires-Python: >=3.12
10
- Description-Content-Type: text/markdown
11
-
12
- # shelltastic
13
-
@@ -1,2 +0,0 @@
1
- # shelltastic
2
-
File without changes