Soldier: Subprocess with Style
Soldier is an Apache2 licensed library designed for executing and managing system processes with ease.
It is written on top of subprocess and has a much user-friendly and pythonic interface.
And the best part - it is very easy to get started
Installation
$ pip install soldier
Getting Started
>>> import soldier
>>> print soldier.run('pwd').output
/home/python/
>>> firefox_process = soldier.run('firefox', background=True)
>>> firefox_process.pid
20749
>>> job = soldier.run('myjob', timeout=30)
Documentation
The documentation is available at soldier.readthedocs.io
Metadata
Release files for soldier 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| soldier-0.2.5.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| soldier-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / soldier-0.2.5.tar.gz
| Download URL | soldier-0.2.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b10846518edb530f0d644c9429b8cf0502abc5332f5a9875d82920ba2693a7d5
|
|
BLAKE2b-256 checksum How to use checksums |
43130b8240a53eca1330aae9eaa7dc7db646d1e14c4885f3895d2fa0c42ac018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Release files / soldier-0.2.5-py3-none-any.whl
| Download URL | soldier-0.2.5-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bdcc4f93f00fef14e2f33148458fafe5a1172d7ce82ba2289da64ceedbd2dc0
|
|
BLAKE2b-256 checksum How to use checksums |
6001a7818a19b23779ea86fe2879c89e2e4a5bd4d64b4bcc77e3613308033d63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|