Quick start

Topics of the section:

  • Installing

  • Minimal example

Installing

Install the package from PyPI:

pip install tocketry

Minimal Example

Next, we make a quick and minimal application:

from tocketry import Tocketry

app = Tocketry()


@app.task("daily")
def do_things(): ...


if __name__ == "__main__":
    app.run()

We initialized the Tocketry application, created one task which runs every day and then we started the app. This is nothing fancy but gets you stared.

What next

This is only a small slice what Tocketry has to offer. Read further to explore the features.