Tryx Documentation¶
Build WhatsApp Automations With Rust Speed and Python Ergonomics
Tryx combines a Rust runtime core with a typed Python API so you can ship robust bots, integrations, and event-driven workflows without sacrificing performance.
Documentation Mode
This site is designed as a full path: setup -> architecture -> API namespaces -> tutorials -> production operations.
What You Can Do¶
Messaging
Send text, photo, audio, document, video, GIF, and sticker content with a clean Python API.
Realtime Events
Subscribe to rich event classes for messages, contact updates, sync actions, and lifecycle changes.
Namespace Clients
Use dedicated namespaces for contacts, groups, newsletter, status, privacy, polls, presence, and more.
Typed Development
Use complete Python stubs for editor intelligence, static checks, and better API discoverability.
Choose Your Path¶
Recommended Reading Path¶
- Start with Installation.
- Follow Quick Start to build your first running client.
- Understand pairing in Authentication Flow.
- Learn internals in Architecture and Event Model.
- Jump into Client API Gateway and namespace deep dives.
- Use Tutorials for implementation patterns.
- Use QnA and Troubleshooting when debugging.
- Finish with Deployment and Reliability before production.
Project Scope¶
This documentation set focuses on the Python SDK experience first:
- Runtime setup and client lifecycle
- Event payload model and handler patterns
- API reference for client/events/types/helpers/wacore
- Performance, reliability, and security operations
- Practical tutorials and real-world QnA
Rust-internal details remain visible where they directly affect Python usage and behavior.
Quick Technical Index¶
All namespace clients mapped with deep-dive pages.
Deployment, reliability, performance, security, and troubleshooting.
Shared value objects and type-first usage patterns.
Scenario-driven answers for practical problems.