WPyrogram


NameWPyrogram JSON
Version 2.0.142 PyPI version JSON
download
home_pagehttps://github.com/ALiwoto/WPyrogram
SummaryElegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork
upload_time2024-03-28 17:32:46
maintainerNone
docs_urlNone
authorDan
requires_python~=3.8
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/pyrogram/pyrogram">
        <img src="https://docs.pyrogram.org/_static/pyrogram.png" alt="Pyrogram" width="128">
    </a>
    <br>
    <b>Telegram MTProto API Framework for Python</b>
    <br>
    <a href="https://pyrogram.org">
        Homepage
    </a>
    •
    <a href="https://docs.pyrogram.org">
        Documentation
    </a>
    •
    <a href="https://docs.pyrogram.org/releases">
        Releases
    </a>
    •
    <a href="https://t.me/pyrogram">
        News
    </a>
</p>

## Pyrogram - Woto's experimental fork

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

WARNING: We merge changes made to few of pyrogram forks plus changes made by us to this repository. All the features are just customized feature mostly for personal use; there is no guarantee in them being stable, USE AT YOUR OWN RISK.
All of the repositories that we merge (some) features from are listed in [Extra.md](./Extras.md) file.

``` python
from pyrogram import Client, filters

app = Client("my_account")


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


app.run()
```

**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogram.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 Pyrogram, you can consider:

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

### Key Features

- **Ready**: Install Pyrogram 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/pyrogram/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

#### From git (recommended)

> NOTE: in order to use WPyrogram, please uninstall pyrogram first.

```sh
pip uninstall pyrogram
pip install 'wpyrogram'
```


### Resources

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ALiwoto/WPyrogram",
    "name": "WPyrogram",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": null,
    "keywords": "telegram chat messenger mtproto api client library python",
    "author": "Dan",
    "author_email": "dan@pyrogram.org",
    "download_url": "https://files.pythonhosted.org/packages/cd/bf/5c003b8776f03dc2fc4119746541843034aa835f4ce4b9f47d870cb8e9ab/WPyrogram-2.0.142.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <a href=\"https://github.com/pyrogram/pyrogram\">\n        <img src=\"https://docs.pyrogram.org/_static/pyrogram.png\" alt=\"Pyrogram\" width=\"128\">\n    </a>\n    <br>\n    <b>Telegram MTProto API Framework for Python</b>\n    <br>\n    <a href=\"https://pyrogram.org\">\n        Homepage\n    </a>\n    \u2022\n    <a href=\"https://docs.pyrogram.org\">\n        Documentation\n    </a>\n    \u2022\n    <a href=\"https://docs.pyrogram.org/releases\">\n        Releases\n    </a>\n    \u2022\n    <a href=\"https://t.me/pyrogram\">\n        News\n    </a>\n</p>\n\n## Pyrogram - Woto's experimental fork\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\nWARNING: We merge changes made to few of pyrogram forks plus changes made by us to this repository. All the features are just customized feature mostly for personal use; there is no guarantee in them being stable, USE AT YOUR OWN RISK.\nAll of the repositories that we merge (some) features from are listed in [Extra.md](./Extras.md) file.\n\n``` python\nfrom pyrogram 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 Pyrogram!\")\n\n\napp.run()\n```\n\n**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.pyrogram.org/topics/mtproto-vs-botapi)\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### Support\n\nIf you'd like to support Pyrogram, you can consider:\n\n- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).\n- [Become a LiberaPay patron](https://liberapay.com/aliwoto).\n- [Become an OpenCollective backer](https://opencollective.com/pyrogram).\n\n### Key Features\n\n- **Ready**: Install Pyrogram 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/pyrogram/tgcrypto), a high-performance cryptography library 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#### From git (recommended)\n\n> NOTE: in order to use WPyrogram, please uninstall pyrogram first.\n\n```sh\npip uninstall pyrogram\npip install 'wpyrogram'\n```\n\n\n### Resources\n\n- Check out the docs at https://docs.pyrogram.org to learn more about Pyrogram, get started right\naway and discover more in-depth material for building your client applications.\n- Join the official channel at https://t.me/pyrogram and stay tuned for news, updates and announcements.\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots - Woto's experimental fork",
    "version": "2.0.142",
    "project_urls": {
        "Community": "https://t.me/Pyrogram",
        "Documentation": "https://docs.pyrogram.org",
        "Download": "https://github.com/ALiwoto/WPyrogram",
        "Homepage": "https://github.com/ALiwoto/WPyrogram",
        "Source": "https://github.com/ALiwoto/WPyrogram",
        "Tracker": "https://github.com/ALiwoto/WPyrogram/issues"
    },
    "split_keywords": [
        "telegram",
        "chat",
        "messenger",
        "mtproto",
        "api",
        "client",
        "library",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "edbfdb2711e894f851b339b3f421565a0192f0bc44a3420308577fab523c7f81",
                "md5": "c83c5a3ccbdf4bb839c0ff90668980f8",
                "sha256": "a4282fce979103becc0ad193c0655cdde026f26ed3c62d60299709a9783173a5"
            },
            "downloads": -1,
            "filename": "WPyrogram-2.0.142-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c83c5a3ccbdf4bb839c0ff90668980f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 4152277,
            "upload_time": "2024-03-28T17:32:44",
            "upload_time_iso_8601": "2024-03-28T17:32:44.544723Z",
            "url": "https://files.pythonhosted.org/packages/ed/bf/db2711e894f851b339b3f421565a0192f0bc44a3420308577fab523c7f81/WPyrogram-2.0.142-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cdbf5c003b8776f03dc2fc4119746541843034aa835f4ce4b9f47d870cb8e9ab",
                "md5": "9456ea4db1cc0f0921130fb46cefde11",
                "sha256": "cae74b6cbc6785e7d1ffcf312efcb304fcd263174bbaea5999c39d87b356b354"
            },
            "downloads": -1,
            "filename": "WPyrogram-2.0.142.tar.gz",
            "has_sig": false,
            "md5_digest": "9456ea4db1cc0f0921130fb46cefde11",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 421287,
            "upload_time": "2024-03-28T17:32:46",
            "upload_time_iso_8601": "2024-03-28T17:32:46.451080Z",
            "url": "https://files.pythonhosted.org/packages/cd/bf/5c003b8776f03dc2fc4119746541843034aa835f4ce4b9f47d870cb8e9ab/WPyrogram-2.0.142.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-28 17:32:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ALiwoto",
    "github_project": "WPyrogram",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "wpyrogram"
}
        
Dan
Elapsed time: 0.21183s