Pylogram


NamePylogram JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/pylakey/pylogram
SummaryElegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
upload_time2024-03-24 14:05:23
maintainerNone
docs_urlNone
authorPylakey
requires_python~=3.10
licenseLGPLv3
keywords telegram chat messenger mtproto api client library python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
    <a href="https://github.com/pylakey/pylogram">
        <img src="https://docs.pyrogram.org/_static/pyrogram.png" alt="Pylogram" width="128">
    </a>
</p>

> [!IMPORTANT]
> I want to say thank you to [Pyrogram](https://github.com/pyrogram/pyrogram) and its contributors for the inspiration
> and
> base code. This project is a fork of Pylogram.
> This repository will contain many of incompatible changes with original Pylogram and not positioned as drop-in
> replacement.
> I will not answer any question about this repository and it's code. Issues are also disabled.

# Pylogram

[![PyPI version shields.io](https://img.shields.io/pypi/v/pylogram.svg)](https://pypi.python.org/pypi/pylogram/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/pylogram.svg)](https://pypi.python.org/pypi/pylogram/)
[![PyPI license](https://img.shields.io/pypi/l/pylogram.svg)](https://pypi.python.org/pypi/pylogram/)

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

``` python
from pylogram import Client, filters

app = Client("my_account")


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


app.run()
```

**Pylogram** 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 Pylogram 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 [TgCrypto](https://github.com/pylogram/tgcrypto), 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

``` bash
pip3 install pylogram
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pylakey/pylogram",
    "name": "Pylogram",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.10",
    "maintainer_email": null,
    "keywords": "telegram chat messenger mtproto api client library python",
    "author": "Pylakey",
    "author_email": "pylakey@protonmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ce/dd/9ca06394bb3168b2d96ab1740b03618e90d344213bf3feffc1a33bc0e351/Pylogram-0.4.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <a href=\"https://github.com/pylakey/pylogram\">\n        <img src=\"https://docs.pyrogram.org/_static/pyrogram.png\" alt=\"Pylogram\" width=\"128\">\n    </a>\n</p>\n\n> [!IMPORTANT]\n> I want to say thank you to [Pyrogram](https://github.com/pyrogram/pyrogram) and its contributors for the inspiration\n> and\n> base code. This project is a fork of Pylogram.\n> This repository will contain many of incompatible changes with original Pylogram and not positioned as drop-in\n> replacement.\n> I will not answer any question about this repository and it's code. Issues are also disabled.\n\n# Pylogram\n\n[![PyPI version shields.io](https://img.shields.io/pypi/v/pylogram.svg)](https://pypi.python.org/pypi/pylogram/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/pylogram.svg)](https://pypi.python.org/pypi/pylogram/)\n[![PyPI license](https://img.shields.io/pypi/l/pylogram.svg)](https://pypi.python.org/pypi/pylogram/)\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\n``` python\nfrom pylogram import Client, filters\n\napp = Client(\"my_account\")\n\n\n@app.on_message(filters.private)\nasync def hello(client, message):\n    await message.reply(\"Hello from Pylogram!\")\n\n\napp.run()\n```\n\n**Pylogram** is a modern, elegant and asynchronous MTProto API\nframework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot\nidentity (bot API alternative) using Python.\n\n### Key Features\n\n- **Ready**: Install Pylogram with pip and start building your applications right away.\n- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.\n- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.\n- **Fast**: Boosted up by [TgCrypto](https://github.com/pylogram/tgcrypto), a high-performance cryptography library\n  written in C.\n- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.\n- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).\n- **Powerful**: Full access to Telegram's API to execute any official client action and more.\n\n### Installing\n\n``` bash\npip3 install pylogram\n```\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
    "version": "0.4.0",
    "project_urls": {
        "Download": "https://github.com/pylakey/pylogram/releases/latest",
        "Homepage": "https://github.com/pylakey/pylogram",
        "Source": "https://github.com/pylakey/pylogram"
    },
    "split_keywords": [
        "telegram",
        "chat",
        "messenger",
        "mtproto",
        "api",
        "client",
        "library",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8de519e593ce4fab09bb5f617be9de1d4109c366ba4a6e25b3e5a104545d10d7",
                "md5": "cebf77077e92894b5aceee33dbbcf5c9",
                "sha256": "e1b53dcc3ddb91228f717ff4cd9f4372845498e4402361add39247b028ed16bf"
            },
            "downloads": -1,
            "filename": "Pylogram-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cebf77077e92894b5aceee33dbbcf5c9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.10",
            "size": 3879887,
            "upload_time": "2024-03-24T14:05:21",
            "upload_time_iso_8601": "2024-03-24T14:05:21.363961Z",
            "url": "https://files.pythonhosted.org/packages/8d/e5/19e593ce4fab09bb5f617be9de1d4109c366ba4a6e25b3e5a104545d10d7/Pylogram-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cedd9ca06394bb3168b2d96ab1740b03618e90d344213bf3feffc1a33bc0e351",
                "md5": "553558e833daa099a8e7f2bfc94e9f9f",
                "sha256": "ee3530b5baf95823aeff56d32552715c9e20f86b9cc7ba0d3cbb60538f233798"
            },
            "downloads": -1,
            "filename": "Pylogram-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "553558e833daa099a8e7f2bfc94e9f9f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.10",
            "size": 366881,
            "upload_time": "2024-03-24T14:05:23",
            "upload_time_iso_8601": "2024-03-24T14:05:23.383667Z",
            "url": "https://files.pythonhosted.org/packages/ce/dd/9ca06394bb3168b2d96ab1740b03618e90d344213bf3feffc1a33bc0e351/Pylogram-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-24 14:05:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pylakey",
    "github_project": "pylogram",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "pylogram"
}
        
Elapsed time: 1.25302s