Skip to main content

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

  1. PyCMD is designed to be simple to use, with a focus on ease of integration into existing projects.
  2. It allows you to write shell commands in Python, making your scripts more readable and maintainable.
  3. 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)

Source distribution for PyShellX 1.0.7
File Size Uploaded
pyshellx-1.0.7.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyShellX 1.0.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page