Skip to main content

Overview

PyPI Version

This package includes simple pure python telegram bot that sends logs to chat.

Algorithm

from logger2telegram import Logger2tlg


tlg = Logger2tlg(chat_id="123456789", bot_id="123456789:ABCDEF1234567890ABCDEF1234567890ABC")
tlg.log("Hello world!")
  1. Create bot via bot_father bot in telegram
  2. Insert bot token to class
  3. Insert chat id to class: https://stackoverflow.com/a/32572159/9142932
  4. Create instance of logger via tlg = Logger2tlg(chat_id = "-123456789", bot_id = "BOT TOKEN FROM BOT FATHER")
  5. Send urgent logs via tlg.log("This is message")
  6. You may create multiple loggers to different chats or bots.

Installation

pip install logger2tlg

Metadata

Release files for logger2telegram 1.0.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 logger2telegram 1.0.1
File Size Uploaded Provenance
logger2telegram-1.0.1.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for logger2telegram 1.0.1
File Interpreter ABI Platform
logger2telegram-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / logger2telegram-1.0.1.tar.gz

Download URL logger2telegram-1.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ab73deabc08fdfb90e7579763b781f021f7c29798ac3ee81537e1620b538dfc5
BLAKE2b-256 checksum
How to use checksums
99ab2caba773ec01d6175f16c37235771f38bbd36315508a8e0970526053ea31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release files / logger2telegram-1.0.1-py3-none-any.whl

Download URL logger2telegram-1.0.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a406d595e78cac18345529b934ea9888b27a6676e3a7a5f34a58309e871dc4c4
BLAKE2b-256 checksum
How to use checksums
77c323b349753fdb375a1e1e7cd6823d40ca04b52cfcbf097e8d545ffdfa5765
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Security for logger2telegram 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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