Skip to main content

Action tool (Save / Call / etc...)

Project description

error loading Epitech Logo error loading Jarbin-ToolKit Logo

Jarbin-ToolKit:Action v0.1.2.0

Latest versions 🟠 UNDER DEVELOPMENT 🟠 None 🟠

🟢 RELEASED 🟢 v0.1.2.0 🟢

CodeQL Advanced Python package tester pages-build-deployment



Description

jarbin-toolkit:action is a Python library designed to help you create enhanced terminal interfaces. It's improving the appearance and readability of your command-line interface with lightweight animations, colorful text, and neat formatting. If you want to make your terminal programs more readable and visually structured, this library is for you!



Table of Contents

  1. Description
  2. Features
  3. Tech Stack
  4. Installation
  5. Usage
  6. Project Structure
  7. API Reference
  8. Release Notes
  9. License
  10. Important Links
  11. Footer

Features

  • Timers: Use the built-in stopwatch to measure how long parts of your code take to run.


Tech-Stack

  • Language: Python - Chosen for its readability and versatility.
  • Frameworks: Python - Entirely implemented in Python.


Installation

To begin , install jarbin-toolkit:action:

Prerequisites:

Make sure you have Python 3.11 or newer installed on your computer. You can check your Python version by opening a terminal and typing python --version.


Install from PyPI (recommended):

Open your terminal and run this command:

pip install jarbin_toolkit_action

This will automatically download and install the library from PyPI.


Install from GitHub:

If you want the latest version directly from the source, you can install it using git:

git clone -b latest NONE
make -C lib/jarbin_toolkit_action install

This downloads the code, then the install script handles the installation. These commands install the jarbin-toolkit:action package and its dependencies (datetime).



Usage

Here are some examples demonstrating how to use jarbin-toolkit:action:

Basic Error

from jarbin_toolkit_action import Action, Actions


API-Reference

  • Action: Callable object storing a function and its arguments for deferred execution.

    • Action(name: str, function: Callable, *args: Any, **kwargs: Any) Save a function and its arguments.
      • name: logical name of the action
      • function: callable to execute
      • *args: positional arguments for the function
      • **kwargs: keyword arguments for the function
    • __call__() -> Any Execute the stored function with its saved arguments. Returns the function’s return value.
    • __add__(other: Action) -> Actions Combine two Action objects into an Actions collection.
    • __str__() -> str Return readable string representation: 'name' : function(*args = [...], **kwargs = {...})
    • __repr__() -> str Return constructor-style representation of the Action object.
  • Actions: Collection of multiple Action objects.

    • Actions(actions: list[Action] | Action | None = None) Create a collection of actions.
      • actions: optional single Action or list of Action
    • __call__() -> dict[str, Any] Execute all stored actions sequentially. Returns a dictionary: { action_name: return_value }
    • __add__(other: Actions | Action) -> Actions Merge:
      • Actions + Actions
      • Actions + Action
    • __len__() -> int Return number of stored actions.
    • __getitem__(item: int) -> Action Return the Action at given index.
    • __str__() -> str Return formatted multi-line representation of all stored actions.
    • __repr__() -> str Return constructor-style representation of the Actions object.


Release-Notes

  • v0.1.1:

    • [/] 1rst real release
  • v0.1.0:

    • [UPDATE] jarbin_toolkit_action update (removed unlinked sub-modules)
    • [INIT] add epitech_console to jarbin-toolkit (renamed jarbin_toolkit_action)


License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.



Important-Links

Files


Wiki



Footer


⭐️ Like the project? Give it a star! 🐛 Found a bug? Report it in the issues!


Last update : **PACKAGE** — *2026/01/21* ; **README** — *2026/02/12*

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

jarbin_toolkit_action-0.1.2.1.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jarbin_toolkit_action-0.1.2.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file jarbin_toolkit_action-0.1.2.1.tar.gz.

File metadata

  • Download URL: jarbin_toolkit_action-0.1.2.1.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for jarbin_toolkit_action-0.1.2.1.tar.gz
Algorithm Hash digest
SHA256 08451774808c75be96b1cee28565ba0035e189c768734172e8edd345dbcb09bb
MD5 2547e20672144a25edbd7739f2a0e5bc
BLAKE2b-256 fe3b6ea84acb96c543458099c9555584fd58ecd3ffc6b7de5e23d21bccf7ba51

See more details on using hashes here.

File details

Details for the file jarbin_toolkit_action-0.1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jarbin_toolkit_action-0.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb962a74323abbd66ed6e7b3e8e8eb83074571c8d22b07ef0a959fe8205944bf
MD5 756338f1606a5572ea14742a4bacb6f2
BLAKE2b-256 11668e65196084aeb7bd98defec7b6db9559619056c706e587ff1cd79bf1ab11

See more details on using hashes here.

Supported by

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