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

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

Built distribution (wheel)

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

Total release size: 124.7 kB

Release files / todus_api-1.6.1.tar.gz

Download URL todus_api-1.6.1.tar.gz
Size 61.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e7be0e4172ddf5dcb9d9aeceed235b1288ed190525c9d1f2843a09321e61245e
BLAKE2b-256 checksum
How to use checksums
2bbf5ede8e1b4bba28da4f8ba8cc16ae8d123cc976f60ebbb9bd527049d78b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL todus_api-1.6.1-py3-none-any.whl
Size 63.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7706e03e7ebb6b5b1f27452be9a795bb8af7d45560a38d775919d08c85bd97a5
BLAKE2b-256 checksum
How to use checksums
7a18e16298f6cec11e25acfa22634c4ed32295f38e0f0b80078a111b5347d45d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for toDus-API 1.6.1

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