Skip to main content

Convert Telegram sessions between Telethon and Pyrogram instantly.

Project description

Session Bridge

A pure Python library to instantly convert Telegram session files between Telethon and Pyrogram without requiring re-authentication.

Installation

pip install session-bridge

Usage

from session_bridge import SessionConverter

converter = SessionConverter()

converter.telethon_to_pyrogram("account.session", "pyro_account.session")

converter.pyrogram_to_telethon("pyro_account.session", "tele_account.session")

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_session_bridge-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tg_session_bridge-1.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file tg_session_bridge-1.0.0.tar.gz.

File metadata

  • Download URL: tg_session_bridge-1.0.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for tg_session_bridge-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9c0acf72b136c24cf386b6d6e14b1ea45b9f8b0be63da305649c543e93e40661
MD5 013ab821c83cdefc345171a08420e59e
BLAKE2b-256 709c1df66a2f507c912a49a639946bd9155999511ebab1fcd31560e1cfb44067

See more details on using hashes here.

File details

Details for the file tg_session_bridge-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tg_session_bridge-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74a97476ac60a7130e1c9aef86513edaaf18c344b26f47cd3c5af3c0ca2b8378
MD5 aefbdae605c312f0559c55e6ae1c4c2e
BLAKE2b-256 b4e8459c2bcde0edf08ee92f68589be6b62dfe31e402ef16db118568e9b2dcdb

See more details on using hashes here.

Supported by

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