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

Uploaded Source

Built Distribution

smsframework_pswin-0.0.3-py2-none-any.whl (8.7 kB view details)

Uploaded Python 2

File details

Details for the file smsframework-pswin-0.0.3.tar.gz.

File metadata

File hashes

Hashes for smsframework-pswin-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c7a837a47599e6d329093d59b479c3323654ac2bc3abdaac399f51397c7d93d1
MD5 0dcd9e88215c53f35ab0a505716c8bdb
BLAKE2b-256 ac63cebee6f717e091d99a9a8b6a310d72d6e809f728f119a4ff3f957d954726

See more details on using hashes here.

File details

Details for the file smsframework_pswin-0.0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for smsframework_pswin-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 aa630649e6154e7fcf81bcfeb549eaedccbe18836c87b3f8e22d60c095c29002
MD5 3a98647c6faad3378781d446aee0cca9
BLAKE2b-256 4718835fa832541617e9560f80565f2cde238f18438a4f9e563dafbda50d7ba5

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