Skip to main content

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.

run on 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


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 hashes)

Uploaded Source

Built Distribution

tg_login-0.0.4-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page