Skip to main content
error loading Epitech Logo error loading Jarbin-ToolKit Logo

📦 Jarbin-ToolKit:Action v0.1.2.3

Deterministic function execution system based on deferred callable actions and structured action composition


🔹 Short Description

Jarbin-ToolKit Action is a lightweight execution framework that encapsulates Python callables into structured Action objects, enabling deferred execution, composition, and batch processing through a deterministic interface.

It provides:

  • function encapsulation into executable objects
  • delayed execution model
  • composable action pipelines
  • structured batch execution system

It is not a task scheduler, but a deterministic function execution abstraction layer.


🔹 Authors

  • Nathan (Jarjarbin06)
  • Jarbin Studio

🔹 License

GPL v3


🔹 Target Audience

This library is intended for:

  • Python developers building execution pipelines
  • developers designing modular automation systems
  • projects requiring deferred execution models
  • engineers building structured workflow abstractions

🔹 Platform Support

  • Python ≥ 3.10
  • Standard library only (no external dependencies required)
  • Linux / Windows / macOS compatible

🔹 Purpose

Jarbin-ToolKit Action aims to:

  • encapsulate functions into executable objects
  • enable deferred execution of logic
  • allow composition of multiple execution units
  • provide structured batch execution through Actions

It is not a concurrency framework, but a deterministic execution abstraction layer over Python callables.


🔹 Key Features

  • Callable encapsulation via Action
  • Deferred execution using __call__
  • Batch execution with Actions
  • Action composition via operator overloading (+)
  • Ordered execution pipeline
  • Structured return aggregation

🔹 Architecture Overview

User Code
   │
   ▼
Action(name, function, args, kwargs)
   │
   ▼
Deferred Execution Model
   │
   ├───────────────┐
   ▼               ▼
__call__       Actions(list)
   │               │
   ▼               ▼
Function exec   Batch execution
   │               │
   └───────┬───────┘
           ▼
   Structured return dict

🔹 Core Concept

The system is based on two core entities:

Action

Encapsulates a callable:

Action(name, function, *args, **kwargs)

Execution is delayed until explicitly called:

action()

Actions

Container of multiple Action objects:

Actions([action1, action2])

Supports:

  • sequential execution
  • aggregation of results
  • indexing access
  • composition via +

🔹 API / Function Documentation

🔹 Action

Name Description
__init__ Stores callable and arguments
__call__ Executes stored function
__add__ Combines with another Action into Actions
__repr__ Debug representation
__str__ Human-readable representation

🔹 Actions

Name Description
__init__ Initializes action list
__call__ Executes all actions and returns dict
__add__ Combines Actions or Action
__getitem__ Access action by index
__len__ Returns number of actions
__repr__ Debug representation
__str__ Structured print output

🔹 Project Structure

jarbin_toolkit_action/
├── action.py
└── __init__.py

🔹 Usage Section

🔹 Single Action Execution

from jarbin_toolkit_action import Action

def hello(name):
    return f"Hello {name}"

a = Action("greet", hello, "Nathan")
print(a())  # Hello Nathan

🔹 Batch Execution

from jarbin_toolkit_action import Action, Actions

def add(a, b):
    return a + b

def mul(a, b):
    return a * b

a1 = Action("add", add, 2, 3)
a2 = Action("mul", mul, 2, 3)

batch = Actions([a1, a2])
print(batch())

Output:

{
    "add": 5,
    "mul": 6
}

🔹 Composition

combined = a1 + a2
print(combined())

🔹 Build / Installation

Installation

pip install jarbin-toolkit-action

🔹 Execution Behavior

  • Execution is strictly manual and explicit

  • No automatic scheduling

  • Functions are executed only via:

    • Action()
    • Actions()
  • Batch execution preserves insertion order


🔹 Memory Model

  • Action stores:

    • function reference
    • positional arguments (list)
    • keyword arguments (dict)
  • Actions stores:

    • ordered list of Action

No hidden state or dynamic mutation outside explicit operations.


🔹 Design Philosophy

  • deterministic execution over implicit behavior
  • explicit function encapsulation
  • modular execution units
  • composition over duplication
  • predictable batch processing

🔹 Current State

⚠️ Core execution model is stable and functional

Status:

  • Action encapsulation implemented
  • Batch execution implemented
  • Composition operator implemented

Limitations:

  • No async support
  • No cancellation mechanism
  • No dependency graph execution
  • No parallel execution engine

🔹 Limitations

  • synchronous execution only
  • no concurrency model
  • no runtime scheduling system
  • no error isolation between batch actions
  • minimal validation on inputs

🔹 Extension / Contribution

Possible extensions:

  • async Action support
  • execution pipelines with dependencies
  • retry mechanisms
  • parallel execution backend
  • failure isolation per Action

🔹 Notes

This system is designed as a minimal deterministic execution abstraction layer, not a full workflow engine.

It prioritizes:

  • clarity
  • predictability
  • structural simplicity

🔹 Identity Summary

Jarbin-ToolKit Action is:

  • a structured function encapsulation system
  • a deterministic execution model
  • a lightweight batch execution framework
  • a composable action abstraction layer

🔹 Final Rule

If execution behavior is not explicitly defined, it does not exist.


Metadata

Release files for jarbin-toolkit-action 0.1.2.3

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

Source distribution (sdist)

Source distribution for jarbin-toolkit-action 0.1.2.3
File Size Uploaded Provenance Actions
jarbin_toolkit_action-0.1.2.3.tar.gz 28.7 kB Without provenance Details for jarbin_toolkit_action-0.1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jarbin-toolkit-action 0.1.2.3
File Interpreter ABI Platform Actions
jarbin_toolkit_action-0.1.2.3-py3-none-any.whl Python 3 none any Details for jarbin_toolkit_action-0.1.2.3-py3-none-any.whl

Total release size: 46.7 kB

Release files / jarbin_toolkit_action-0.1.2.3.tar.gz

Download URL jarbin_toolkit_action-0.1.2.3.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
20bc81f12f207f5b331e27f8a454b44e4e928893f1f2f79c0b051425467aa5e7
BLAKE2b-256 checksum
How to use checksums
3c2cc07ea16e91dbd8adb5cf9da1adcafe6d6e969614ba6766dccf6431875fef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / jarbin_toolkit_action-0.1.2.3-py3-none-any.whl

Download URL jarbin_toolkit_action-0.1.2.3-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51c39b623370c2fb454ee0c99a43e299da918195c4ba671a6f1827c962e5aa00
BLAKE2b-256 checksum
How to use checksums
912d366f5ee794bfb06bacd19fe412da39e1de6e33a022c21294744c85c2655b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for jarbin-toolkit-action 0.1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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