Skip to main content

Overview

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.x.0 (WIP)

  • ignore linkcheck with version tag (if tags have not been pushed it will fail)

  • Blocking message deletion?

0.5.0 (2021-02-04)

  • Add dynamic experiment channel creation.

  • TODO: update docs and tests with better examples for experiment channels.

0.4.5 (2021-02-04)

  • Wrap common errors, like 5xx Discord Gateway errors, to allow uninterrupted training.

  • Add python3.10 to tests / github workflows.

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.

Metadata

Release files for transformer-discord-notifier 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for transformer-discord-notifier 0.5.1
File Size Uploaded Provenance Actions
transformer-discord-notifier-0.5.1.tar.gz 27.3 kB Without provenance Details for transformer-discord-notifier-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for transformer-discord-notifier 0.5.1
File Interpreter ABI Platform Actions
transformer_discord_notifier-0.5.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for transformer_discord_notifier-0.5.1-py2.py3-none-any.whl

Total release size: 40.9 kB

Release files / transformer-discord-notifier-0.5.1.tar.gz

Download URL transformer-discord-notifier-0.5.1.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4902b81b8f5f2eea7ca547d6d0d6c2431e3d9a80eaf8484f1ef35ed75cc28539
BLAKE2b-256 checksum
How to use checksums
71859d72f550d4370ec34ed33e5fbfa4578c2af2b41ee60425226193b48a440c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Release files / transformer_discord_notifier-0.5.1-py2.py3-none-any.whl

Download URL transformer_discord_notifier-0.5.1-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
39e858cc94147fd1306ce69f8673251721faf067f0ef98eeffe0d3a201faab53
BLAKE2b-256 checksum
How to use checksums
5178231bbee8f73f4915f7358fd7e523aac6209534fbea090c4c8d731d3b8e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

Security for transformer-discord-notifier 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page