Skip to main content

Build Status Pythons

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',
    hostname='foo.pswin.com',  # Defaults to 'simple.pswin.com'
    https=True
)

Config

Source: /smsframework_pswin/provider.py

  • user: str: Account username
  • password: str: Account password
  • hostname: str: Provider hostname
  • 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

Metadata

Release files for smsframework-pswin 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smsframework-pswin 0.3.4
File Size Uploaded
smsframework-pswin-0.3.4.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smsframework-pswin 0.3.4
File Interpreter ABI Platform
smsframework_pswin-0.3.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 15.3 kB

Release files / smsframework-pswin-0.3.4.tar.gz

Download URL smsframework-pswin-0.3.4.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c16eeb7c9fb7fb21ba6dae0b212549cf0270e8fcb2c9f7493300240bd3398c6e
BLAKE2b-256 checksum
How to use checksums
efde6ce7bc85dbe161e645d1b44b21d5a3d4c0e198a04db0554fe28425617070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

Release files / smsframework_pswin-0.3.4-py2.py3-none-any.whl

Download URL smsframework_pswin-0.3.4-py2.py3-none-any.whl
Size 8.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
145420ce90e6f65bad98dfe0e4c010ba027fabda53d4e411c22cfb1bf475fa59
BLAKE2b-256 checksum
How to use checksums
8e780d2e842a885b68ec51cc5a1f3d3ef4e0af5c91a7fb97477f6bbddb1fde23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page