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.post2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

smsframework_pswin-0.0.1.post2-py2-none-any.whl (8.6 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for smsframework-pswin-0.0.1.post2.tar.gz
Algorithm Hash digest
SHA256 9b47183491b0ae904e8b567cb967abb7025592a386d915a6393b1e215462e84c
MD5 bcfd482a43dbdbf932b1d93d642502e8
BLAKE2b-256 04b27a42414e3fe5362ad37dc598cec66d6f6c83e0ede2abfe1e1eaa5be1e1c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smsframework_pswin-0.0.1.post2-py2-none-any.whl
Algorithm Hash digest
SHA256 1103f8a6efca727598c6b95b187da879bddebfb52a2419a5ce8648d39e3f7f94
MD5 6284cb76b1e7c1014c7a60cbfae5c983
BLAKE2b-256 1f378aed461c33df2a761e9f585edf9f0743aeb4365f198b1b9d39710072331f

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