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 | Provenance | Actions |
|---|---|---|---|---|
| pytgauth-0.0.2.tar.gz | 2.9 kB | Without provenance | Details for pytgauth-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytgauth-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for pytgauth-0.0.2-py3-none-any.whl |
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
|
Security for pytgauth 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.