A Discord Notifier to send progress updates, params and results to a Discord channel.
Project description
A Discord Notifier to send progress updates, params and results to a Discord channel.
Free software: MIT license
Installation
pip install transformer-discord-notifier
You can also install the in-development version with:
pip install https://github.com/Querela/python-transformer-discord-notifier/archive/master.zip
Documentation
https://python-transformer-discord-notifier.readthedocs.io/
git clone https://github.com/Querela/python-transformer-discord-notifier.git cd python-transformer-discord-notifier sphinx-build -b html docs dist/docs
Development
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.4.5 (WIP)
Blocking message deletion?
0.4.4 (2020-12-22)
Github Actions - tox tests
0.4.3 (2020-12-18)
Github Actions - pypi publishing
0.4.2 (2020-12-18)
Add travis build jobs.
Add coveralls coverage statistics.
0.4.1 (2020-12-17)
Reintroduce tests with pytest and tox.
Add simple tests for transformer_discord_notifier.discord.DiscordClient.
Add tests for transformer_discord_notifier.transformers.DiscordProgressCallback.
0.3.1 (2020-12-17)
Let Discord bot gracefully handle initialization failures.
Let transformer callback handler handle invalid configs gracefully, to simply exit.
Better handling of edge cases of Discord client login.
0.3.0 (2020-12-16)
Add (private) scripts (make venv, run checks).
Update usage docs.
Extend / rewrite discord client methods.
Reuse existing tqdm transformers.trainer_callback.ProgressCallback for progress tracking.
Fancy aggregation of prediction runs, split train progress into epochs.
0.2.1 (2020-12-15)
Correct setup.py validation.
Add (private) distribution/docs build scripts.
0.2.0 (2020-12-15)
Refactor blocking discord code into transformer_discord_notifier.discord submodule.
Fix behaviour for __del__ with refactoring, so it work as intended.
Improve documentation for transformer_discord_notifier.discord module.
0.1.0 (2020-12-11)
First release on PyPI.
First working version, tested manually.
Cleaned up skeleton files.
Updated docs.
0.0.0 (2020-12-10)
Initial code skeleton.
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
Built Distribution
Hashes for transformer-discord-notifier-0.4.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77f08044ceadc26b3237b8aa042bab0293c8c541fc915695cc407b53216def68 |
|
MD5 | 406a9d9042e553d0fa386acf16bc46e3 |
|
BLAKE2b-256 | 2956b206da89143e809b6743fb028dfb6e8b8fc3560b4c3fb3e4909c23c5752b |
Hashes for transformer_discord_notifier-0.4.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631d9259fad3cb2290335b045e6a372d4e59ec8a7f153ba46bb2d1df4cb85772 |
|
MD5 | 83500fa3d560f85fbd37c376a0ba6f49 |
|
BLAKE2b-256 | 918e6a0be49d72071c122e1adcecd81dc868292e75cb0427249261973f34f240 |