PyLoopMessage
A modern Python client for the LoopMessage iMessage API.
Features
- ✨ Full support for LoopMessage REST API
- 🔒 Type-safe with comprehensive type hints
- 📱 Send messages, reactions, and audio messages
- 👥 Support for group messaging
- 📞 Webhook handling for real-time events
- 🧪 Async/await support
- 🛡️ Built-in error handling and retries
Installation
pip install pyloopmessage
Quick Start
from pyloopmessage import LoopMessageClient
# Initialize the client
client = LoopMessageClient(
authorization_key="your_auth_key",
secret_key="your_secret_key"
)
# Send a message
response = await client.send_message(
recipient="+1234567890",
text="Hello from PyLoopMessage!",
sender_name="YourSenderName"
)
print(f"Message sent with ID: {response.message_id}")
API Support
Sending Messages
- ✅ Send text messages to individuals
- ✅ Send messages to groups
- ✅ Send audio messages
- ✅ Send reactions
- ✅ Message effects (slam, loud, gentle, etc.)
- ✅ Attachments support
- ✅ Reply-to functionality
Message Status
- ✅ Check message status
- ✅ Webhook event handling
- ✅ Real-time status updates
Advanced Features
- ✅ Typing indicators
- ✅ Read status
- ✅ Sandbox mode
- ✅ Error handling with detailed error codes
Documentation
For detailed documentation and examples, visit our GitHub repository.
License
MIT License - see LICENSE file for details.
Metadata
Release files for pyloopmessage 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyloopmessage-0.4.0.tar.gz | 28.5 kB | Without provenance | Details for pyloopmessage-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyloopmessage-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for pyloopmessage-0.4.0-py3-none-any.whl |
Total release size: 49.1 kB
Release files / pyloopmessage-0.4.0.tar.gz
| Download URL | pyloopmessage-0.4.0.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4856ed3f5ff7153415b7e816f7408776cddc77db22081a596ad5b615fd49bf8
|
|
BLAKE2b-256 checksum How to use checksums |
eed6059f54b9856a983e4ec1c6a6afde3a642c3207fffd14f360b79b17cbe08d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Release files / pyloopmessage-0.4.0-py3-none-any.whl
| Download URL | pyloopmessage-0.4.0-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e2a87d4ba7c48d24eab0688860b276015a125ea56829a7eb53f4816b71f4b2b
|
|
BLAKE2b-256 checksum How to use checksums |
8950acb4435efd643839d1f75d8ef4cf61699d1b0266f169d90f924c8c70705a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Security for pyloopmessage 0.4.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.