README
PyShellX is a lightweight Python-based command execution tool that replaces traditional shell scripts with Python files. It provides a clean, cross-platform way to execute shell commands with proper error handling, argument parsing, and workflow management.
Introduction
- PyCMD is designed to be simple to use, with a focus on ease of integration into existing projects.
- It allows you to write shell commands in Python, making your scripts more readable and maintainable.
- PyCMD provides built-in error handling, argument parsing, and workflow management, reducing the need for custom scripting.
Usage
pycmd -f Command.py
You Just Write a Python File, named Command.py or Command, and PyShellX Will Do the Rest! next , run pycmd or pycmd -f Command.
Command.py exmaple
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from pycmd.environ import Environment
env = Environment()
output = env.Execute("echo Testing without install")
print(output)
Metadata
Release files for PyShellX 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyshellx-1.0.7.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyshellx-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.4 kB
Release files / pyshellx-1.0.7.tar.gz
| Download URL | pyshellx-1.0.7.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ece81147810d4fac648b4fbb0777431acbc04d42a7c6f309cc9bce126a61089
|
|
BLAKE2b-256 checksum How to use checksums |
e59b07e6c79462147bcede0e596a96d2191c4ebd1ac37e93f86b098527a4b227
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / pyshellx-1.0.7-py3-none-any.whl
| Download URL | pyshellx-1.0.7-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbbc74979a500b83f1926b881a1db0d273a9317a1a30d8ff6a4ec163cc597111
|
|
BLAKE2b-256 checksum How to use checksums |
8802b34ccb29cf5fc291f43804a1779c10c126ef2f77a7d23de22db3dbe936fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|