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 Rust.
  • 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.4.0.tar.gz (782.2 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.4.0-py3-none-any.whl (6.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for harukagram-2.4.0.tar.gz
Algorithm Hash digest
SHA256 d1dfd3fdc52a77798417f68eea34db82df3a84e3f8695187c3e204a98b789bd5
MD5 73d862de9cd689198fb0584a497495ab
BLAKE2b-256 32ef5079e8d836115b9e013c9e7eb256fff0cc0afc22ce479be34de870dcbe66

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: harukagram-2.4.0-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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad1feb22fd38edd8d93e4fc9164f58704bf70ab788188509460251f8d4f32495
MD5 8ff7bf457fb8f0b95ef8374ce80d9dcb
BLAKE2b-256 8ed5f4faabff200a3d04a13a6c86af4bdb58cb3aabacaf5c7d08d27706543898

See more details on using hashes here.

Provenance

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

This release

2.4.0 This release

2 files

2.3.2

2 files

2.3.1

2 files

2.3

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