An async yunpian API library for Python
Free software: MIT license
Documentation: https://yunpian.readthedocs.org
Python version: 3.5, 3.6
Features
TODO
Installation
At the command line:
$ pip install yunpian
Usage
import aiohttp
from yunpian import SMSClient
from yunpian.contrib.aiohttp import Aiohttp
async with aiohttp.ClientSession() as session:
c = SMSClient(Aiohttp(session), 'api_key')
response = await c.single_send('134xxx', '【测试网】您的验证码是 12432')
print(response)
print(response.json())
Credits
This package was created with Cookiecutter and the mozillazg/cookiecutter-pypackage project template.
Metadata
Release files for yunpian 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yunpian-0.1.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yunpian-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 12.9 kB
Release files / yunpian-0.1.1.tar.gz
| Download URL | yunpian-0.1.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71e242f1b01ad5685e41b2d0efd3bb3eabb0a8892c8b1ca467bacbf84df10dff
|
|
BLAKE2b-256 checksum How to use checksums |
883eef4b41a0f2662c716f92231730ec3663419df020f51a2e7aef47a72c658f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / yunpian-0.1.1-py2.py3-none-any.whl
| Download URL | yunpian-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cb5add93a8ae2a9824e644eb41608f032ca2a7f49da630a741a83c9e380276dd
|
|
BLAKE2b-256 checksum How to use checksums |
7ed7282d8bbe5c6b3a7af32c1ba6a4acb0a352dfb02be48e0ada11be337a7b62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |