AIOFastTelethonHelper
Asynchronous fork of FastTelethonhelper
Provides fully async and parallel file upload/download functions using aiofiles and non-blocking I/O.
📦 Installation
pip install aiofasttelethonhelper
⚙️ Usage Example
from aiofasttelethonhelper.utils import print_progress_bar
from aiofasttelethonhelper import fast_download, fast_upload
from telethon import TelegramClient
client = TelegramClient("session", API_ID, API_HASH)
def custom_progress_callback(**kwargs):
done, total = kwargs.get('done'), kwargs.get('total')
print(f"{done}/{total}")
async def main():
async with client:
file_path = await fast_download(
client=client,
message=message,
file_path="./downloads", # or ./downloads/file.txt
progress_callback=print_progress_bar
)
file = await fast_upload(
client=client,
file_path="input.txt",
progress_callback=custom_progress_callback
)
await client.send_file("me", file)
❤️ Credits
- Tulir Asokan - Original parallel transfer logic in mautrix-telegram
- MiyukiKun - Original helper creator
- Lonami - Creator of the amazing Telethon library
Release files for aiofasttelethonhelper 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiofasttelethonhelper-0.1.3.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiofasttelethonhelper-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / aiofasttelethonhelper-0.1.3.tar.gz
| Download URL | aiofasttelethonhelper-0.1.3.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
001e2e46c75af5f6aaba5423a5ed01ec9b89c6de5a6e0d92456b3adf01c9981b
|
|
BLAKE2b-256 checksum How to use checksums |
ba0e1a86728691f50c4bb413e43357f95ab86f9318e755dd4485c930f7103f9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 26, 2025.
Transparency logRelease files / aiofasttelethonhelper-0.1.3-py3-none-any.whl
| Download URL | aiofasttelethonhelper-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379e8319dbc019f70b676be54cc70c37ca8a4b5e6235738887d9e530be960a9d
|
|
BLAKE2b-256 checksum How to use checksums |
dfcbe7853eed81bc67b19caa78a4863896308df35965785f36db8731f14401cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 26, 2025.
Transparency log