Convolut-Telegram
pip install convolut-telegram
What you get
Usage
Basic
# ...
from convolut import Runner
from convolut_telegram import TelegramLogger
# ...
(Runner(loaders=[train_loader, valid_loader], epochs=epochs)
# ...
.add(TelegramLogger(token="YOUR_BOT_TOKEN_HERE", chat_id="YOUR_CHAT_ID_HERE"))
.start()
)
Environment variables
- Telegram logger uses these envs for initialization
CONVOLUT_LOGGER_TELEGRAM_TOKEN=YOUR_BOT_TOKEN_HERE
CONVOLUT_LOGGER_TELEGRAM_CHAT_ID=YOUR_CHAT_ID_HERE
CONVOLUT_LOGGER_TELEGRAM_MODE=basic # default value
CONVOLUT_LOGGER_TELEGRAM_PROXY=https://api.telegram.org # default value
- Now you can use it that way:
# ...
from convolut import Runner
from convolut_telegram import TelegramLogger
# ...
(Runner(loaders=[train_loader, valid_loader], epochs=epochs)
# ...
.add(TelegramLogger())
.start()
)
Metadata
Release files for convolut-telegram 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| convolut_telegram-0.0.2.tar.gz | 2.9 kB | Without provenance | Details |
Release files / convolut_telegram-0.0.2.tar.gz
| Download URL | convolut_telegram-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dbe8506a0747a36165d40df9348f5d1a1ee1c7cc3ef8785b05a9adbc6db195b
|
|
BLAKE2b-256 checksum How to use checksums |
7ea5bbcd9a6cdca21bd0db844ac404a014a86d2710564fd1507b0f289e848f52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for convolut-telegram 0.0.2
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.