Skip to main content

TG Session Bridge

A powerful tool to convert Telegram session files between Telethon and Pyrogram formats automatically.

Installation

pip install tg-session-bridge

Usage

from session_bridge import SessionConverter

converter = SessionConverter()

# Convert Telethon (File or String) to Pyrogram
converter.to_pyrogram("telethon.session", "pyrogram.session")

# Convert Pyrogram to Telethon
converter.to_telethon("pyrogram.session", "telethon.session")

Metadata

Release files for tg-session-bridge 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tg-session-bridge 1.1.0
File Size Uploaded Provenance Actions
tg_session_bridge-1.1.0.tar.gz 2.2 kB Without provenance Details for tg_session_bridge-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tg-session-bridge 1.1.0
File Interpreter ABI Platform Actions
tg_session_bridge-1.1.0-py3-none-any.whl Python 3 none any Details for tg_session_bridge-1.1.0-py3-none-any.whl

Total release size: 4.6 kB

Release files / tg_session_bridge-1.1.0.tar.gz

Download URL tg_session_bridge-1.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
beb3a01e4d6bc0be7a87a1bfb9c2809869cbf43fa8bbe82401ba34612876e94a
BLAKE2b-256 checksum
How to use checksums
815419f3823a463df7314474172e4cf221c36959dae073f8408e65b505d8ad97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / tg_session_bridge-1.1.0-py3-none-any.whl

Download URL tg_session_bridge-1.1.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
746a1a810702b6922dea1c77a7062c63bd5c809a394ca9c8ae3d875af9c2306a
BLAKE2b-256 checksum
How to use checksums
d2ea12e1a7591f422b63d690b61a4468fafd425215f58050062aa4aa2a105404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for tg-session-bridge 1.1.0

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page