shelltastic 0.1.0__tar.gz → 0.2.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.
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: shelltastic
3
+ Version: 0.2.0
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
+ Description-Content-Type: text/markdown
10
+
11
+ # shelltastic
12
+
13
+ ## Basic Usage
14
+
15
+ Run shell commands on a local host:
16
+
17
+ ```python
18
+ from shelltastic import shell
19
+
20
+ # Straight commands
21
+ shell.run("echo Hello World!")
22
+
23
+ # Or safely escape input
24
+ text = "Hello World!"
25
+ shell.run(["echo", text])
26
+ ```
27
+
28
+ It's easy to run on a remote host using SSH with the same interface:
29
+
30
+ ```python
31
+ from shelltastic import shell
32
+
33
+ # Run command on host with default username and port
34
+ shell.host("example.com").run("echo Hello World!")
35
+
36
+ # Specifying Username and Port
37
+ shell.host("example.com", username="root", port=22).run("echo Hello World!")
38
+ ```
@@ -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.0"
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,9 +13,6 @@ license-files = [
13
13
  requires-python = ">=3.12"
14
14
  dependencies = []
15
15
 
16
- [project.scripts]
17
- shelltastic = "shelltastic:main"
18
-
19
16
  [build-system]
20
17
  requires = ["uv_build>=0.11.18,<0.12.0"]
21
18
  build-backend = "uv_build"
@@ -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