Yue1Harriet1 / streamlit-rq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codecov tests Downloads

tasklit

A browser-based task scheduling app build on streamlit. Demo

How to use?

Too lazy to write cronjobs? Working on a headless system and want to have a GUI? Tasklit is a simple task scheduling application that allows you to schedule different processes via browser interface.

Get started

  • create an environment conda create --name tasklit python=3.8
  • install with pip install tasklit
  • run with tasklit
  • visit the website (default is http://localhost:8501 or network ip)
  • Submit a new task. Example to run a test script on your desktop on a Mac system: python \Users\username\Desktop\myscript.py

For local development:

  • Clone the repository locally: git clone https://github.com/straussmaximilian/tasklit.git
  • install with pip install . or pip install -e . for the editable version
  • for pinned requirments install the development-requirements: pip install .[develop]

Limitations

  • Only task execution, no logic based on return values

Planned

  • Notifications (Email, Slack, Teams)

Acknowledgements

The PyPi workflow and installation routine is largely copied form the AlphaTims- repository. Flask and Redis Queue for beginners Asynchronous tasks with flask and redis queue Using Python rq for task queues in Python

Tests

  • Run tests via coverage run -m unittest discover tests
  • Check test coverage via coverage report -m

About

License:Apache License 2.0


Languages

Language:Python 99.1%Language:Jupyter Notebook 0.5%Language:Shell 0.4%