Pietro De Nicolao
3e79d7dfce
Add py.typed file for enhanced type hinting ( #838 )
...
Fixes #781
* fix: add py.typed file
Comply with PEP 561 and enable type checkers.
Fixes #781 .
* chore: add py.typed to package_data in setup.py
* Style fixes
Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2022-01-29 13:39:25 +01:00
Dan
626a1bd938
Update copyright year
2022-01-07 10:23:45 +01:00
Dan
8c8288412f
Various improvements
2022-01-07 10:18:51 +01:00
Dan
7dda167c09
Update copyright notice
...
Year 2021
2021-01-01 22:58:48 +01:00
Dan
df1a792cee
Exclude the tests folder from binary distributions
...
Also remove some unneeded package data
2020-12-23 16:19:02 +01:00
Dan
bf7bd45f1c
Fix compiled errors destination path
2020-11-20 02:04:24 +01:00
Dan
1b42fb7f77
Rename "error" package to "errors"
2020-11-13 17:59:41 +01:00
Dan
8f51f1597a
Allow pruning the new generated files from pyrogram.raw.base
2020-08-22 11:30:27 +02:00
Dan
538f1e3972
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
2020-08-22 08:05:05 +02:00
Dan
e741bcdb26
Drop [fast] setup directive
2020-03-30 11:47:25 +02:00
Dan
1996fb1481
Update Copyright
2020-03-21 15:43:32 +01:00
Dan
42c9bafa0c
Update copyright notice
2020-02-01 14:04:33 +01:00
Dan
dc74c441cc
Drop Python 3.4 support (EOL). Bump minimum requirement to Python 3.5.3
...
Closes #302
2019-08-15 16:03:03 +02:00
Dan
ed2e7dfb66
Fix cleaning generated exceptions
2019-07-09 19:09:35 +02:00
Dan
efcf7d5503
Move single methods, types and bound-methods to separated pages
...
The resulting pages were huge and were also taking a while to load
This will improve docs navigation
2019-07-09 19:03:46 +02:00
Dan
fa1976c8a0
Update TgCrypto required version
2019-06-19 17:09:07 +02:00
Dan
8465c4a977
Instruct Python to add schema.sql file to the package
2019-06-19 16:06:37 +02:00
Dan
4bc7345328
Update setup.py
2019-05-25 01:49:52 +02:00
Dan
47c06fdae2
Docs revamp. Part 7
2019-05-25 01:37:55 +02:00
Dan
0dc953c320
Update domain name references to pyrogram.org
2019-05-19 21:40:41 +02:00
Dan
9a2602ff2a
Update setup.py
2019-05-13 17:17:20 +02:00
Dan
eadda551c6
Docs revamp. Part 3
2019-05-12 19:26:55 +02:00
Dan
16d3b2d56e
Make sure mime.types actually gets installed
2019-04-30 10:45:27 +02:00
Dan
9f7884b0ed
Fix PyPI readme render
2019-02-04 16:29:13 +01:00
bakatrouble
f376efd496
Run generate for editable installs
2019-01-27 12:07:19 +03:00
Dan
4d7b1bafac
Update copyright year
2019-01-01 12:36:16 +01:00
Dan
5d4e4a4842
Add "fast" keyword as extra requirement
...
To be used instead of "tgcrypto"
2018-10-17 01:02:33 +02:00
Dan
bee6ced5c2
Fix Telegram API missing on readthedocs
2018-09-19 18:52:02 +02:00
Dan
9ef8c786e4
Update tgcrypto required version
2018-09-19 16:23:33 +02:00
Dan
0f6e5ef298
Use a stricter tgcrypto version requirement
2018-09-19 14:35:45 +02:00
Dan
2a78dff79c
Minor style fixes
2018-08-30 01:17:51 +02:00
Dan
ca15778ac8
Make clean default to all
2018-08-30 01:17:35 +02:00
Dan
5e4a769c01
Rename "build" to "generate"
...
It was interfering with the built-in command "install"
2018-08-30 01:17:13 +02:00
Dan
ccc3cb0c87
Rename generate to build
...
Replaces the default build behaviour
2018-08-26 19:18:14 +02:00
Dan
47f8a4eb34
Add generate command to setup.py
2018-08-25 15:14:51 +02:00
Dan
d6a0fcf4ad
Also clean docs generated files
2018-08-25 14:22:19 +02:00
Dan
c9a946bc02
Turn version and readme into function
2018-08-25 14:00:04 +02:00
Dan
1e56f70b93
Also clean generated filed
2018-08-25 13:58:55 +02:00
Dan
a48f2e965b
Add clean command to setup.py
2018-08-25 13:53:48 +02:00
Dan
2b94f46728
Add TgCrypto as extra requirement in setup.py
2018-06-23 14:42:26 +02:00
Dan
20ec707aa8
Compile docs when installing
2018-04-18 20:55:18 +02:00
Dan
d1517ae885
Update setup.py
2018-04-02 11:07:23 +02:00
Dan
ae21ada0f4
Add some keywords
2018-03-26 02:05:56 +02:00
Dan
5846c72150
Load requirements from file
2018-03-22 15:30:41 +01:00
Dan
bf0b8aa692
Clean code
2018-03-21 18:43:48 +01:00
Dan
b200f9d7dd
Set Python 3.4 as min version
2018-03-21 18:43:30 +01:00
Dan
700bdd08b1
Add tgcrypto to install_requires and remove pyaes
2018-03-21 18:42:45 +01:00
Dan
8ca7cd73de
Exclude compiler package
2018-03-20 14:52:08 +01:00
Dan
b757d62633
Update package info
2018-03-12 19:17:15 +01:00
Dan
5826470c77
Add TgCrypto as an extra requirement
2018-02-17 16:06:22 +01:00