{ "info": { "author": "Leon Liu", "author_email": "liuyong@hwbuluo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP" ], "description": "# django-send-messages\nA simple API to send messages\uff0cfollow django mail design. It includes Yunpian backend and Wechat(weixin) backend. You can easily send sms message and wechat message by it. [Yunpian](http://www.yunpian.com) is a great sms cloud service. And [Wechat](https://mp.weixin.qq.com/) is the most famous social network in china.\n\nAnd it can easily be extended to other sms backend.\n\nInstall\n-------\n``\npip install git+ssh://git@github.com/hwbuluo/django-send-messages.git\n``\n\nUsage\n-----\n\nAdd ``sms`` to your ``INSTALLED_APPS`` setting and add an\n``include('sms.urls')`` at any point in your url-conf.\n\nYou can see the testproj for detail.\n\nEnjoy it!\n\n# About Contribution \n\n\u8d21\u732e\u4ee3\u7801\u6307\u5357\n\n\u6211\u4eec\u975e\u5e38\u6b22\u8fce\u5927\u5bb6\u6765\u8d21\u732e\u4ee3\u7801\uff0c\u6211\u4eec\u4f1a\u5411\u8d21\u732e\u8005\u81f4\u4ee5\u6700\u8bda\u631a\u7684\u656c\u610f,\u8ba9\u6211\u4eec\u4e00\u8d77\u521b\u9020\u51fa\u597d\u7528\u7684\u5f00\u6e90\u4e91\u6d88\u606f\u63a5\u5165\u670d\u52a1\u4ea7\u54c1\u3002\n\n\u76ee\u524d\u6211\u4eec\u53ea\u662f\u5f15\u5165\u4e86\u4e91\u7247\u7684\u77ed\u4fe1\u670d\u52a1\uff0c\u8ba9Django\u5f00\u53d1\u8005\u53ef\u4ee5\u5f88\u5bb9\u6613\u7684\u4f7f\u7528\u4e91\u7247\u63d0\u4f9b\u7684\u670d\u52a1\u8fdb\u884c\u77ed\u4fe1\u53d1\u9001\uff0c\u5e76\u63d0\u4f9b\u4e86\u6d4b\u8bd5\u7684mock backend\uff0c\u548c\u63a5\u6536\u4e91\u7247\u7684\u77ed\u4fe1\u53d1\u9001\u6210\u529f\u56de\u6267\u3002\u4f46\u662f\u8fd8\u6709\u4e00\u4e9b\u4e91\u7247\u7684\u56de\u8c03\u5e76\u672a\u5904\u7406\uff0c\u5177\u4f53\u53ef\u4ee5\u53c2\u8003[\u4e91\u7247\u6587\u6863](http://www.yunpian.com/api/sms.html)\uff0c\u5728view.py\u4e2d\u8fdb\u884c\u6dfb\u52a0\u3002\n\n\u6211\u4eec\u8ba1\u5212\u4e0b\u4e00\u6b65\u5f15\u5165\u5fae\u4fe1\u7684sendbackend\uff0c\u53ef\u4ee5\u901a\u8fc7\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u63d0\u4f9b\u7684\u6a21\u7248\u6d88\u606f\u63a5\u53e3\uff0c\u7ed9\u6307\u5b9a\u4eba\u5458\u53d1\u9001\u6d88\u606f\uff0c\u6b22\u8fce\u5927\u5bb6\u53c2\u4e0e\u8fdb\u6765\u3002\n\n\u4e00\u822c\u53ef\u4ee5\u901a\u8fc7\u5728Github\u4e0a\u63d0\u4ea4[Pull Request](https://github.com/hwbuluo/django-send-messages)\u6765\u8d21\u732e\u4ee3\u7801\u3002\n\n## Pull Request\u8981\u6c42\n\n- **\u4ee3\u7801\u89c4\u8303** \u9075\u4ecepep8\uff0cpythonic\u3002\n\n- **\u4ee3\u7801\u683c\u5f0f** \u63d0\u4ea4\u524d \u8bf7\u6309 pep8 \u8fdb\u884c\u683c\u5f0f\u5316\u3002\n\n- **\u5fc5\u987b\u6dfb\u52a0\u6d4b\u8bd5\uff01** - \u5982\u679c\u6ca1\u6709\u6d4b\u8bd5\uff0c\u90a3\u4e48\u63d0\u4ea4\u7684\u8865\u4e01\u662f\u4e0d\u4f1a\u901a\u8fc7\u7684\u3002\n\n- **\u521b\u5efafeature\u5206\u652f** - \u6700\u597d\u4e0d\u8981\u4ece\u4f60\u7684master\u5206\u652f\u63d0\u4ea4 pull request\u3002\n\n- **\u4e00\u4e2afeature\u63d0\u4ea4\u4e00\u4e2apull\u8bf7\u6c42** - \u5982\u679c\u4f60\u7684\u4ee3\u7801\u53d8\u66f4\u4e86\u591a\u4e2a\u64cd\u4f5c\uff0c\u90a3\u5c31\u63d0\u4ea4\u591a\u4e2apull\u8bf7\u6c42\u5427\u3002\n\n- **\u6e05\u6670\u7684commit\u5386\u53f2** - \u4fdd\u8bc1\u4f60\u7684pull\u8bf7\u6c42\u7684\u6bcf\u6b21commit\u64cd\u4f5c\u90fd\u662f\u6709\u610f\u4e49\u7684\u3002\u5982\u679c\u4f60\u5f00\u53d1\u4e2d\u9700\u8981\u6267\u884c\u591a\u6b21\u7684\u5373\u65f6commit\u64cd\u4f5c\uff0c\u90a3\u4e48\u8bf7\u628a\u5b83\u4eec\u653e\u5230\u4e00\u8d77\u518d\u63d0\u4ea4pull\u8bf7\u6c42\u3002\n\n## \u8fd0\u884c\u6d4b\u8bd5(Run tests)\n\nYou can test the app:\n\n1. setup a virtualenv,and activate it.\n``\nvirtualenv --distribute venv\n``\n2. install the dependency\n``\npip install -r test-requirements.py\n``\n3. test it use py.test\n``\npy.test sms/tests.py\n``", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hwbuluo/django-send-messages", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-send-messages", "package_url": "https://pypi.org/project/django-send-messages/", "platform": "any", "project_url": "https://pypi.org/project/django-send-messages/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hwbuluo/django-send-messages" }, "release_url": "https://pypi.org/project/django-send-messages/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "A simple API to send messages, includes Yunpian backend and Wechat(weixin) backend.", "version": "1.0.1" }, "last_serial": 1541991, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c5cb0294a7f6a4432a344e9698893865", "sha256": "655cad0d9b35a181602c2216523d54c3adec09ab790f5ce22391bde87e1e14fc" }, "downloads": -1, "filename": "django_send_messages-1.0.0-py2.7.egg", "has_sig": false, "md5_digest": "c5cb0294a7f6a4432a344e9698893865", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 31622, "upload_time": "2015-05-11T09:30:18", "url": "https://files.pythonhosted.org/packages/b5/d3/06da6d244171546cb0d969abd6258cf97dca53e585f013188c3a97e282dd/django_send_messages-1.0.0-py2.7.egg" } ], "1.0.1": [ { "comment_text": "built for Darwin-14.3.0", "digests": { "md5": "7e4c05361faabbda297fe859aef0e32d", "sha256": "fe6ee0063e14d9a78f03dbe69839166738c2df7ab5368218adaf61d26b544817" }, "downloads": -1, "filename": "django-send-messages-1.0.1.macosx-10.10-intel.tar.gz", "has_sig": false, "md5_digest": "7e4c05361faabbda297fe859aef0e32d", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 20143, "upload_time": "2015-05-11T13:14:19", "url": "https://files.pythonhosted.org/packages/06/14/221fff145803543e1d2e31c04d33562a42a0205dd68f4e2bf26320eb6665/django-send-messages-1.0.1.macosx-10.10-intel.tar.gz" } ] }, "urls": [ { "comment_text": "built for Darwin-14.3.0", "digests": { "md5": "7e4c05361faabbda297fe859aef0e32d", "sha256": "fe6ee0063e14d9a78f03dbe69839166738c2df7ab5368218adaf61d26b544817" }, "downloads": -1, "filename": "django-send-messages-1.0.1.macosx-10.10-intel.tar.gz", "has_sig": false, "md5_digest": "7e4c05361faabbda297fe859aef0e32d", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 20143, "upload_time": "2015-05-11T13:14:19", "url": "https://files.pythonhosted.org/packages/06/14/221fff145803543e1d2e31c04d33562a42a0205dd68f4e2bf26320eb6665/django-send-messages-1.0.1.macosx-10.10-intel.tar.gz" } ] }