Skip to main content

puzh

Build Status PyPI version

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

You can easily push messages to the telegram @puzhbot.

Install

$ pip install puzh

Usage

# Simple usage
import puzh

puzh.it('*Hi* ✌', token='secret_token')


# Advanced usage
from puzh import Puzh

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

API

puzh.it(*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.

Metadata

Release files for puzh 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for puzh 1.1.2
File Size Uploaded Provenance
puzh-1.1.2.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 6.1 kB

Release files / puzh-1.1.2.tar.gz

Download URL puzh-1.1.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
13d735f657d081c548954775c926df9b9255badd88d61ae411edfb8205432741
BLAKE2b-256 checksum
How to use checksums
668676b185679cede0799fcf4e176c18c7ac3785526f305c0e0c0ac26f50b00e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

Release files / puzh-1.1.2-py3-none-any.whl

Download URL puzh-1.1.2-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
640e01db6cb9231b13317280918c9ca227da50b6b50ff391458433caeeb8d72a
BLAKE2b-256 checksum
How to use checksums
fdfb5bc24244a57bb4a81150daf4d38cfbfebcdae3319605d70ccbf0e5659fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

Security for puzh 1.1.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.

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