Skip to main content

SMS framework: PSWin provider

Project description

SMSframework PSWinCom Provider

PSWin Provider for smsframework.

Installation

Install from pypi:

$ pip install smsframework_pswin

To receive SMS messages, you need to ensure that Flask microframework is also installed:

$ pip install smsframework_pswin[receiver]

Initialization

from smsframework import Gateway
from smsframework_pswin import PswinProvider

gateway = Gateway()
gateway.add_provider('pswin', PswinProvider,
    user='dignio',
    password='123',
    https=True
)

Config

Source: /smsframework_pswin/provider.py

  • user: str: Account username

  • password: str: Account password

  • https: bool: Use HTTPS for outgoing messages? Default: False

Receivers

Source: /smsframework_pswin/receiver.py

Message Receiver: /im

Login to https://accountweb.pswin.com/ using your account details and edit the section “Mobile Originated (MO) messages forwarding configuration”

Protocol: HTTP Value: <protocol>://<server-name>/<provider-name>/im

Status Receiver: /status

Login to https://accountweb.pswin.com/ using your account details and edit the section “Delivery Reports (DR) forwarding configuration”

Protocol: HTTP Value: <protocol>://<server-name>/<provider-name>/status

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

smsframework-pswin-0.0.1.post1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

smsframework_pswin-0.0.1.post1-py2-none-any.whl (7.3 kB view details)

Uploaded Python 2

File details

Details for the file smsframework-pswin-0.0.1.post1.tar.gz.

File metadata

File hashes

Hashes for smsframework-pswin-0.0.1.post1.tar.gz
Algorithm Hash digest
SHA256 0fe9cc4a7bf3a0774be21b5b3a8dc55a06573a1f3af13e5fdbcd2df08ae172e9
MD5 5635b4b1315a9b2464ce5fd1266aeec1
BLAKE2b-256 0a08868c6301fa58210fc9157187d5299d80777850c5421531d46c6fe815ee57

See more details on using hashes here.

File details

Details for the file smsframework_pswin-0.0.1.post1-py2-none-any.whl.

File metadata

File hashes

Hashes for smsframework_pswin-0.0.1.post1-py2-none-any.whl
Algorithm Hash digest
SHA256 370cced0d6e8ecec2b60ead23dc0fd2eb3e6971d1c05c25f06425601d193cd1d
MD5 04d6c999ce2737a0fb1c35d27a3fa5ba
BLAKE2b-256 0d4624e63814868b587e3f834cb93a3fc8342784eac03393b3ec387e62ef441c

See more details on using hashes here.

Supported by

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