Skip to main content

lazybot

A simple class that can call arbitrary methods and make a request to Telegrams bot api.

But why ?

While writing my userbot I wanted a easy way to make calls to the bot api without needing a full blown lib with handlers etc..

Where are the docs ?

Use the Telegram Docs and the following example as base.

import lazybot
bot = lazybot.Bot('TOKEN')
# you can use snake case
bot.send_message(chat_id=123456, text='Text')

# or camelCase
bot.sendMessage(chat_id=123456, text='Text')

Installation

pip install lazybot

Release files for lazybot 0.1.0

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

Source distribution (sdist)

Source distribution for lazybot 0.1.0
File Size Uploaded
lazybot-0.1.0.tar.gz 1.4 kB Details

Built distribution (wheel)

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

Total release size: 5.7 kB

Release files / lazybot-0.1.0.tar.gz

Download URL lazybot-0.1.0.tar.gz
Size 1.4 kB
Tags Source
SHA-256 checksum
How to use checksums
345b1eec4832b1167fcc24f1251bcc286473bba4ba779b50af635a5a41d69d47
BLAKE2b-256 checksum
How to use checksums
cc5826a9119b96a8a26737464da5cacbda93709f51eac601e9aaf061602a94b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0b3

Release files / lazybot-0.1.0-py3-none-any.whl

Download URL lazybot-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e67774de82f7659da880a03b9e08e1e026e137d9c66d656a4ffe5fa6007025ed
BLAKE2b-256 checksum
How to use checksums
8b0e7c8bac0697b8d2b6045a4ef3d124d23d00fd8ceedd1d2ac83c99eb80b0b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0b3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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