Skip to main content

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.

Release files for abhakliste 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abhakliste 0.1.2
File Size Uploaded
abhakliste-0.1.2.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for abhakliste 0.1.2
File Interpreter ABI Platform
abhakliste-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / abhakliste-0.1.2.tar.gz

Download URL abhakliste-0.1.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4abdd38869f13af7e1576b6f95ef9b0dfb5cd862a748c780d4c0d2b3c12c67d6
BLAKE2b-256 checksum
How to use checksums
d4846911ccd0367f8a81c3bca8543f3b34da4b653bc5ce3c57626d87cc2b834d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.8.11 Linux/5.15.0-1019-azure

Release files / abhakliste-0.1.2-py3-none-any.whl

Download URL abhakliste-0.1.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7ed5edce2ed99ab448b399ad6c1b7edf4db92299c6228f6c05ace7e064f824f
BLAKE2b-256 checksum
How to use checksums
b62677395f071238f9face0e7b4f522ce3253124343bd8b82f34d46824cb193a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0 CPython/3.8.11 Linux/5.15.0-1019-azure

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page