Skip to main content

ForgerTele

Version Python License Telegram Channel

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/Kaivortg/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.2

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

Source distribution (sdist)

Source distribution for forgertele 1.0.2
File Size Uploaded Provenance Actions
forgertele-1.0.2.tar.gz 155.5 kB Without provenance Details for forgertele-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for forgertele 1.0.2
File Interpreter ABI Platform Actions
forgertele-1.0.2-py3-none-any.whl Python 3 none any Details for forgertele-1.0.2-py3-none-any.whl

Total release size: 270.4 kB

Release files / forgertele-1.0.2.tar.gz

Download URL forgertele-1.0.2.tar.gz
Size 155.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c5c3178dec71453e2553662de6654140b16c6e423b1547c5fab7e767fc8845fa
BLAKE2b-256 checksum
How to use checksums
91f7b5628dcd7f0501524fa6dd6c1c7203a0de5da9259240e3698b2cfb327684
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.2-py3-none-any.whl

Download URL forgertele-1.0.2-py3-none-any.whl
Size 115.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d3f65ed98a6bfef4f5474df1c8d915077a850c34bb57da0cfe0e2b637c66ec4
BLAKE2b-256 checksum
How to use checksums
d3c239363a61c6e3a9d580321ab096da32ae35aeea8c00ce3d082b4091795f6e
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.2

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.0.2 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