Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Package to send sms notification to mobile

Project description

This program helps to send sms notification to specified mobile.

Pre-Requisite : - Twilio account, Its Account, Token And Moblile number. OR - way2sms account, its apikey & secret code.

Usage :

1. To use way2sms for sending sms set below environement variable.
     way2sms=True
     apikey=<API KEY of way2sms account>
     secret=<Secret of way2sms account>
     
     Windows syntax : set <Environment Variable name>=<Value>
     Linux syntax   : export <Environment variable name>=<Value> 
    OR
    To use Twilio account specfiy twilio detials config.json in file encoded using base64.b64encode()
2. Using Program to send sms.
   python sendSms.py [Message needs to be sent]
3. Using module in other script to nofiy via sms.
    from nofiySms import sendSms
    sendSms.send_sms("Message body",[To Number])

Project details


Download files

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

Files for notifySms, version 2.1
Filename, size File type Python version Upload date Hashes
Filename, size notifySms-2.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page