Skip to main content

Pipe commands with subprocess

Update 15.11.

added: pipe_commands_shelltrue / commands can be passed as strings

print(pipe_commands_shelltrue('ls',"grep .*py$","grep .*_.*").stdout.decode('utf-8', 'ignore'))
$pip install subprocess-pipe

from subprocess_pipe import pipe_commands

pa = pipe_commands(["ls"], ["grep", r".*py$"], ["grep", r"^w"])

print(pa.stdout.decode('utf-8'))



#output:

win_debugger.py

windowcapture.py

Metadata

Release files for subprocess-pipe 0.11

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

Source distribution (sdist)

Source distribution for subprocess-pipe 0.11
File Size Uploaded Provenance Actions
subprocess_pipe-0.11.tar.gz 3.0 kB Without provenance Details for subprocess_pipe-0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for subprocess-pipe 0.11
File Interpreter ABI Platform Actions
subprocess_pipe-0.11-py3-none-any.whl Python 3 none any Details for subprocess_pipe-0.11-py3-none-any.whl

Total release size: 7.4 kB

Release files / subprocess_pipe-0.11.tar.gz

Download URL subprocess_pipe-0.11.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
975bbdca520ea189c555bee961cd3f20dedbdee4a7b7aaefb0e9611661e97b2c
BLAKE2b-256 checksum
How to use checksums
8a63084f009faca45a3df203481d83efbed6d2ff52f2452dd428b20550d423f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / subprocess_pipe-0.11-py3-none-any.whl

Download URL subprocess_pipe-0.11-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cb812da36943e4761e8f8ef906b2ba17d19b850d1733cae352a5bf125e6e2c1
BLAKE2b-256 checksum
How to use checksums
b664911092ef5827c94829bb44ecb0ae39f59915c8a095fb36782924f19f2f06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for subprocess-pipe 0.11

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.11 This release

2 release files 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