Skip to main content

CLI de rappels de notifications via Telegram, Gmail ou Discord

Project description

📱 alerte-sms — Rappels SMS intelligents

Planifie des rappels SMS pour tes événements. Fonctionne sur Windows, Mac et Linux.


⚡ Installation en une ligne

Depuis GitHub (recommandé pour partager avec des amis)

pip install git+https://github.com/ton-user/alerte-sms.git

Depuis le dossier local (développement)

pip install .

Depuis un dossier partagé / clé USB

pip install chemin\vers\alerte-sms\

🚀 Utilisation

Après l'installation, la commande alerte-event est disponible partout :

# Menu interactif (recommandé pour débuter)
alerte-event

# Configurer Twilio (à faire une seule fois)
alerte-event config

# Planifier un événement
alerte-event add

# Voir les événements planifiés
alerte-event list

# Supprimer un événement
alerte-event delete <ID>

# Tester l'envoi SMS
alerte-event test-sms

# Installer le scheduler en tâche de fond Windows
alerte-event install-task

⚙️ Configuration Twilio

  1. Crée un compte sur twilio.com (gratuit)
  2. Note ton Account SID et Auth Token (tableau de bord)
  3. Achète un numéro Twilio (~1$/mois) ou utilise le numéro sandbox gratuit
  4. Lance alerte-event config et entre tes identifiants

Les identifiants sont stockés dans ~/.config/alerte-sms/config.json.


🔄 Tâche de fond Windows

Pour que les rappels s'envoient même quand le terminal est fermé :

# Installer (nécessite des droits Admin)
alerte-event install-task

# Lancer immédiatement
schtasks /Run /TN AlerteSMSScheduler

# Voir le statut
schtasks /Query /TN AlerteSMSScheduler

# Désinstaller
alerte-event remove-task

Le log du scheduler est dans ~/.config/alerte-sms/scheduler.log.


📁 Données stockées

Tout est dans ~/.config/alerte-sms/ :

~/.config/alerte-sms/
├── config.json     ← Identifiants Twilio (chmod 600)
├── events.json     ← Événements planifiés
└── scheduler.log   ← Logs du démon

📦 Dépendances

Package Rôle
click Gestion des sous-commandes CLI
questionary Interface interactive (menus, saisie)
rich Affichage coloré et tableaux
twilio API d'envoi de SMS

🛠️ Développement

git clone https://github.com/ton-user/alerte-sms
cd alerte-sms
pip install -e .   # Installation en mode éditable

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

alerte_event-2.0.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

alerte_event-2.0.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file alerte_event-2.0.0.tar.gz.

File metadata

  • Download URL: alerte_event-2.0.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for alerte_event-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7463eb0c14be4098197d10b0c60062499581fba2a83498d98b09105dc87f0a54
MD5 d4e19f5adedc0fd3243c9d5ae1f881d8
BLAKE2b-256 31a673aa9918b451903c91f01d86bf362cd5eb7bce2a518434498e15dd79d626

See more details on using hashes here.

File details

Details for the file alerte_event-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: alerte_event-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for alerte_event-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b37350aba70729785c8cdfc58371043ad23fcf71cf9b7292bb207f3c022207c0
MD5 168d60a435c54aaca6ae3b1406d5dc0a
BLAKE2b-256 c14a052c521f7cd6d882906064f5399c87238f9e05be9c44af75d5708fd11cc1

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