runnerx 1.0.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.
runnerx-1.0.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
runnerx-1.0.0/PKG-INFO ADDED
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: runnerx
3
+ Version: 1.0.0
4
+ Summary: RunnerX: a simple Python command runner library.
5
+ Author: tutuf0012
6
+ License: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.8
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Dynamic: license-file
14
+
15
+ # RunnerX
16
+
17
+ RunnerX is a small Python library for running shell commands and capturing output.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install runnerx
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ```python
28
+ import runnerx
29
+
30
+ output = runnerx.run("echo hello")
31
+ print(output)
32
+ ```
33
+
34
+ ## CLI
35
+
36
+ ```bash
37
+ runnerx "echo hello"
38
+ ```
@@ -0,0 +1,24 @@
1
+ # RunnerX
2
+
3
+ RunnerX is a small Python library for running shell commands and capturing output.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install runnerx
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ import runnerx
15
+
16
+ output = runnerx.run("echo hello")
17
+ print(output)
18
+ ```
19
+
20
+ ## CLI
21
+
22
+ ```bash
23
+ runnerx "echo hello"
24
+ ```
@@ -0,0 +1,26 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "runnerx"
7
+ version = "1.0.0"
8
+ description = "RunnerX: a simple Python command runner library."
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ authors = [
12
+ { name = "tutuf0012" }
13
+ ]
14
+ license = { text = "MIT" }
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Operating System :: OS Independent",
19
+ ]
20
+ dependencies = []
21
+
22
+ [tool.setuptools.packages.find]
23
+ exclude = ["tests*"]
24
+
25
+ [project.entry-points.console_scripts]
26
+ runnerx = "runnerx.main:main"
@@ -0,0 +1,8 @@
1
+ """RunnerX package.
2
+
3
+ Expose the core runner API for import.
4
+ """
5
+
6
+ from .main import run, main
7
+
8
+ __all__ = ["run", "main"]
@@ -0,0 +1,5 @@
1
+ """RunnerX core package."""
2
+
3
+ from .processor import run
4
+
5
+ __all__ = ["run"]
@@ -0,0 +1,5 @@
1
+ import subprocess
2
+
3
+ def run(command, shell: bool = True, capture_out: bool = True, text: bool = True) -> str:
4
+ result = subprocess.run(command, shell=shell, capture_output=capture_out, text=text)
5
+ return result.stdout
@@ -0,0 +1,4 @@
1
+ import core.processor as p
2
+
3
+ def main(command, shell: bool = True, capture_out: bool = True, text: bool = True) -> str:
4
+ return p.run(command, shell=shell, capture_out=capture_out, text=text)
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: runnerx
3
+ Version: 1.0.0
4
+ Summary: RunnerX: a simple Python command runner library.
5
+ Author: tutuf0012
6
+ License: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Requires-Python: >=3.8
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Dynamic: license-file
14
+
15
+ # RunnerX
16
+
17
+ RunnerX is a small Python library for running shell commands and capturing output.
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install runnerx
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ```python
28
+ import runnerx
29
+
30
+ output = runnerx.run("echo hello")
31
+ print(output)
32
+ ```
33
+
34
+ ## CLI
35
+
36
+ ```bash
37
+ runnerx "echo hello"
38
+ ```
@@ -0,0 +1,12 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ runnerx/__init__.py
5
+ runnerx/main.py
6
+ runnerx.egg-info/PKG-INFO
7
+ runnerx.egg-info/SOURCES.txt
8
+ runnerx.egg-info/dependency_links.txt
9
+ runnerx.egg-info/entry_points.txt
10
+ runnerx.egg-info/top_level.txt
11
+ runnerx/core/__init__.py
12
+ runnerx/core/processor.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ runnerx = runnerx.main:main
@@ -0,0 +1,2 @@
1
+ dist
2
+ runnerx
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+