Command Line System Function Runner
This package provides a command-line interface for running system commands with parsed options and arguments. It dynamically generates a function interface for any system command, allowing for easy execution and option handling.
Features
- Dynamic parsing of command options from
--helpoutput - Support for short and long option formats
- Piping input from standard input or command line argument
- Ability to list available options for a command
Installation
To install the package, clone the repository and install the dependencies:
git clone <repository-url>
cd <repository-directory>
pip install -r requirements.txt
Usage
Run the script with the following syntax:
python script_name.py <command> [ARGS]... [OPTIONS]
Arguments
command: The system command to runARGS: Additional arguments for the command (optional)
Options
-o, --option TEXT: Specify command options (can be used multiple times)-p, --pipe TEXT: Provide input to pipe to the command-P, --print-args: Print available options for the command--help: Show help message and exit
Examples
-
List available options for a command:
python script_name.py ls --print-args -
Run a command with options:
python script_name.py ls -o l -o a /home -
Pipe input to a command:
python script_name.py grep -o i -p "search text" search_pattern -
Use standard input:
echo "Hello, World!" | python script_name.py grep World
Note
This tool is designed for educational and development purposes. Use caution when running system commands, especially with elevated privileges.
Metadata
Release files for mausify 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mausify-0.0.2.tar.gz | 15.0 kB | Without provenance | Details for mausify-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mausify-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for mausify-0.0.2-py3-none-any.whl |
Total release size: 30.5 kB
Release files / mausify-0.0.2.tar.gz
| Download URL | mausify-0.0.2.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39052193606ca18d067dd45ba0fdfa1da77c38ce7e96df650d33d059791c5e3b
|
|
BLAKE2b-256 checksum How to use checksums |
fcffc6f141b2a7fd839a460f5dc7caf687e7f7bb3d6368d22b5dab106e2181b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.10.12 Linux/6.8.0-45-generic
|
Release files / mausify-0.0.2-py3-none-any.whl
| Download URL | mausify-0.0.2-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44497d88475bb354407acb2ce9854a796a48ec17460149ef409d22bdcec76526
|
|
BLAKE2b-256 checksum How to use checksums |
a887636039d4247f4b62e5eb55ee85754f3650e96024231bcde2e87e90c582c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.10.12 Linux/6.8.0-45-generic
|
Security for mausify 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.