Skip to main content

Command

https://travis-ci.org/helgi/python-command.png

Wrapper around subprocess.popen with on the fly debug / logging capabilities and timeout handling.

Uses tempfiles for stdout/stderr to get past the 64kb subprocess.PIPE bug/limitation in python.

Normal command run

import command
response = command.run(['ls'])
print response.output
print response.exit

Print the output as it happens

import command
def debug(text):
    print text

response = command.run(['ls'], debug=debug)
print response.output
print response.exit

License

MIT - See LICENSE

Metadata

Release files for Command 0.1.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 Command 0.1.0
File Size Uploaded Provenance Actions
Command-0.1.0.tar.gz 5.3 kB Without provenance Details for Command-0.1.0.tar.gz

Release files / Command-0.1.0.tar.gz

Download URL Command-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
825af5adb84df91a4130c3fd112df0b33fbbb8ae77b16c29d21c6eb655102bf0
BLAKE2b-256 checksum
How to use checksums
f1aafd642369a793e4a79c99f8da8cf3f7541276c43fbe1c47f7f49c1d64928e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Command 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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