toTelegram
Este proyecto es una herramienta de CLI en Python diseñada para subir archivos a Telegram sin preocuparse por los límites de tamaño (2GB/4GB). La idea no es solo tener un uploader, sino un gestor de disponibilidad que entiende qué archivos ya están en la "nube" de tus chats para evitar subidas redundantes.
¿De qué va esto?
A diferencia de un uploader simple, toTelegram usa una base de datos local (SQLite) para trackear los archivos por su MD5. Si intentas subir algo que el sistema ya detectó en otro chat al que tienes acceso, intentará hacer un forward (mirror) o reconstruir el archivo desde piezas sueltas (puzzle) en lugar de gastar ancho de banda volviendo a subir los bytes.
Cómo probarlo
Puedes instalar el paquete directamente desde el repositorio sin necesidad de clonarlo manualmente:
1. Instala usando pip desde GitHub:
pip install totelegram
2. Crea un perfil:
Necesitas tu API_ID y API_HASH de Telegram.
totelegram profile create
3. Configura un chat de destino
totelegram config search "Mi Nube Privada" --apply
4. Envía archivos o carpetas:
# Enviar archivos individuales
totelegram send video.mp4
# Archivar una carpeta completa como un backup estructurado
totelegram backup ./mis_fotos
Metadata
Release files for totelegram 0.9.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| totelegram-0.9.22.tar.gz | 99.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| totelegram-0.9.22-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 201.2 kB
Release files / totelegram-0.9.22.tar.gz
| Download URL | totelegram-0.9.22.tar.gz |
|---|---|
| Size | 99.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e12bea8968c6230ff02668b7a4425a5ae97f0228b33896b11633cbe443068a1a
|
|
BLAKE2b-256 checksum How to use checksums |
92ced03c020cfcc565efe2a9b8ea5181cb59a52a07ff6371f50184fd7c3615fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 15, 2026.
Transparency logRelease files / totelegram-0.9.22-py3-none-any.whl
| Download URL | totelegram-0.9.22-py3-none-any.whl |
|---|---|
| Size | 102.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7524577662d43f9327aad95746ba83ae55ac022bb95bd0b567696647a6d377b0
|
|
BLAKE2b-256 checksum How to use checksums |
0fbff336e15af9e02588b5e8af37c91cb936e3ba1ccd71f082a8c33ed546b282
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 15, 2026.
Transparency log