Skip to main content

shelltastic

Install

pip install 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!")

To copy files to/from hosts use the scp frontend:

from shelltastic import scp

scp.host("example.com").send(...)
scp.host("example.com").receive(...)

To interact with git, there's a git frontend:

from shelltastic import git

git.clone(...)

Release files for shelltastic 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shelltastic 0.11.0
File Size Uploaded
shelltastic-0.11.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shelltastic 0.11.0
File Interpreter ABI Platform
shelltastic-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.9 kB

Release files / shelltastic-0.11.0.tar.gz

Download URL shelltastic-0.11.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ece79c9270ea0ce9ed23499c93a885e0f40799759601db55d1eac050835c8c03
BLAKE2b-256 checksum
How to use checksums
819ffd4d1ea1e369e1cf97c07a010ca37ed5ca36565667202e4eabad7daa2151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / shelltastic-0.11.0-py3-none-any.whl

Download URL shelltastic-0.11.0-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f05267a52a085c1494a2625024dd11b67cfffc7d6cb565ad0d37012b097e729e
BLAKE2b-256 checksum
How to use checksums
5965c1d88fd4c2e74280dec60b8a55c6fa1d4a10456d8673e5bad8d5ab3dfbf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.11.2

2 release files

This release

0.11.0 This release

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

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