Skip to main content

Soldier: Subprocess with Style

image image Documentation

image

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)

Source distribution for soldier 0.2.5
File Size Uploaded
soldier-0.2.5.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for soldier 0.2.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

4 release files

0.1

0.0.2

3 release files

0.0.1.4

1 release file

0.0.1.3

1 release file

0.0.1.2

1 release file

0.0.1.1

1 release file

0.0.1

1 release file

0.0.1a

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