Skip to main content

qaviton help functions to make things simple

Project description

Qaviton Processes

logo
version license open issues downloads code size

simple python wrappers for different processes

Installation

pip install --upgrade qaviton_processes

Requirements

  • Python 3.6+

Features

  • programmatic support for automating different processes ✓
  • system cli wrapper ✓
  • async support ✓
  • pip wrappers ✓
  • git wrappers ✓
  • python wrappers ✓
  • pytest wrappers ✓

Usages

from qaviton_processes.system import (
    run,
    pip,
    git,
    escape,
    python,
    python_code,
    pytest,
    run_async,
    pytest_async,
    python_async,
    python_code_async,
)

stdout: bytes = run(f"echo \"{escape(input('say hi:'))}\"")

process = run_async("cd proj && touch jig.txt")
while process.poll() is None:
        ...
print(process.stdout, process.stderr)

git('clone {url}.git')
pip('install', 'qaviton_processes', '-U')
python('script.py')
python_code('import os', 'if os.path.exist("proj"+os.sep+"jig.txt"):', '  print("awsome!")')
python_async('-m scripts.monitor', 'log=log.txt')
...

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

Built Distribution

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

qaviton_processes-2019.10.16.3.27.36.160569-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file qaviton_processes-2019.10.16.3.27.36.160569.tar.gz.

File metadata

  • Download URL: qaviton_processes-2019.10.16.3.27.36.160569.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for qaviton_processes-2019.10.16.3.27.36.160569.tar.gz
Algorithm Hash digest
SHA256 8cb5e52d92e982f5010f8260348a1537a6e156991b60b79f155d0f58907793ad
MD5 0fdede212377051759bd8c693b64ca1e
BLAKE2b-256 ebb7c3d343f2e23a1c19863c42778aa848f2f14681c3dab9c16250b6cc20068a

See more details on using hashes here.

File details

Details for the file qaviton_processes-2019.10.16.3.27.36.160569-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for qaviton_processes-2019.10.16.3.27.36.160569-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f5090c2595fb953e5d8100b1f24dc75eb9886f4e4372227a1452840c0e38322d
MD5 8f2d86e193e36f9b204843e8fa3c8f79
BLAKE2b-256 6cdedea6e335e690b8fd5fa147e2eecc773cce2224b81294e6de113d4ff0dd32

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