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.2.26.tar.gz (648.5 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.2.26-py3-none-any.whl (6.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for harukagram-2.2.26.tar.gz
Algorithm Hash digest
SHA256 3a2b0617098646b7467bc8e95cec24bddda0ba05339766594951e36721a6e654
MD5 10b198816ab36724aa56f56243ad8914
BLAKE2b-256 af3f6e39503b766f1cf97dd843b0583aa0b6ce7f9a1142699ba0d6458044800b

See more details on using hashes here.

Provenance

The following attestation bundles were made for harukagram-2.2.26.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.2.26-py3-none-any.whl.

File metadata

  • Download URL: harukagram-2.2.26-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.2.26-py3-none-any.whl
Algorithm Hash digest
SHA256 ab8227e61bee24a6261ed005f2f3bd03aaefc04cbf5908e30045cd1939bf32fc
MD5 2557387e72cbb01baabe2174d8e734b8
BLAKE2b-256 dab1dcd65f010a7a6dfb11c2ecca8b643798f2c8288fe4d92550d394fe9e8850

See more details on using hashes here.

Provenance

The following attestation bundles were made for harukagram-2.2.26-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

2.3

2 files

This release

2.2.26 This release

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