Skip to main content

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][https://help.aliyun.com/zh/ram/user-guide/create-an-accesskey-pair]

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 [短信服务][https://www.aliyun.com/product/sms?spm=5176.28055625.J_4VYgf18xNlTAyFFbOuOQe.1401.3a0d154aqByyEX&scm=20140722.X_data-954b757d33204a0b9538._.V_1&accounttraceid=efef673de6404a5bb9347b359c468a2fvhfe]

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

aliyun_sms_code-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file aliyun_sms_code-0.0.3.tar.gz.

File metadata

  • Download URL: aliyun_sms_code-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for aliyun_sms_code-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b0e4359cd9236a18752cc197d890259116a823ae24c1902f03c933961da94019
MD5 78870b78aec3acff8ce5bd4db9021e4a
BLAKE2b-256 1951708ad12ae9aab823c961c0d3324f5e780bd958cbc5a2ac90819c94d2c26b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page