WPyrogram


NameWPyrogram JSON
Version 2.0.147 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-06-14 11:25:37
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/bb/1f/9197fb0c75dba33d0ec5597662ff511260303a97f3b9be5c62f429784a34/wpyrogram-2.0.147.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.147",
    "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": "36a7bd94bfbb4157a449d10aa892cc2fe90cc2dc5a0caa293475cf0dcb2cf2ad",
                "md5": "8d40143b16c7d885aae422c762a8571f",
                "sha256": "49e6060252048113e58d9729ff2e52d9d3a75faaec0a29661c0045fde80c4907"
            },
            "downloads": -1,
            "filename": "WPyrogram-2.0.147-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d40143b16c7d885aae422c762a8571f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 4396389,
            "upload_time": "2024-06-14T11:25:34",
            "upload_time_iso_8601": "2024-06-14T11:25:34.930147Z",
            "url": "https://files.pythonhosted.org/packages/36/a7/bd94bfbb4157a449d10aa892cc2fe90cc2dc5a0caa293475cf0dcb2cf2ad/WPyrogram-2.0.147-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bb1f9197fb0c75dba33d0ec5597662ff511260303a97f3b9be5c62f429784a34",
                "md5": "27f0ef9b2466f37d0291c65a947b813d",
                "sha256": "2bb576acf6ad3c154f3f7c0d5e8f0f34a7bc48f90d07eb5bed8e1cd14b963816"
            },
            "downloads": -1,
            "filename": "wpyrogram-2.0.147.tar.gz",
            "has_sig": false,
            "md5_digest": "27f0ef9b2466f37d0291c65a947b813d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 442125,
            "upload_time": "2024-06-14T11:25:37",
            "upload_time_iso_8601": "2024-06-14T11:25:37.515123Z",
            "url": "https://files.pythonhosted.org/packages/bb/1f/9197fb0c75dba33d0ec5597662ff511260303a97f3b9be5c62f429784a34/wpyrogram-2.0.147.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-14 11:25:37",
    "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.29968s