Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple Django app for send SMS via

Project Description
Dajngo SMS Aero

Simple Django application for send SMS via

Fork of (MIT Licensed)

Quick start

1. Add "smsaero" to your INSTALLED_APPS setting like this::

'django_rq', # if you want use the queue of Redis

# if you want use the queue of Redis
'default': {
'HOST': 'localhost',
'PORT': 6379,
'DB': 0,

2. Define SMSAERO_USER and SMSAERO_PASSWORD (raw password) or SMSAERO_PASSWORD_MD5 (hash of password) at

SMSAERO_USER = 'username'
# or
SMSAERO_PASSWORD_MD5 = '202cb962ac59075b964b07152d234b70'

3. Run ```python syncdb``` to create the smsaero models.

4. Start the development server and visit
to create a smsaero (you'll need the Admin app enabled).


Send SMS, check the SMS status, get account balance and get signatures::

from smsaero.utils import send_sms
from smsaero.utils import get_sms_status
from smsaero.utils import get_balance
from smsaero.utils import get_signatures_name
from smsaero.models import SMSMessage

# Send SMS
sms = send_sms('+79998881122', 'Some text...') # sms has SMSMessage type
print sms.sms_id # id of accepted message
print sms.get_status_display() # status

# Check SMS status
status = get_sms_status(sms.sms_id) # returned string

# Get balance of accaunt
print get_balance() # returned the rubbles

# Get array of signature names
print get_signatures_name() # Array of string

Running workers::
python rqworker default

Async send SMS::

from smsaero.urils import send_sms_async
from smsaero.urils import get_sms_status_async
from smsaero.urils import get_balance_async
from smsaero.urils import get_signatures_name_async
from smsaero.models import SMSMessage

# Send SMS
job = send_sms_async('+79998881122', 'Some text...')
job.result # result has SMSMessage type

job = get_sms_status_async(sms.sms_id)
job.result # return string

job = get_balance_asunc()
job.result # returned the rubbles

job = get_signatures_name()
job.result # Array of string
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
djangosmsaero-1.0.0.dev1-py3.5.egg (16.5 kB) Copy SHA256 Checksum SHA256 3.5 Egg Nov 6, 2016
djangosmsaero-1.0.0.dev1-py3-none-any.whl (9.6 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Nov 6, 2016
djangosmsaero-1.0.0.dev1.tar.gz (18.0 kB) Copy SHA256 Checksum SHA256 Source Nov 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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