Skip to main content
#!/usr/bin/env python3.7

from shell_scripting import run, shell, shell_list

run("date | sed s/2018/2019/ > test.out")

print(shell("env | grep USER").stdout.split("\n"))

print(shell("cat /root/file"))

r = shell("cat /root/file")
print(
    f"""\
    args: {r.args}
    returncode: {r.returncode}
    stdout: {r.stdout}
    stderr: {r.stderr}\
""",
    end="",
)

for x in shell_list("env"):
    print(x)

Metadata

Release files for shell-scripting 0.0.4

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

Source distribution (sdist)

Source distribution for shell-scripting 0.0.4
File Size Uploaded Provenance Actions
shell-scripting-0.0.4.tar.gz 1.4 kB Without provenance Details for shell-scripting-0.0.4.tar.gz

Release files / shell-scripting-0.0.4.tar.gz

Download URL shell-scripting-0.0.4.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
81e62cea52ea585356723a1aae7e31d99eeea657fdc557cdf5a09be59a99893b
BLAKE2b-256 checksum
How to use checksums
7efa4e317008132ecd2f76ef7fd7caf5d5359533023c109f6fbee68213870e88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Security for shell-scripting 0.0.4

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.

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