Sending verification codes through Aliyun SMS service.
Project description
aliyun_sms_code
Documentation
Send mobile verfication code using Aliyun SMS service.
First make sure you get your access key, and set your access key id and access key secret as environment variables ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET. See 创建AccessKey
Then activate Aliyun short message service(sms), submit your sign and template sms, and wait for audit results. After approval, sign name and template code will be given to you. In the same way, set sign name and template code as environment variables SIGN_NAME and TEMPLATE_CODE. See 短信服务
Install
Run
pip install aliyun_sms_code
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file aliyun_sms_code-0.0.4.tar.gz
.
File metadata
- Download URL: aliyun_sms_code-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25539d5a4a859d28a98c7eea322f9ef82efeef402ea1d5675287352fcd48b569 |
|
MD5 | 8ba015f91da6027150d8542e8a8d9073 |
|
BLAKE2b-256 | 76bd0844668f0672dff63ab3845724eb24939ad484b9dae204d2470677de2501 |