Alibaba cloud SMS service SDK
Project description
Alibaba SMS 阿里云短信发送 SDK
官方 SDK 过于庞大,如果仅仅是为了发送短信,宁愿自己实现一个。
项目特色
- 多次发送复用底层连接。
- 轻量级,只包含短信发送必要代码。
- 适度封装,使用简单,但是可通过参数改变默认行为。
快速上手
安装
pip install alibaba-sms
使用
from alibaba_sms import AliSMS
client = AliSMS("access_key_id", "access_key_secret")
client.send("phone_number", "code", "sign_name", "template_code")
更多参数参考源码中的文档和注释。
许可证
Alibaba SMS 项目基于 MIT 许可证 发布.
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
alibaba-sms-0.0.1.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file alibaba-sms-0.0.1.tar.gz
.
File metadata
- Download URL: alibaba-sms-0.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c419e5f7dec2fc9ff27901aef8bf073bec5a9fd6a5edd2363e224b6c72a856f |
|
MD5 | 375647e32ce72433210aaec9f6721580 |
|
BLAKE2b-256 | e91c3cc01e80ea2b114d20d944c9d43879cd587526a226b410194cce27ae7f5b |
File details
Details for the file alibaba_sms-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: alibaba_sms-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c118acd8cdc973bf390b401df212c864e06b838a3ca9277ea08fdfb007a579 |
|
MD5 | c0a863cc12d2f508e8be9714c13cb545 |
|
BLAKE2b-256 | 9c25864c5f0563c0e53b0c40868691b1e781709ea84565c9347612f1316d735f |