Newgram


NameNewgram JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/jokokendi
SummaryElegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
upload_time2023-08-15 14:41:32
maintainer
docs_urlNone
authorNoel
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/jokokendi/newgram">
        <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>

## Newgram

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

``` python
from newgram import Client, filters

app = Client("my_account")


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


app.run()
```

**Newgram** 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/delivrance).
- [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

``` bash
pip3 install newgram
```

### 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/jokokendi",
    "name": "Newgram",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "keywords": "telegram chat messenger mtproto api client library python",
    "author": "Noel",
    "author_email": "noel@newgram.org",
    "download_url": "https://files.pythonhosted.org/packages/99/55/33a59ff42244c63a0ee5d0fc781dcab06540059cc4318a19c0d3087ec351/Newgram-0.0.5.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <a href=\"https://github.com/jokokendi/newgram\">\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## Newgram\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\n``` python\nfrom newgram 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 Newgram!\")\n\n\napp.run()\n```\n\n**Newgram** 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/delivrance).\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``` bash\npip3 install newgram\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\n\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
    "version": "0.0.5",
    "project_urls": {
        "Community": "https://t.me/newgram",
        "Documentation": "https://docs.newgram.org",
        "Download": "https://github.com/jokokendi/newgram/releases/latest",
        "Homepage": "https://github.com/jokokendi",
        "Source": "https://github.com/jokokendi/newgram",
        "Tracker": "https://github.com/jokokendi/newgram/issues"
    },
    "split_keywords": [
        "telegram",
        "chat",
        "messenger",
        "mtproto",
        "api",
        "client",
        "library",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "995533a59ff42244c63a0ee5d0fc781dcab06540059cc4318a19c0d3087ec351",
                "md5": "27067900074934d6ef73a439afcae74c",
                "sha256": "d60535fb97090199bbd2a4174f3cc941612259203cb3a02f535249f538675984"
            },
            "downloads": -1,
            "filename": "Newgram-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "27067900074934d6ef73a439afcae74c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 346996,
            "upload_time": "2023-08-15T14:41:32",
            "upload_time_iso_8601": "2023-08-15T14:41:32.228203Z",
            "url": "https://files.pythonhosted.org/packages/99/55/33a59ff42244c63a0ee5d0fc781dcab06540059cc4318a19c0d3087ec351/Newgram-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-15 14:41:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jokokendi",
    "github_project": "newgram",
    "github_not_found": true,
    "lcname": "newgram"
}
        
Elapsed time: 0.10112s