1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
CodeMonitor
Code Monitor is a simples way to send feedback about your code to your smartphone as a Telegram message!
Set up
Telegram side
- Open Telegram and search for CodeMonitor bot.
- Send any message to it.
- Once you send any message the Bot will return a message like 'Your code is: "123456789"' this is your chat code, it will be used to identify your chat on python side.
Python side
- install the Code Monitor dependency through the following command
pip install CodeMonitor
- now import it in your code
from CodeMonitor.telegram import Messenger, FitMonitor
- Once CodeMonitor is imported you'll be able to use two classes: Messenger and FitMonitor, first let's talk about Messenger class.
Messenger
This class allows you to send any string you want to the Telegram chat, only requiring the chat code as metioned on the Telegram side section.
messenger = Messenger("123456789")
When the class is instancieted it send the message "All ready!", to send your own messages do like the following code snippet.
messenger.send_message("your awesome message!")
FitMonitor
This class is a callback that send feedback about the training of a Keras Neural Network model, it is very usefull if you're training a model for a very long time and need to leave your computer but still want to know how good your training is doing. At the end of each epoch this callback is going to send information about the accuracy and loss (and validation accuracy and loss when possible) of the model.
model.fit(X_train, Y_train,
epochs = 10,
validation_data = (X_test, Y_test),
callbacks=[FitMonitor("123456789")])
Release files for CodeMonitor 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| CodeMonitor-0.1.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| CodeMonitor-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / CodeMonitor-0.1.0.tar.gz
| Download URL | CodeMonitor-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b18142f30a32601b45e47ccf8317c7c8a25911ac5c2cdeb76772ea9be8939c10
|
|
BLAKE2b-256 checksum How to use checksums |
d4833a5dcf6484c45ce0f68e3d66c9e24f96e121300f41aa6541d1399c704691
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.2
|
Release files / CodeMonitor-0.1.0-py3-none-any.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | CodeMonitor-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec0c3c21d386696582e82c06f18174f2183df247952e0a24637fceddbad744e9
|
|
BLAKE2b-256 checksum How to use checksums |
93c15fdaf0978b20b12cb6fd3abc48a813eac800506ed06166ed6e76835e2b7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|