GithubHelp home page GithubHelp logo

null-nick / hydrogram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hydrogram/hydrogram

0.0 0.0 0.0 8.16 MB

Sleek, advanced, and asynchronous Telegram MTProto API framework in Python, designed for fluid user and bot interactions.

Home Page: https://hydrogram.org

License: GNU Lesser General Public License v3.0

Shell 0.33% Python 99.53% Makefile 0.07% Jinja 0.06%

hydrogram's Introduction

Hydrogram
Python Framework for the Telegram MTProto API
Homepage Documentation Releases News

Hydrogram

We use Ruff PyPI package version PyPI license PyPI python versions PyPI download month GitHub Actions status

Description

Hydrogram is a Python library for interacting with the Telegram MTProto API. It provides a simple and intuitive interface for developers to leverage the power of Telegram's API in their Python applications.

Installation

To install Hydrogram, you need Python 3 installed on your system. If you don't have Python installed, you can download it from the official website.

To install Hydrogram, use pip:

pip install hydrogram -U

Usage

Here is a basic example of how to use Hydrogram:

from hydrogram import Client, filters

app = Client("my_account")


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


app.run()

Features

  • Easy to use: Hydrogram provides a simple and intuitive interface for developers to leverage the power of Telegram's API in their Python applications, while still allowing advanced usages.
  • Elegant: Low-level details are abstracted and re-presented in a more convenient way, making the Telegram API more accessible.
  • Fast: Hydrogram is boosted by TgCrypto, a high-performance cryptography library written in C, which makes it faster than other Python Telegram libraries.
  • Type-hinted: Types and methods are all type-hinted, enabling excellent editor support and making it easier to write and maintain code.
  • Async: Hydrogram is fully asynchronous, which means it can handle multiple requests at the same time, making it faster and more efficient.
  • Powerful: Hydrogram provides full access to Telegram's API to execute any official client action and more, giving developers the flexibility to build powerful applications.

Resources

  • The documentation is the technical reference for Hydrogram. It includes detailed usage guides, API reference, and more.
  • The homepage is the official website for Hydrogram. It includes a quickstart guide, a list of features, and more.
  • Our Telegram channel is where we post news and updates about Hydrogram.

Contributing

Hydrogram is an open source project and we welcome contributions from the community. We appreciate all types of contributions, including bug reports, feature requests, documentation improvements, and code contributions.

To get started, please review our Contribution Guidelines for more information.

All contributors are expected to adhere to the Code of Conduct. Please read it before contributing.

We appreciate your help in making Hydrogram better!

Support

Hydrogram is an open source project. Your support helps us maintain and improve the library. You can support the development of Hydrogram through the following platforms:

Thanks

  • Pyrogram and its contributors for the inspiration and base code.

License

You may copy, distribute and modify the software provided that modifications are described and licensed for free under LGPL-3. Derivatives works (including modifications or anything statically linked to the library) can only be redistributed under LGPL-3, but applications that use the library don't have to be.

hydrogram's People

Contributors

delivrance avatar alissonlauffer avatar hitalom avatar bakatrouble avatar teriks avatar mendelmaleh avatar josxa avatar null-nick avatar cyanbook avatar octonezd avatar spechide avatar kalmengr avatar 1pyxa1 avatar mahesh0253 avatar princic-1837592 avatar yoilyl avatar trenoduro avatar furoin avatar colinshark avatar jonatan1609 avatar ripeey avatar shivangkakkar avatar mrnaif2018 avatar midblyte avatar customicon avatar smartmanoj avatar sunda001 avatar krishna-singhal avatar harsh-br0 avatar xsolinsx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.