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

Uploaded Source

Built Distribution

smsframework_pswin-0.0.1.post8-py2-none-any.whl (8.8 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for smsframework-pswin-0.0.1.post8.tar.gz
Algorithm Hash digest
SHA256 31d46de1330941911b09ba4323edaa6c49105518762fbeec07cb588d8702ebeb
MD5 bbef42a632d975aeff5aee06ebf6edda
BLAKE2b-256 2e37a4c296fdb84ec735207e94143afe4e0b82d5dbdbdb78adfef62dff67faf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smsframework_pswin-0.0.1.post8-py2-none-any.whl
Algorithm Hash digest
SHA256 985784d38f5e33dfede1e9ebbde07e993128aea63aab478ee9c913028fcb371f
MD5 c9de409fd581d739a1d7c3f5e9cc9356
BLAKE2b-256 89948509c2a2332d11292db2630c70f5f1d5a0df93554d9cb063b5f3736dee9d

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