This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Send automated SMS from your web application and android phone

Free web api service provided courtsey: http://www.makemymails.com To use this library you have to signup for a free web account on makemymails.com. Your makemymails account will generate an API key for you that you can use with this library to send sms that is automatically routed via your android phone.

Quickstart

Installing library

git clone git@github.com:makemymails/makemymails-sms-python.git cd makemymails-sms-python sudo python setup.py install

Installing android backend and obtaining API key

  • Sign up on Makemymails [1] and note your username somewhere
  • Install Makemymails Android App [2] Enter MMM username you used to register on the makemymails website. (Press “Associate username” button to associate your device with Makemymails web account)
  • Visit http://www.makemymails.com/sms/api-details/ [3] This page contains the MMM_API_KEY which can be used with this library. Please note it at a safe place and do not share it with anyone as the key is unique to you.

Steps with illustrations are available in this doc [4]

Sending sms from your python code

You can use import the sendsms function from makemymails after installing this package.

MMM_API_KEY = 'AJK7G5J2KL6JGJU7'    # Your unique Api key.
DEVICE_ID = '18'                    # A unique device id is assigned to each of your
                                    # device associated with your makemymails web account
                                    # You can see devide id for all devices on the api details page on makemymails.
receiver = '9876534210'             # Substitute accordingly.

msg = 'This is a test sms from Makemymails SMS free API'
from makemymails import sendsms

sendsms(send_to=receiver, sms_body=msg, MMM_API_KEY, DEVICE_ID)
# If your phone is connected to the internet when this call is made message is
# sent immediately else it is queued and sent.

Requirements

  • Android Phone must be connected to internet at all times
  • Sim on the android phone for sending messages.

Warning

Warning: Api calls you make cause sms to be sent via your android phone, please make sure you install an sms pack before sending sms.

Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting