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, asíncrona y orientada a eventos para interactuar con la red de ToDus. Te permite crear bots interactivos, manejar grupos y canales, enviar contenido multimedia y ver o publicar historias, todo usando Python puro.

Cobertura del protocolo: 100% de las funciones de la app oficial.


📦 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.5.8

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.5.8
File Size Uploaded Provenance Actions
todus_api-1.5.8.tar.gz 44.8 kB Without provenance Details for todus_api-1.5.8.tar.gz

Built distribution (wheel)

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

Total release size: 91.5 kB

Release files / todus_api-1.5.8.tar.gz

Download URL todus_api-1.5.8.tar.gz
Size 44.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fea905ecd4944209309ac1f66f3d9ec6b5bee3bc77e3a414b6a6b916487e771d
BLAKE2b-256 checksum
How to use checksums
2c41da7a3175bdec2d63d15e37ce63f21557ec3fb026ab5f01ad0ee0dd544606
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.5.8-py3-none-any.whl

Download URL todus_api-1.5.8-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e37ea7e5d3990db20b1f993a642f65ae88c6e1908393c79487fd746a00a18b
BLAKE2b-256 checksum
How to use checksums
c9c7847b8e3a99d7214c5a943c5823d22b0ad46b7e540eda8923b8961f0c2af1
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.5.8

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