Skip to main content

A Framework to Enhance Your Workflow

Project description

🤖 Zrb: Your Automation Powerhouse

With Zrb, you can write your automation tasks like this:

# Filename: zrb_init.py
from zrb import cli, Task, Group, IntInput

math = cli.add_group(Group("math", description="Math tools"))
math.add_task(Task(
    name="add",
    input=[
        IntInput("a", description="First number"),
        IntInput("b", description="Second number")
    ],
    action=lambda ctx: ctx.input.a + ctx.input.b
))

You can then access the task in various ways.

Using CLI with arguments

zrb math add 4 5

Result:

9
To run again: zrb math add --a=4 --b=5

Using CLI with keyword arguments

zrb math add --a 4 --b 5

Result:

9
To run again: zrb math add --a=4 --b=5

Using CLI with incomplete arguments

zrb math add 4

Result:

b [0]: 5
9
To run again: zrb math add 4

Using Web Interface

zrb server start

Result (you need to access http://localhost:21213)

More:

Video Title

🫰 Installing Zrb

You can install Zrb as a pip package by invoking the following command:

pip install --pre zrb

Alternatively, you can also use our installation script to install Zrb along with some prerequisites:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/state-alchemists/zrb/refs/heads/1.0.0/install.sh)"
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/state-alchemists/zrb/main/install.sh)"

🐞 Bug Report + Feature Request

You can submit bug reports and feature requests by creating a new issue on Zrb's GitHub Repositories. When reporting a bug or requesting a feature, please be sure to:

  • Include the version of Zrb you are using (i.e., zrb version)
  • Tell us what you have tried
  • Tell us what you expect
  • Tell us what you get

We will also welcome your pull requests and contributions.

☕ Donation

Help Red Skull to click the donation button:

🎉 Fun Fact

Madou Ring Zaruba (魔導輪ザルバ, Madōrin Zaruba) is a Madougu which supports bearers of the Garo Armor. (Garo Wiki | Fandom)

Madou Ring Zaruba on Kouga's Hand

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zrb-1.0.0a2.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

zrb-1.0.0a2-py3-none-any.whl (89.8 kB view details)

Uploaded Python 3

File details

Details for the file zrb-1.0.0a2.tar.gz.

File metadata

  • Download URL: zrb-1.0.0a2.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.0 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for zrb-1.0.0a2.tar.gz
Algorithm Hash digest
SHA256 6f0805f6bb8ee6d031dac214dc54fb01b0f64710db70a78efc9ae88200322cca
MD5 19034fb0205343cb6b35f049f332e324
BLAKE2b-256 f0bc52d4fd46ca1e2f9c02bd9ede068b1d4bf0d5269c81e47fc4c6dd4f00c3bf

See more details on using hashes here.

File details

Details for the file zrb-1.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: zrb-1.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 89.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.0 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for zrb-1.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 d1ae910711cd764af6200c03119e69e3dfc78979cc6b7c782ef2b7ed91261a0a
MD5 7be8711613f9c7a33ff45c88c066aecc
BLAKE2b-256 8d4661b05d528d29435fe9c2593b833e8dd3bb72e4371c6fe117a609b987fb82

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