Send an SMS for each alarm found in an ICS file.
Project description
ICS to SMS
Installing
Just pip install ics-to-sms, in a venv.
Using from command line
It can be used from command line, I like passwordstore so I'd use:
python ics_to_sms.py --ics-url 'https://framagenda.org/.../?export' --ics-username mdk --ics-password "$(pass framagenda)" --free-user "$(pass free/sms-api-id)" --free-api-key "$(pass free/sms-api-key)"
Using with a config file
It can also be configured using a toml file like:
ics_url = "https://..."
ics_username = "mdk"
ics_password = "redacted for my privacy"
free_user = "..."
free_api_key = "..."
then ran using:
python ics_to_sms.py --config config.toml
Deploying on a server
I use an Ansible playbook to deploy this to my server, feel free to copy-paste:
https://git.afpy.org/mdk/infra/src/branch/main/ics_to_sms.yml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ics_to_sms-0.3.tar.gz.
File metadata
- Download URL: ics_to_sms-0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28166b1ff34ccb4f5f058e1b06252a90736b8a29937511876e23914e57979da0
|
|
| MD5 |
c2f8d7629676cc3db03b0d2f5fe41c16
|
|
| BLAKE2b-256 |
6347c35af931ba020a6b927a80de89b50cfbc474a3d575e605eea8ea00d626f1
|
File details
Details for the file ics_to_sms-0.3-py2.py3-none-any.whl.
File metadata
- Download URL: ics_to_sms-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
016f803b0d1bd30b419c23258587c6a83a67054d23f99e6b75811254dfbf5318
|
|
| MD5 |
0fedd0b4e346b587190534d84a95a8fc
|
|
| BLAKE2b-256 |
3bbd413692cd054762a572d07f5cec3ccbfc753a752981ae1e4fb94190577fc8
|