Longleding Push Service SDK
Supported Python Versions
Python >= 3.6
Installation
longleding-push-service-sdk is available for Linux, macOS, and Windows.
$ pip install longleding-push-service-sdk
Basic Usage
# -*- coding: utf-8 -*-
from sdk import push_service_sdk
push_service_endpoint = "localhost:80"
source_name = "demo"
push_service_sdk.init_service(endpoint=push_service_endpoint, source=source_name)
def send_sms_register_code():
push_service_sdk.send_sms_register_code("xxxxxxxxxxx", "xxxxxx")
def send_sms_login_code():
push_service_sdk.send_sms_login_code("xxxxxxxxxxx", "xxxxxx")
def send_sms_change_password_code():
push_service_sdk.send_sms_change_password_code("xxxxxxxxxxx", "xxxxxx")
def send_email_register_code():
push_service_sdk.send_email_register_code("xxxxxxxxxxx", "xxxxxx")
def send_email_login_code():
push_service_sdk.send_email_login_code("xxxxxxxxxxx", "xxxxxx")
def send_email_change_password_code():
push_service_sdk.send_email_change_password_code("xxxxxxxxxxx", "xxxxxx")
if __name__ == '__main__':
send_sms_register_code()
Metadata
Release files for longleding-push-service-sdk 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| longleding-push-service-sdk-0.1.2.tar.gz | 6.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| longleding_push_service_sdk-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.5 kB
Release files / longleding-push-service-sdk-0.1.2.tar.gz
| Download URL | longleding-push-service-sdk-0.1.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
942b53747c47c3b067e62141bf88e9e91b86a5ea5f765b33e03d10146f134a81
|
|
BLAKE2b-256 checksum How to use checksums |
7647659700725fe857c3ad0f8b073e117ef6733ef438bbe1031f0fdc4f42cc57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.0
|
Release files / longleding_push_service_sdk-0.1.2-py3-none-any.whl
| Download URL | longleding_push_service_sdk-0.1.2-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d1ea530ad4ae9a7587cd74e547370c98c97b4e477f0faa94b7c3e74f5ab7545
|
|
BLAKE2b-256 checksum How to use checksums |
417397b9a4439875063cbca0248cf062421087feaf6b2d14ce9718a5991adbce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.0
|
Security for longleding-push-service-sdk 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.