alibaba-sms


Namealibaba-sms JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryAlibaba cloud SMS service SDK
upload_time2023-08-20 11:16:43
maintainer
docs_urlNone
author
requires_python>=3.6
licenseMIT
keywords ali alibaba cloud sms sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Alibaba SMS 阿里云短信发送 SDK
===

官方 SDK 过于庞大,如果仅仅是为了发送短信,宁愿自己实现一个。


项目特色
---

- 多次发送复用底层连接。
- 轻量级,只包含短信发送必要代码。
- 适度封装,使用简单,但是可通过参数改变默认行为。


快速上手
---

### 安装

```shell
pip install alibaba-sms
```

### 使用

```python
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 许可证](http://www.opensource.org/licenses/mit-license.php) 发布.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "alibaba-sms",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "ali,alibaba,cloud,sms,sdk",
    "author": "",
    "author_email": "Lin Zhiwen <zhiwenlin1116@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e9/1c/3cc01e80ea2b114d20d944c9d43879cd587526a226b410194cce27ae7f5b/alibaba-sms-0.0.1.tar.gz",
    "platform": null,
    "description": "Alibaba SMS \u963f\u91cc\u4e91\u77ed\u4fe1\u53d1\u9001 SDK\n===\n\n\u5b98\u65b9 SDK \u8fc7\u4e8e\u5e9e\u5927\uff0c\u5982\u679c\u4ec5\u4ec5\u662f\u4e3a\u4e86\u53d1\u9001\u77ed\u4fe1\uff0c\u5b81\u613f\u81ea\u5df1\u5b9e\u73b0\u4e00\u4e2a\u3002\n\n\n\u9879\u76ee\u7279\u8272\n---\n\n- \u591a\u6b21\u53d1\u9001\u590d\u7528\u5e95\u5c42\u8fde\u63a5\u3002\n- \u8f7b\u91cf\u7ea7\uff0c\u53ea\u5305\u542b\u77ed\u4fe1\u53d1\u9001\u5fc5\u8981\u4ee3\u7801\u3002\n- \u9002\u5ea6\u5c01\u88c5\uff0c\u4f7f\u7528\u7b80\u5355\uff0c\u4f46\u662f\u53ef\u901a\u8fc7\u53c2\u6570\u6539\u53d8\u9ed8\u8ba4\u884c\u4e3a\u3002\n\n\n\u5feb\u901f\u4e0a\u624b\n---\n\n### \u5b89\u88c5\n\n```shell\npip install alibaba-sms\n```\n\n### \u4f7f\u7528\n\n```python\nfrom alibaba_sms import AliSMS\n\nclient = AliSMS(\"access_key_id\", \"access_key_secret\")\nclient.send(\"phone_number\", \"code\", \"sign_name\", \"template_code\")\n```\n\n\u66f4\u591a\u53c2\u6570\u53c2\u8003\u6e90\u7801\u4e2d\u7684\u6587\u6863\u548c\u6ce8\u91ca\u3002\n\n\u8bb8\u53ef\u8bc1\n---\n\nAlibaba SMS \u9879\u76ee\u57fa\u4e8e [MIT \u8bb8\u53ef\u8bc1](http://www.opensource.org/licenses/mit-license.php) \u53d1\u5e03.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Alibaba cloud SMS service SDK",
    "version": "0.0.1",
    "project_urls": {
        "homepage": "https://github.com/jayvynl/alibaba-sms"
    },
    "split_keywords": [
        "ali",
        "alibaba",
        "cloud",
        "sms",
        "sdk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c25864c5f0563c0e53b0c40868691b1e781709ea84565c9347612f1316d735f",
                "md5": "c0a863cc12d2f508e8be9714c13cb545",
                "sha256": "a1c118acd8cdc973bf390b401df212c864e06b838a3ca9277ea08fdfb007a579"
            },
            "downloads": -1,
            "filename": "alibaba_sms-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c0a863cc12d2f508e8be9714c13cb545",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5396,
            "upload_time": "2023-08-20T11:16:41",
            "upload_time_iso_8601": "2023-08-20T11:16:41.490283Z",
            "url": "https://files.pythonhosted.org/packages/9c/25/864c5f0563c0e53b0c40868691b1e781709ea84565c9347612f1316d735f/alibaba_sms-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e91c3cc01e80ea2b114d20d944c9d43879cd587526a226b410194cce27ae7f5b",
                "md5": "375647e32ce72433210aaec9f6721580",
                "sha256": "8c419e5f7dec2fc9ff27901aef8bf073bec5a9fd6a5edd2363e224b6c72a856f"
            },
            "downloads": -1,
            "filename": "alibaba-sms-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "375647e32ce72433210aaec9f6721580",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5230,
            "upload_time": "2023-08-20T11:16:43",
            "upload_time_iso_8601": "2023-08-20T11:16:43.477175Z",
            "url": "https://files.pythonhosted.org/packages/e9/1c/3cc01e80ea2b114d20d944c9d43879cd587526a226b410194cce27ae7f5b/alibaba-sms-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-20 11:16:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jayvynl",
    "github_project": "alibaba-sms",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "alibaba-sms"
}
        
Elapsed time: 0.20644s