Loligram


NameLoligram JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/kotecat/loligram
SummaryElegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
upload_time2023-12-05 15:32:40
maintainer
docs_urlNone
authorkotecat
requires_python~=3.7
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/loligram/loligram">
        <img src="https://docs.loligram.org/_static/loligram.png" alt="Loligram" width="128">
    </a>
    <br>
    <b>Telegram MTProto API Framework for Python</b>
    <br>
    <a href="https://loligram.org">
        Homepage
    </a>
    •
    <a href="https://docs.loligram.org">
        Documentation
    </a>
    •
    <a href="https://docs.loligram.org/releases">
        Releases
    </a>
    •
    <a href="https://t.me/loligram">
        News
    </a>
</p>

## Loligram

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

``` python
from loligram import Client, filters

app = Client("my_account")


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


app.run()
```

**Loligram** is a modern, elegant and asynchronous [MTProto API](https://docs.loligram.org/topics/mtproto-vs-botapi)
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.

### Support

If you'd like to support Loligram, you can consider:

- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).
- [Become a LiberaPay patron](https://liberapay.com/delivrance).
- [Become an OpenCollective backer](https://opencollective.com/loligram).

### Key Features

- **Ready**: Install Loligram 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/loligram/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 loligram
```

### Resources

- Check out the docs at https://docs.loligram.org to learn more about Loligram, get started right
away and discover more in-depth material for building your client applications.
- Join the official channel at https://t.me/loligram and stay tuned for news, updates and announcements.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kotecat/loligram",
    "name": "Loligram",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "keywords": "telegram chat messenger mtproto api client library python",
    "author": "kotecat",
    "author_email": "davidshaldunov@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/75/f1/1c17bd11e182d596e3e56056cc6bf20d7435d8486d16324593a4fcc2dc2a/Loligram-1.0.3.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\r\n    <a href=\"https://github.com/loligram/loligram\">\r\n        <img src=\"https://docs.loligram.org/_static/loligram.png\" alt=\"Loligram\" width=\"128\">\r\n    </a>\r\n    <br>\r\n    <b>Telegram MTProto API Framework for Python</b>\r\n    <br>\r\n    <a href=\"https://loligram.org\">\r\n        Homepage\r\n    </a>\r\n    \u2022\r\n    <a href=\"https://docs.loligram.org\">\r\n        Documentation\r\n    </a>\r\n    \u2022\r\n    <a href=\"https://docs.loligram.org/releases\">\r\n        Releases\r\n    </a>\r\n    \u2022\r\n    <a href=\"https://t.me/loligram\">\r\n        News\r\n    </a>\r\n</p>\r\n\r\n## Loligram\r\n\r\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\r\n\r\n``` python\r\nfrom loligram import Client, filters\r\n\r\napp = Client(\"my_account\")\r\n\r\n\r\n@app.on_message(filters.private)\r\nasync def hello(client, message):\r\n    await message.reply(\"Hello from Loligram!\")\r\n\r\n\r\napp.run()\r\n```\r\n\r\n**Loligram** is a modern, elegant and asynchronous [MTProto API](https://docs.loligram.org/topics/mtproto-vs-botapi)\r\nframework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot\r\nidentity (bot API alternative) using Python.\r\n\r\n### Support\r\n\r\nIf you'd like to support Loligram, you can consider:\r\n\r\n- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).\r\n- [Become a LiberaPay patron](https://liberapay.com/delivrance).\r\n- [Become an OpenCollective backer](https://opencollective.com/loligram).\r\n\r\n### Key Features\r\n\r\n- **Ready**: Install Loligram with pip and start building your applications right away.\r\n- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.\r\n- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.\r\n- **Fast**: Boosted up by [TgCrypto](https://github.com/loligram/tgcrypto), a high-performance cryptography library written in C.  \r\n- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.\r\n- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).\r\n- **Powerful**: Full access to Telegram's API to execute any official client action and more.\r\n\r\n### Installing\r\n\r\n``` bash\r\npip3 install loligram\r\n```\r\n\r\n### Resources\r\n\r\n- Check out the docs at https://docs.loligram.org to learn more about Loligram, get started right\r\naway and discover more in-depth material for building your client applications.\r\n- Join the official channel at https://t.me/loligram and stay tuned for news, updates and announcements.\r\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
    "version": "1.0.3",
    "project_urls": {
        "Download": "https://github.com/kotecat/loligram/releases/latest",
        "Homepage": "https://github.com/kotecat/loligram",
        "Source": "https://github.com/kotecat/loligram",
        "Tracker": "https://github.com/kotecat/loligram/issues"
    },
    "split_keywords": [
        "telegram",
        "chat",
        "messenger",
        "mtproto",
        "api",
        "client",
        "library",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "777301ada769ab95cb14996e6b1b2fcafffa124216de6399cc1308ea4611ce6e",
                "md5": "d281ea1ef1f7597299be6d1bbe75feba",
                "sha256": "927217d08c2dd947318a9e587dc3c06602bdb16ac2097d67f7be25a54c17d113"
            },
            "downloads": -1,
            "filename": "Loligram-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d281ea1ef1f7597299be6d1bbe75feba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 3830269,
            "upload_time": "2023-12-05T15:32:37",
            "upload_time_iso_8601": "2023-12-05T15:32:37.657614Z",
            "url": "https://files.pythonhosted.org/packages/77/73/01ada769ab95cb14996e6b1b2fcafffa124216de6399cc1308ea4611ce6e/Loligram-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75f11c17bd11e182d596e3e56056cc6bf20d7435d8486d16324593a4fcc2dc2a",
                "md5": "566d73bf7b252e6ae47fa29939c01b05",
                "sha256": "054647ad96e300a08baab0236bd25c13af1771a95fbf806678c03dd1c96bd627"
            },
            "downloads": -1,
            "filename": "Loligram-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "566d73bf7b252e6ae47fa29939c01b05",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 395096,
            "upload_time": "2023-12-05T15:32:40",
            "upload_time_iso_8601": "2023-12-05T15:32:40.783644Z",
            "url": "https://files.pythonhosted.org/packages/75/f1/1c17bd11e182d596e3e56056cc6bf20d7435d8486d16324593a4fcc2dc2a/Loligram-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-05 15:32:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kotecat",
    "github_project": "loligram",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "loligram"
}
        
Elapsed time: 0.14513s