Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ics_to_sms-0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ics_to_sms-0.2-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ics_to_sms-0.2.tar.gz.

File metadata

  • Download URL: ics_to_sms-0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ics_to_sms-0.2.tar.gz
Algorithm Hash digest
SHA256 ee0b1b1fe50536b869cc1b056917389dee7bbe1ec0afa5f2c8a80151cffb1f81
MD5 dadfd496c311860d3ec919834f84b7bf
BLAKE2b-256 05a2a079df86d1ea3b0544cd23cc79f9dcd3a2f62e305311b99ee55396580af3

See more details on using hashes here.

File details

Details for the file ics_to_sms-0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: ics_to_sms-0.2-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

Hashes for ics_to_sms-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b99cbfff5770e227a87135e778875e024843394ef7b6131c9b0625fed6cc3216
MD5 2370c4bb8a95dd5feccca1481535a2cc
BLAKE2b-256 0cb9d48d9238698ab16e494a93f90e67459da5dd07e49bc98f202da5558c8e19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page