Skip to main content

Easily send messages to Telegram

Project description

Build Status PyPI version

puzh is a simple wrapper package for the api. It supports python 3.x.

You can easily push messages to the telegram @puzhbot.


$ pip install puzh


# Simple usage
import puzh'*Hi* ✌', token='secret_token')

# Advanced usage
from puzh.puzh import Puzh

puzh = Puzh('secret_token')'*Hi* ✌')

API*objects, token=None, silent=False, sep=' ')

Push a message to the telegram @puzhbot. Using silent=True will send the message silently. Users will receive a notification without sound.

Messages can be formatted using Markdown. Multiple arguments will be separated by sep, a space by default.

The method is executed asynchronously, if it fails, it will swallow any exception silently.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
puzh-1.1.1-py3-none-any.whl (2.7 kB) Copy SHA256 hash SHA256 Wheel py3
puzh-1.1.1.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page