Socket
Socket
Sign inDemoInstall

abhakliste

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    abhakliste

Running multiple assertion tests one after another.


Maintainers
1

Readme

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc