Skip to content
:shipit: Slack Progress
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/images
spr
tests
.gitignore
LICENSE
README.md
example.py
poetry.lock
pyproject.toml
tox.ini

README.md

banner

license release

demo

Overview

The Slack Progress helps you monitor your deep learning activity with Slack.

Install

pip install git+https://github.com/skmatz/spr.git

Usage

from time import sleep

from spr import SlackProgress


def main():
    sp = SlackProgress()

    value = 0.0

    for _epoch in sp.progress(range(10)):
        value += 1.0
        sp.set_params({"value": value})

        sleep(1)


if __name__ == "__main__":
    main()

You can run example.py with:

TOKEN=xxx CHANNEL=yyy python example.py
You can’t perform that action at this time.