Skip to main content

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


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.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shelltastic-0.2.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file shelltastic-0.2.0.tar.gz.

File metadata

  • Download URL: shelltastic-0.2.0.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

Hashes for shelltastic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ad4c98d0818b35dd9189779858c35b3c2ec4cb295ab47364919e5e39fda1fdfc
MD5 6c0dcd3ee00541679a105d8e326b68d4
BLAKE2b-256 ec5684bcf598dd07bc0f281e3a85895f4e5946148b095c7c0420ddfcb9499fcb

See more details on using hashes here.

File details

Details for the file shelltastic-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: shelltastic-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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

Hashes for shelltastic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df0abecf02ef9589f61e65af35ef6dfb9c540ff64f145eb22bb846857e3351e1
MD5 3d8a794095b8dc900c8e28206325602c
BLAKE2b-256 79a11343a1f858b2a1ff8a1b84defa996b55b3b552bb38ddff195d5821ed67ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page