CodeMonitor
Code Monitor is a simple 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 mentioned on the Telegram side section.
messenger = Messenger("123456789")
When the class is instantiated 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")])
Metadata
Release files for CodeMonitor 1.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 | |
|---|---|---|---|---|
| CodeMonitor-1.0.2.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| CodeMonitor-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / CodeMonitor-1.0.2.tar.gz
| Download URL | CodeMonitor-1.0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be15a41359d27a1d67b87f264c04b88d8bcdb57eec4ca3bee7c33ffcbde4f240
|
|
BLAKE2b-256 checksum How to use checksums |
caad3629b7d0f76003ebdac3df9f52f8d6fd949624315f59bb6b4c0d335fcb83
|
| 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
|
Release files / CodeMonitor-1.0.2-py3-none-any.whl
| Download URL | CodeMonitor-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32d26d4d14bead331d7b284289342e444913bd40b27819fca8f86b4dd0e4f121
|
|
BLAKE2b-256 checksum How to use checksums |
3fac3eb48769e70f7eabee7a5c100d96424410f6e247c77c3b01f2512816c8a4
|
| 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
|
Security for CodeMonitor 1.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.