Metadata-Version: 2.4
Name: tg-session-bridge
Version: 1.1.0
Summary: Bridge Telegram sessions between Telethon and Pyrogram automatically.
Author: Salah Ahmedin
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: telethon
Requires-Dist: pyrogram
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# TG Session Bridge

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

## Installation

```bash
pip install tg-session-bridge
```
Usage
```python
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")
```
