Skip to main content

Subprocess with Style

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soldier-0.2.5.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

soldier-0.2.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file soldier-0.2.5.tar.gz.

File metadata

  • Download URL: soldier-0.2.5.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for soldier-0.2.5.tar.gz
Algorithm Hash digest
SHA256 b10846518edb530f0d644c9429b8cf0502abc5332f5a9875d82920ba2693a7d5
MD5 691562f86143bbbb74089e13d2c881c8
BLAKE2b-256 43130b8240a53eca1330aae9eaa7dc7db646d1e14c4885f3895d2fa0c42ac018

See more details on using hashes here.

File details

Details for the file soldier-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: soldier-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for soldier-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0bdcc4f93f00fef14e2f33148458fafe5a1172d7ce82ba2289da64ceedbd2dc0
MD5 edb32f8189d249baeae2e3273fe4350e
BLAKE2b-256 6001a7818a19b23779ea86fe2879c89e2e4a5bd4d64b4bcc77e3613308033d63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page