Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevinschaich/py-imessage-shortcuts

💬 Send iMessages using Python through the Shortcuts app.
https://github.com/kevinschaich/py-imessage-shortcuts

imessage mac macos messaging messenger python python-library python-script python3

Last synced: about 1 month ago
JSON representation

💬 Send iMessages using Python through the Shortcuts app.

Awesome Lists containing this project

README

        

# `py-imessage-shortcuts`









Send iMessages using Python through the Shortcuts app.



Requires macOS Monterey (macOS 12) or later. Compatible with Apple Silicon including M1, M1 Pro, & M1 Max.

---

### Installation

1. Download [`send-imessage.shortcut`](https://github.com/kevinschaich/py-imessage-shortcuts/raw/master/send-imessage.shortcut) and open it using Finder.
2. Click the blue **Add Shortcut** button (you can use the 3-dot menu to inspect the steps executed if you desire).
3. Install `py-imessage-shortcuts` using `pip`:

```
pip install py-imessage-shortcuts
```

### Usage

```python
import imessage

imessage.send(['+1 555-555-5555'], 'Hello World!')
```

### FAQs

* Can I use this on Windows/Linux?
* Nope!

### Bugs

Use [Issues](https://github.com/kevinschaich/py-imessage-shortcuts/issues). PRs welcome and appreciated 😊

### License

[MIT License](https://github.com/kevinschaich/py-imessage-shortcuts/blob/master/LICENSE).

### Credits

Inspired by [`py-iMessage`](https://github.com/Rolstenhouse/py-iMessage).