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

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

Built distribution (wheel)

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

Total release size: 91.0 kB

Release files / todus_api-1.5.7.tar.gz

Download URL todus_api-1.5.7.tar.gz
Size 44.6 kB
Tags Source
SHA-256 checksum
How to use checksums
959fa021f2ae902cf1062009272c437780eef53b04cc8005ba2f81e9c14a7b30
BLAKE2b-256 checksum
How to use checksums
239d7225f7c2c2999696088fe99b3861663ffda7d8dc4443777ae06451b7e72e
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.7-py3-none-any.whl

Download URL todus_api-1.5.7-py3-none-any.whl
Size 46.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b683732e8aa94286022e702e92956118e2043d52d4c4b6be6fb9afda1bc0853a
BLAKE2b-256 checksum
How to use checksums
c4e405feed317917a7ca837790f32afc6fc03ae358ffda916160eab0522c5f85
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.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.

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