Deep rewrite: preparing for v1.0 · ndtcoder/pyrogram@538f1e3 · GitHub
Skip to content

Commit 538f1e3

Browse files
committed
Deep rewrite: preparing for v1.0
- Pyrogram core is now fully asynchronous - Ditched Python 3.5, welcome 3.6 as minimum version. - Moved all types to pyrogram.types - Turned the Filters class into a module (filters) - Moved all filters to pyrogram.filters - Moved all handlers to pyrogram.handlers - Moved all emoji to pyrogram.emoji - Renamed pyrogram.api to pyrogram.raw - Clock is now synced with server's time - Telegram schema updated to Layer 117 - Greatly improved the TL compiler (proper type-constructor hierarchy) - Added "do not edit" warning in generated files - Crypto parts are executed in a thread pool to avoid blocking the event loop - idle() is now a separate function (it doesn't deal with Client instances) - Async storage, async filters and async progress callback (optional, can be sync too) - Added getpass back, for hidden password inputs
1 parent 2f0a1f4 commit 538f1e3

367 files changed

Lines changed: 12063 additions & 15068 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 3 deletions

MANIFEST.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ recursive-include pyrogram mime.types schema.sql
55

66
## Exclude
77
prune pyrogram/errors/exceptions
8-
prune pyrogram/api/functions
9-
prune pyrogram/api/types
10-
exclude pyrogram/api/all.py
8+
prune pyrogram/raw/functions
9+
prune pyrogram/raw/types
10+
exclude pyrogram/raw/all.py

README.md

Lines changed: 14 additions & 24 deletions

0 commit comments

Comments
 (0)