Skip to main content

picogram

small api library for telegram bot api

Installation:

pip install picogram

Example:

from picogram import Bot

bot = Bot(token='your_token')


@bot.message()
def start_message(message: dict):
    bot.send_message(chat_id=message['chat']['id'], text='Hello!')


if __name__ == '__main__':
    bot.run_polling()

Download files

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

Source Distribution

picogram-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

picogram-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file picogram-0.0.1.tar.gz.

File metadata

  • Download URL: picogram-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for picogram-0.0.1.tar.gz
Algorithm Hash digest
SHA256 843542583c45bb4ba8a305fc3a04ba9a1c28759cea660170ede47cd472eb286d
MD5 6c40776098a8726c014c735d87a96b19
BLAKE2b-256 48fc386c94734666b9066d6ce8ae344465b14b1577ad022aa1291a12cad61bab

See more details on using hashes here.

File details

Details for the file picogram-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: picogram-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for picogram-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9845ea28f4cf63f3b6b1e753a4beaed04e2efcfecd449902932d1706a71c7c8a
MD5 3d53c01812e188b898893d9c8153dead
BLAKE2b-256 3c1aab8f9a17d6484690e26fcd4e609fdf1aa3e54d2aa26b634eacb62ee25dea

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

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