ForgerTele
Python library for Telegram with official APIs, anti-ban protection and SessionManager.
By Green Forger | Channel: @forgertele
Installation
pip install forgertele
# Or install latest from GitHub:
pip install git+https://github.com/Greenforger/forgertele.git
Features
- Official Telegram APIs (Android, iOS, Desktop, macOS)
- Updated versions: Android 13.1.0 · iOS 13.1 · Desktop 7.3.1
- 4,896 Android devices from 2024-2026
- Persistent device fingerprint per account
- SessionManager — loads multiple .session files one by one
- Automatic banned/limited account detection
- Built-in anti-flood delays
- No Qt dependency — pure Python
Basic Usage
from forgertele.td import TDesktop
from forgertele.tl import TelegramClient
from forgertele.api import API, UseCurrentSession
tdesk = TDesktop("/path/to/tdata")
client = await tdesk.ToTelethon(
session="account.session",
flag=UseCurrentSession,
api=API.TelegramAndroid
)
await client.connect()
SessionManager
from forgertele.session import SessionManager
manager = SessionManager("/path/to/sessions/")
await manager.load_all()
manager.summary()
for account in manager.active:
await account.client.send_message(...)
await manager.disconnect_all()
Anti-ban
from forgertele.antiban import get_device_fingerprint, RateLimit, AccountStatus
fp = get_device_fingerprint("my_account", "android")
await RateLimit.wait_action()
status = await AccountStatus.check(client)
Credits
Fork of opentele-ng — MIT License.
Metadata
Release files for forgertele 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| forgertele-1.0.1.tar.gz | 155.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forgertele-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 270.3 kB
Release files / forgertele-1.0.1.tar.gz
| Download URL | forgertele-1.0.1.tar.gz |
|---|---|
| Size | 155.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eba0d848c4a06f00512cee16c7d9812bf94aca4cc309a636ce3d8c2e09e1a6ab
|
|
BLAKE2b-256 checksum How to use checksums |
0d293006055281aee3fdf02bb197a78790a61826d935f346c3b0f4cdeaff82c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / forgertele-1.0.1-py3-none-any.whl
| Download URL | forgertele-1.0.1-py3-none-any.whl |
|---|---|
| Size | 114.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fd8afca31357ea5ccb084b2e018981667e23161dc2e00855e4ecd9b789a4368
|
|
BLAKE2b-256 checksum How to use checksums |
aca4dc61463baac888aed94ade80f4493bed0760eca0faeaa1f27fca1962df86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for forgertele 1.0.1
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.