Skip to main content

Simple and straightforward way to send text messages

Project description

SMS4 Python Client

This is the Python client library for SMS4.

This library provides both blocking and non blocking functions for sending text messages via sms4 API.

Installation

pip install sms4

Usage

from sms4 import send, nonblocking_send

# result is a json server response. see docs for details
result = send('+123456798', 'The server is down!')
print(result)

# multiple numbers are supported and you can pass token via
# 3rd argument to send function
result = send(['+123456798', '+123456799'], 'The server is down!', 'YOUR_TOKEN')
print(result)

# Will be send in another thread, no result returned
nonblocking_send('+123456798', 'The server is down!')

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

sms4-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sms4-0.1.0-py2-none-any.whl (3.5 kB view details)

Uploaded Python 2

File details

Details for the file sms4-0.1.0.tar.gz.

File metadata

  • Download URL: sms4-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.14

File hashes

Hashes for sms4-0.1.0.tar.gz
Algorithm Hash digest
SHA256 436ac4636119a05d18df339817d562a2d25fb3e88a0f7ec3397b98113e1a754a
MD5 bf5f01fdcb85355db0d23b0e6873a4c3
BLAKE2b-256 f8f1898b377a5ce25b5c6cc24f8ceeb90e6b5de1a2754f084a7c36c86e574a09

See more details on using hashes here.

File details

Details for the file sms4-0.1.0-py2-none-any.whl.

File metadata

  • Download URL: sms4-0.1.0-py2-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.14

File hashes

Hashes for sms4-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 212d28a393f4bff4e4b205c9b135ab6aaa1812d5f0acbc18e6525de7d3fc8794
MD5 80d6d10805d68dc9ad231824e94c3c37
BLAKE2b-256 4041b7c1ba04045a2d56f10ad839482bc7804425b2caa23d8bb37407d0e61a35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page