Skip to main content

📱 toDus-API

PyPI Python Tests Publish Docs License

Cliente Python para ToDus — la plataforma de mensajería instantánea cubana.

📖 LEER LA DOCUMENTACIÓN COMPLETA AQUÍ 📖


⚡ ¿Qué es toDus-API?

Es una librería moderna, síncrona y orientada a eventos para interactuar con la red de ToDus. Te permite crear bots interactivos, manejar grupos y canales, enviar contenido multimedia, publicar historias y mucho más, todo usando Python puro.

Cobertura del protocolo: 100% de las funciones de la app oficial (inspeccionada desde el código fuente Android).


📦 Instalación

pip install todus-API

🚀 Uso Rápido (Tu primer bot)

from todus import ToDusClient2

# 1. Configura tus credenciales
client = ToDusClient2("5350000000", password="tu_password")
client.login()

# 2. Crea un callback para los mensajes
def responder_mensajes(msg):
    if msg.get("body"):
        print(f"Recibido: {msg['body']}")
        client.send_message(msg['from'], f"¡Hola! Recibí: {msg['body']}")

# 3. Empieza a escuchar
print("Bot en ejecución...")
client.listen_messages(responder_mensajes)

📚 Documentación y Recursos

Toda la información detallada sobre autenticación, subida de archivos, historias, canales, grupos, bloqueos y más la encontrarás en nuestro sitio web oficial de documentación:

👉 https://eljoker63.github.io/toDus-API


Desarrollado con ❤️ por ElJoker63.

Metadata

Release files for toDus-API 1.6.0

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

Source distribution (sdist)

Source distribution for toDus-API 1.6.0
File Size Uploaded Provenance Actions
todus_api-1.6.0.tar.gz 51.6 kB Without provenance Details for todus_api-1.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toDus-API 1.6.0
File Interpreter ABI Platform Actions
todus_api-1.6.0-py3-none-any.whl Python 3 none any Details for todus_api-1.6.0-py3-none-any.whl

Total release size: 105.9 kB

Release files / todus_api-1.6.0.tar.gz

Download URL todus_api-1.6.0.tar.gz
Size 51.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5c53381a3d416a034e3b907884ccae6c736473389b9dd2054695093e1abf98ba
BLAKE2b-256 checksum
How to use checksums
de149de408f5504e68aef945c62c5f16e7e224432f65083036ffd2fe9337753f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / todus_api-1.6.0-py3-none-any.whl

Download URL todus_api-1.6.0-py3-none-any.whl
Size 54.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3efd045346cece277c13271cabee743e66ac7e13985177167385ca7c0d5d302
BLAKE2b-256 checksum
How to use checksums
4d230e9a8de97ef6437883b8a4806a41a63e0774ea64308516380cc4ea4cbc93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for toDus-API 1.6.0

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.

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