Skip to main content

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page