Skip to main content

Send text messages using SMS gateways

Project description

Send text messages using your Gmail account and SMS gateways

Setup

First, install this package with pip:

$ pip install texter

Then, set some environment variables so texter can send mail from your Gmail account:

$ export GMAIL_EMAIL=<email>
$ export GMAIL_PASSWORD=<password>

Usage

from texter import send_message

send_message('1234567890', 'verizon', 'Hello from texter.')

There is also a standalone script you can use:

$ ./send_message 1234567890 verizon "Hello from texter."

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

texter-0.4.tar.gz (1.8 kB view hashes)

Uploaded source

Supported by

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