Skip to main content

A telegram SDK offering clean and simple route decorators.

Project description

Note: This is not the official pyTelegramBotAPI library. This is a lightweight alternative with similar syntax and functionality. If you accidentally install this package instead of pyTelegramBotAPI, don't worry. your basic bot code will still work seamlessly. This package maintains compatibility with common pyTelegramBotAPI patterns while providing additional simplicity and ease of use.

Example Setup

from sounava import telegram

bot = telegram("YOUR_BOT_TOKEN")

@bot.command('/start')
def start_command(update, bot):
    bot.reply(update, "Hello World!.")

@bot.message
def echo(update, bot):
    bot.reply(update, f"You said: {update['message']['text']}")

bot.start()

Project details


Download files

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

Source Distribution

sounava-0.0.10.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sounava-0.0.10-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sounava-0.0.10.tar.gz.

File metadata

  • Download URL: sounava-0.0.10.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for sounava-0.0.10.tar.gz
Algorithm Hash digest
SHA256 e06a3aebe2da0db69927c15d3ca1b0eaaea6fba31e5015ff5108c935112a35e8
MD5 db952c00bec12ea7ea822d703607205a
BLAKE2b-256 bc45085d58277731ea66bcb83887a52c0ba41f846f647817925e31a102a772bd

See more details on using hashes here.

File details

Details for the file sounava-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: sounava-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for sounava-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 39175f9f6bbcb174a292a4201765ff00244ff8c2482f617710848386761e07a5
MD5 cfe9bb1a8eb0cf72463ecc3d6c68cc22
BLAKE2b-256 ccc82ccf4c20b6f6b56c93a971d7a012d91fbee0020dc2202a7abababb4d3837

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page