A command line tool to login into Telegram with user or bot accounts.
Project description
tg-login
A command line tool to login into Telegram with user or bot accounts and generate session string.
Installation
pip install tg-login
Usage
Usage: tg-login [OPTIONS]
A command line tool to login into Telegram with user or bot accounts.
Options:
--API_ID INTEGER API ID obtained from my.telegram.org [env var: API_ID;
required]
--API_HASH TEXT API HASH obtained from my.telegram.org [env var:
API_HASH; required]
-v, --version Show version and exit.
--help Show this message and exit.
Repl
You may run this tg-login online by using this repl.
Note:
- A python virtual environment is created before execution and deleted post execution.
- All sensitive user input is hidden.
- The session string is not printed on screen, but sent to user.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tg-login-0.0.4.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tg-login-0.0.4.tar.gz.
File metadata
- Download URL: tg-login-0.0.4.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.15.74.2-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a01ab9df48bc2278a8aad4c587641bd1adbf286a12c3ad588f29069b98064167
|
|
| MD5 |
8703849fb2eac54a05431486f33e5e73
|
|
| BLAKE2b-256 |
a99b3e699f71fa173388ade3c06122286006933fd6226949a43a214cc6ddd28a
|
File details
Details for the file tg_login-0.0.4-py3-none-any.whl.
File metadata
- Download URL: tg_login-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.15.74.2-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab733eed63fecacd99c0e7fc9fbf34cbd80bfeb7ce22d2c9123158b7092270be
|
|
| MD5 |
d60b3a7bc93cdc9f03d305583d17e172
|
|
| BLAKE2b-256 |
3285622123d387ff75bf2e39378d73ee52b5a47de83a0f2f7de9045b7b7f2a5c
|