Skip to main content

Botify

Getting started

Install library via pip (Unavailable yet)

pip install botify

Create config folder in your project root directory with .yaml file (name doesn't matter)

name: botify # Whatever you want, but don't use '.' character.
token: <YOUR-BOT-API-TOKEN-HERE>
db_uri: sqlite:///data.db

And then use it like this:

from botify import botify

@botify.start()
async def start_handler(message):
    await botify.send(
        message.from_user.id, "Hello, {{ user.firstname }}. {% if user.id == 1 %}You are first!{% endif %}",
        buttons = [("Github", "#https://github.com/dmitriypaulov/botify")]
    )

botify.run()

See more in docs

Release files for botify-telegram 0.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 botify-telegram 0.0.1
File Size Uploaded
botify-telegram-0.0.1.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botify-telegram 0.0.1
File Interpreter ABI Platform
botify_telegram-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.8 kB

Release files / botify-telegram-0.0.1.tar.gz

Download URL botify-telegram-0.0.1.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9a7da0b20c2367d5bdcad9475844066fcc4e3f88e35afff0912b3dbe8fa80af5
BLAKE2b-256 checksum
How to use checksums
cfc96be97ca93f3503ea5e7ae4af230d4d236af99b00d187f1eec8289acfcb1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

Release files / botify_telegram-0.0.1-py3-none-any.whl

Download URL botify_telegram-0.0.1-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efc5157c30cd91f4ea36b98a29170829c86ba54a2c63503d102ebcc54311382a
BLAKE2b-256 checksum
How to use checksums
58a71a061569053d86e02f955e18918c9ed17ed756e63972b2c332bb56b17291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.1 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