pyrogram

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

https://github.com/pyrogram/pyrogram

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary

Keywords

async client framework library mtproto pyrogram python telegram

Keywords from Contributors

internationalization localization translation telegram-bot
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: pyrogram
  • License: lgpl-3.0
  • Language: Python
  • Default Branch: master
  • Homepage: https://pyrogram.org
  • Size: 7.14 MB
Statistics
  • Stars: 4,560
  • Watchers: 94
  • Forks: 1,536
  • Open Issues: 283
  • Releases: 6
Archived
Topics
async client framework library mtproto pyrogram python telegram
Created about 8 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

Pyrogram
Telegram MTProto API Framework for Python
Homepage Documentation Releases News

Pyrogram

[!NOTE] The project is no longer maintained or supported. Thanks for appreciating it.

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

``` 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 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 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, 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 pyrogram

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.

Owner

  • Name: Pyrogram
  • Login: pyrogram
  • Kind: organization
  • Location: Telegram: @pyrogram

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

GitHub Events

Total
  • Issues event: 12
  • Watch event: 273
  • Delete event: 1
  • Issue comment event: 44
  • Push event: 1
  • Pull request event: 10
  • Fork event: 117
Last Year
  • Issues event: 12
  • Watch event: 273
  • Delete event: 1
  • Issue comment event: 44
  • Push event: 1
  • Pull request event: 10
  • Fork event: 117

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 3,649
  • Total Committers: 127
  • Avg Commits per committer: 28.732
  • Development Distribution Score (DDS): 0.087
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dan 1****e 3,331
bakatrouble b****e@g****m 22
Eric Blundell e****0@g****m 19
Mendel E m****h@g****m 15
ColinShark n****s@n****z 14
JosXa j****r@g****m 10
CyanBook l****5@g****m 8
Alisson Lauffer a****c@g****m 8
Yan n****d@p****m 7
kalmengr 4****r 7
Nick 6****k 7
RussFP 1****1@g****m 6
Shrimadhav U K S****e 6
Mahesh 4****3 6
Andrea Princic 4****2 6
Furoin f****n@p****m 5
trenoduro g****b@o****t 5
ColinShark c****n@c****e 4
Jonathan 4****9 4
Ripe 4****y 4
Stark Programmer 8****s 4
YoilyL y****t@g****m 4
Davide Galilei 4****i 3
Harsh 6****0 3
Krishna-singhal 6****l 3
Eric Solinas e****s@h****t 3
MrNaif2018 c****4@g****m 3
ポキ a****a@a****m 3
மனோஜ்குமார் பழனிச்சாமி s****7@g****m 3
Yusuf_M_Thon_iD 3****1 3
and 97 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 256
  • Total pull requests: 82
  • Average time to close issues: 23 days
  • Average time to close pull requests: 9 months
  • Total issue authors: 220
  • Total pull request authors: 55
  • Average comments per issue: 2.84
  • Average comments per pull request: 1.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 10
  • Pull requests: 2
  • Average time to close issues: 7 days
  • Average time to close pull requests: 8 months
  • Issue authors: 10
  • Pull request authors: 1
  • Average comments per issue: 2.4
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • fivepe (7)
  • ghost (4)
  • dkpapp (3)
  • PythonNoob999 (3)
  • pidrilllllla (3)
  • EDM115 (3)
  • Eikosa (3)
  • KunoiSayami (2)
  • kanewi11 (2)
  • PooyaRezaee (2)
  • GodSaveTheDoge (2)
  • KumaTea (2)
  • SpEcHiDe (2)
  • Praveensenpai (2)
  • PalashMudi (2)
Pull Request Authors
  • SpEcHiDe (10)
  • iranzo (4)
  • null-nick (4)
  • KurimuzonAkuma (4)
  • Erwinex (3)
  • CyanBook (3)
  • softpowerone (2)
  • abstract-333 (2)
  • sadegh1404 (2)
  • sekzerd (2)
  • AlbertEinsteinTG (2)
  • AkkiaS7 (2)
  • hellbowe (2)
  • lrdcxdes (2)
  • Exponefrv1 (2)
Top Labels
Issue Labels
enhancement (72) question (15) invalid (8) duplicate (1)
Pull Request Labels

Packages

  • Total packages: 16
  • Total downloads:
    • pypi 444,969 last-month
  • Total docker downloads: 17,445
  • Total dependent packages: 74
    (may contain duplicates)
  • Total dependent repositories: 12,531
    (may contain duplicates)
  • Total versions: 376
  • Total maintainers: 14
pypi.org: pyrogram

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

  • Versions: 208
  • Dependent Packages: 72
  • Dependent Repositories: 12,521
  • Downloads: 444,569 Last month
  • Docker Downloads: 17,445
Rankings
Dependent repos count: 0.1%
Dependent packages count: 0.2%
Downloads: 0.8%
Average: 0.8%
Forks count: 1.2%
Stargazers count: 1.3%
Docker downloads count: 1.5%
Maintainers (1)
Last synced: 6 months ago
pypi.org: hikka-pyro

Custom fork of elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 7
  • Downloads: 42 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent repos count: 5.5%
Average: 6.3%
Dependent packages count: 10.1%
Downloads: 13.5%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/pyrogram/pyrogram
  • Versions: 139
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 7.4%
Dependent repos count: 7.9%
Last synced: 6 months ago
pypi.org: pyrogram-repl

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

  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 1
  • Downloads: 44 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 3.2%
Average: 7.7%
Downloads: 11.3%
Dependent repos count: 21.5%
Maintainers (1)
Last synced: 6 months ago
pypi.org: pyrogrampatched

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 12 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 6.6%
Average: 11.2%
Downloads: 16.2%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 6 months ago
pypi.org: pyrogramplus

Telegram MTProto API Client Library and Framework for Python

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 10 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 10.1%
Average: 15.0%
Dependent repos count: 21.5%
Downloads: 40.8%
Maintainers (1)
Last synced: 6 months ago
pypi.org: flmorsepyrogramm

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 10 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 10.1%
Average: 16.8%
Dependent repos count: 21.5%
Downloads: 49.6%
Maintainers (1)
Last synced: 6 months ago
pypi.org: tangoultrasuper

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 6 Last month
Rankings
Forks count: 1.6%
Stargazers count: 1.7%
Dependent packages count: 10.7%
Average: 18.6%
Dependent repos count: 60.4%
Maintainers (1)
Last synced: 6 months ago
pypi.org: abgpyro

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots (fork of PyroGram updated by @Abishnoi69)

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 45 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 7.4%
Average: 19.8%
Dependent repos count: 69.2%
Maintainers (1)
Last synced: 8 months ago
pypi.org: pyrogram-aylak

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 174 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 10.2%
Average: 19.9%
Dependent repos count: 67.1%
Maintainers (1)
Last synced: 6 months ago
pypi.org: yanto

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 1.2%
Stargazers count: 1.2%
Dependent packages count: 9.5%
Average: 20.0%
Dependent repos count: 68.1%
Maintainers (1)
Last synced: about 1 year ago
pypi.org: my-pyrogram

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

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 33 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.3%
Dependent packages count: 10.0%
Average: 20.0%
Dependent repos count: 67.7%
Maintainers (1)
Last synced: 6 months ago
conda-forge.org: pyrogram
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 4.4%
Stargazers count: 6.7%
Average: 24.1%
Dependent repos count: 34.0%
Dependent packages count: 51.2%
Last synced: 6 months ago
pypi.org: ggnpyro

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 14 Last month
Rankings
Dependent packages count: 9.5%
Average: 31.4%
Dependent repos count: 53.4%
Maintainers (1)
Last synced: 6 months ago
pypi.org: viiganteng

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 10 Last month
Rankings
Dependent packages count: 10.7%
Average: 35.5%
Dependent repos count: 60.3%
Maintainers (1)
Last synced: 6 months ago
pypi.org: smtg0

Don't install

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.4%
Average: 35.8%
Dependent repos count: 62.2%
Maintainers (1)
Last synced: about 1 year ago

Dependencies

dev-requirements.txt pypi
  • pytest * development
  • pytest-asyncio * development
  • pytest-cov * development
  • twine * development
requirements.txt pypi
  • pyaes ==1.6.1
  • pysocks ==1.7.1
.github/workflows/python.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v2 composite
setup.py pypi