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.

Files for qaviton-processes, version 2019.11.1.13.50.43.917059
Filename, size File type Python version Upload date Hashes
Filename, size qaviton_processes-2019.11.1.13.50.43.917059-py2.py3-none-any.whl (7.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size qaviton_processes-2019.11.1.13.50.43.917059.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page