An async yunpian API library for Python
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yunpian-0.1.1.tar.gz.
File metadata
- Download URL: yunpian-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71e242f1b01ad5685e41b2d0efd3bb3eabb0a8892c8b1ca467bacbf84df10dff
|
|
| MD5 |
fa4591949aa91a0c72fbe10964d0d40c
|
|
| BLAKE2b-256 |
883eef4b41a0f2662c716f92231730ec3663419df020f51a2e7aef47a72c658f
|
File details
Details for the file yunpian-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: yunpian-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb5add93a8ae2a9824e644eb41608f032ca2a7f49da630a741a83c9e380276dd
|
|
| MD5 |
b52912ac038e5a518909afa43a1cb0cc
|
|
| BLAKE2b-256 |
7ed7282d8bbe5c6b3a7af32c1ba6a4acb0a352dfb02be48e0ada11be337a7b62
|