Skip to main content

Running multiple assertion tests one after another.

Project description

Abhakliste

PyPI version Python version Publish Package Test Deploy to GitHub Pages License: MIT pre-commit codecov

Abhakliste is a minimal task runner that prints a list of tasks and their status. It runs a collection of dependent task which can be shell commands or python functions in sequence and checks for error. Even if one task fails, it continues to run the rest of the tasks. The goal of this project is to provide a minimal task runner with a low overhead API.

Screenshot

⚙️ Installation

Install the project with pip

pip install abhakliste

🎨 Features

  • Low Overhead Task Runner
  • Visual summary of task results
  • Written in pure python (no modules)
  • Supports Python 3.8+

💡 Usage Examples

import subprocess
from abhakliste import Abhakliste

# set up runner
abhaker = Abhakliste()

# run code context
with abhaker.run_context(desc="Run ls"):
  subprocess.check_output("ls")

# run cli command
abhaker.run_cmd("ls", desc="Run ls")

# run function
def run_ls():
  subprocess.check_output("ls")
abhaker.run_func(run_ls, desc="Run ls")

# raise an error if a run failed
abhaker.raise_on_error()

📜 Documentation

For further examples on how to use the modules and a detailed API reference, see the documentation.

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

abhakliste-0.1.2.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

abhakliste-0.1.2-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

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