Support
Verify Telegram Auth via website or Bot.
Installation.
pip install pytgauth --upgrade
Sample data from Telegram.
{
"id": XXXXXXXXX,
"first_name": "XXX",
"last_name": "XXX",
"username": "XXXXX",
"photo_url": "https://t.meXXXXXX.jpg",
"auth_date": XXXXXXXXXX,
"hash": "XXXXXXXXXXXXXXXXXXXXXX....."
}
from pytgauth import verify
bot_token = 'xxx:xxxx'
data = {...}
if verify(data, bot_token):
print('Hey ! You are verified.')
else:
print('Upps, the data is not verified')
Watch the Example.py for more information.
License
PyTgAuth is licensed under GNU Affero General Public License v3 or later.
The GNU General Public License (GNU GPL or simply GPL) is a series of widely-used free software licenses that guarantee end users the freedom to run, study, share, and modify the software.[8] The licenses were originally written by Richard Stallman, founder of the Free Software Foundation (FSF), for the GNU Project, and grant the recipients of a computer program the rights of the Free Software Definition.[9] The GPL series are all copyleft licenses, which means that any derivative work must be distributed under the same or equivalent license terms. This is in distinction to permissive software licenses, of which the BSD licenses and the MIT License are widely used, less restrictive examples. GPL was the first copyleft license for general use.
Metadata
Release files for pytgauth 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytgauth-0.0.2.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytgauth-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / pytgauth-0.0.2.tar.gz
| Download URL | pytgauth-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccdb6f5c950d1cf01e1d9097cd2d8573a7d350673a9871de5c5afabcf7a15458
|
|
BLAKE2b-256 checksum How to use checksums |
6c3007ce7ab55a883d0af62cf73b72e0dae8ee5144a2af492f58705aa34a674a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.60.0 CPython/3.8.9
|
Release files / pytgauth-0.0.2-py3-none-any.whl
| Download URL | pytgauth-0.0.2-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c49365dd6db0d85f5091e1a94909daf244eb6745402380917af52cf736540cfc
|
|
BLAKE2b-256 checksum How to use checksums |
92071d1de31080dececc6bcdb2ce78f52279ee5970bd8b702ee5aa0bf33ebe5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.60.0 CPython/3.8.9
|