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 start-server

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/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.0a1.tar.gz (60.9 kB view details)

Uploaded Source

Built Distribution

zrb-1.0.0a1-py3-none-any.whl (91.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zrb-1.0.0a1.tar.gz
  • Upload date:
  • Size: 60.9 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.0a1.tar.gz
Algorithm Hash digest
SHA256 7d738891649873288d1c54f08ed08dbc5ff7e7d573227b10f1f43b0f7b6e4d4c
MD5 3d89214d885158c8d70a9130506c04db
BLAKE2b-256 a87cf536cd8cd12f75fa5ae7683c4b61e6b2ee4aec4c30366543d890721c510d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zrb-1.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 91.4 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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bf4202c2fb153faa4c01f969158441a421d15d37aad703248c083a39ca3d0b8
MD5 c81b0e4acdfe97d5fb8716ea5bbbf2f7
BLAKE2b-256 b2cd03e0cc13f5170f645ccded437baa324df35cacf4ecede432857754172f0b

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