A fantastic shell command runner for python
Project description
shelltastic
Basic Usage
Run shell commands on a local host:
from shelltastic import shell
# Straight commands
shell.run("echo Hello World!")
# Or safely escape input
text = "Hello World!"
shell.run(["echo", text])
It's easy to run on a remote host using SSH with the same interface:
from shelltastic import shell
# Run command on host with default username and port
shell.host("example.com").run("echo Hello World!")
# Specifying Username and Port
shell.host("example.com", username="root", port=22).run("echo Hello World!")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shelltastic-0.2.1.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shelltastic-0.2.1.tar.gz.
File metadata
- Download URL: shelltastic-0.2.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b324bcc62dc8efae9d7cc32fc818fb518be9fdcffd365224b16f40e52a14b254
|
|
| MD5 |
2f842031a0bc58986374836ed001b1fd
|
|
| BLAKE2b-256 |
7048ec7fa18709e32e73aaf0c4b505c18a351f8693b31eb35bda5e989f266347
|
File details
Details for the file shelltastic-0.2.1-py3-none-any.whl.
File metadata
- Download URL: shelltastic-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cdc646750162a7cbdd9972d1a69ab524afcd7485e0d170d44a8648c776ad2e3
|
|
| MD5 |
f5c664c32d67268d363c7b389e2de3d5
|
|
| BLAKE2b-256 |
6e88bab7bcd2c023b5f61d44ce57794ce297d24bd6731f423347641f7cec3bc7
|