Skip to main content


Telegram MTProto API Framework for Python


Latest GitHub release LGPL-3.0 license Python 3.8 or newer

Harukagram

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

Harukagram is an independent fork of Kurigram, adapted and rebranded to use HarukaCrypto while preserving the Pyrogram-compatible API. It provides support for the latest Telegram features, including Gifts, Stories, Topics, Business Accounts, and more.

from pyrogram import Client, filters

app = Client("my_account")


@app.on_message(filters.private)
async def hello(client, message):
    await message.reply("Hello from Harukagram!")


app.run()

Harukagram is a modern, elegant and asynchronous MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python.

Key Features

  • Ready: Install Harukagram with pip and start building your applications right away.
  • Easy: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
  • Elegant: Low-level details are abstracted and re-presented in a more convenient way.
  • Fast: Boosted up by HarukaCrypto, a high-performance cryptography library written in C.
  • Type-hinted: Types and methods are all type-hinted, enabling excellent editor support.
  • Async: Fully asynchronous (also usable synchronously if wanted, for convenience).
  • Powerful: Full access to Telegram's API to execute any official client action and more.

Installing

Stable version

pip install harukagram

Dev version

pip install https://github.com/harukasen/harukagram/archive/dev.zip --force-reinstall

Download files

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

Source Distribution

harukagram-2.3.tar.gz (651.4 kB view details)

Uploaded Source

Built Distribution

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

harukagram-2.3-py3-none-any.whl (6.0 MB view details)

Uploaded Python 3

File details

Details for the file harukagram-2.3.tar.gz.

File metadata

  • Download URL: harukagram-2.3.tar.gz
  • Upload date:
  • Size: 651.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for harukagram-2.3.tar.gz
Algorithm Hash digest
SHA256 9dd1c69813e14790b52612c0c118f4a5a3c7fbd4215f82a8cac6c4763a2f0a35
MD5 eca38289e534f6f91eb2119507a646f8
BLAKE2b-256 83980c78263dd7180fd87beb6a38efb59ecccd9b0c198cfc62925d39e74886c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for harukagram-2.3.tar.gz:

Publisher: pypi_release.yml on harukasen/harukagram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file harukagram-2.3-py3-none-any.whl.

File metadata

  • Download URL: harukagram-2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for harukagram-2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7dc12d4c0cbbbc2a09e458c322a2700e10ca9911704e34e3863e8719e372ceff
MD5 b9539ded86c12ddfb984b71502ffd730
BLAKE2b-256 b7aa7080b40640607740b084c261a50b31057d098d9794b6ebded53b19420dbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for harukagram-2.3-py3-none-any.whl:

Publisher: pypi_release.yml on harukasen/harukagram

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.4.0

2 files

2.3.2

2 files

2.3.1

2 files

This release

2.3 This release

2 files

2.2.26

2 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