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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file abhakliste-0.1.2.tar.gz.

File metadata

  • Download URL: abhakliste-0.1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.11 Linux/5.15.0-1019-azure

File hashes

Hashes for abhakliste-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4abdd38869f13af7e1576b6f95ef9b0dfb5cd862a748c780d4c0d2b3c12c67d6
MD5 0150072dc8f92615766e5cde6185f4b6
BLAKE2b-256 d4846911ccd0367f8a81c3bca8543f3b34da4b653bc5ce3c57626d87cc2b834d

See more details on using hashes here.

File details

Details for the file abhakliste-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: abhakliste-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.11 Linux/5.15.0-1019-azure

File hashes

Hashes for abhakliste-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7ed5edce2ed99ab448b399ad6c1b7edf4db92299c6228f6c05ace7e064f824f
MD5 3a1fc182d09c6decee5fac4d30d3479a
BLAKE2b-256 b62677395f071238f9face0e7b4f522ce3253124343bd8b82f34d46824cb193a

See more details on using hashes here.

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