Skip to main content

k3proc

Action-CI Documentation Status Package

easy to use Popen

k3proc is a component of pykit3 project: a python3 toolkit set.

k3proc is utility to create sub process.

Execute a shell script::

>>> import k3proc
>>> returncode, out, err = k3proc.shell_script('ls / | grep bin')

Run a command::

# Unlike the above snippet, following statement does not start an sh process.
returncode, out, err = k3proc.command('ls', 'a*', cwd='/usr/local')

Install

pip install k3proc

Synopsis

>>> import k3proc
>>> returncode, out, err = k3proc.shell_script('ls / | grep bin')

Author

Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Metadata

Release files for k3proc 0.2.21

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

Source distribution (sdist)

Source distribution for k3proc 0.2.21
File Size Uploaded
k3proc-0.2.21.tar.gz 11.1 kB Details

Built distribution (wheel)

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

Total release size: 19.5 kB

Release files / k3proc-0.2.21.tar.gz

Download URL k3proc-0.2.21.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b3c961e96d9ab3a4f004c370a2cfdd36700a46b6e142a044d5d313af1a0a7728
BLAKE2b-256 checksum
How to use checksums
8bbb6210987cde85670da8e8e0e7bf00d1d29f52d6bb205b2cb9a855ee97d20e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / k3proc-0.2.21-py3-none-any.whl

Download URL k3proc-0.2.21-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d42f85853894674fb35d733b610458dcc342cca97e3703cbe9282868b8ffd76
BLAKE2b-256 checksum
How to use checksums
6db7ed3682a7f5149d88f10124a821b1645d1de2a32aac36c83620f038ed1c5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

This release

0.2.21 This release

2 release files

0.2.13

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

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