{ "info": { "author": "hipo", "author_email": "pypi@hipolabs.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# Django SMS Toolkit\n\nDjango module to send and store SMS with Twilio.\n\n## Releases\n\nTo release a new version via github.com, follow the steps in this [link](https://help.github.com/en/articles/creating-releases).\n\nTo release a new version via git commands, follow this [documentation](https://git-scm.com/book/en/v2/Git-Basics-Tagging).\n\nYou can see the releases [here](https://github.com/Hipo/django-sms-toolkit/releases).\n\n## Versioning\n\nYou can refer [here](https://semver.org/) for semantics of versioning.\n\n## Installation\n\n1. pip install `django-sms-toolkit`. \n\n2. Add **django_sms_toolkit** to the `INSTALLED_APPS` in the settings file.\n\n3. Configure settings.\n\n```\nDJANGO_SMS_TOOLKIT_SETTINGS = {\n \"SEND_SMS\": True, # True by default.\n \"DEFAULT_FROM_NUMBER\": \"\",\n \"TWILIO\": {\n \"ACCOUNT_SID\": \"\",\n \"AUTH_TOKEN\": \"\",\n \"STATUS_CALLBACK_BASE_URL\": \"https://www.myapp.com\",\n \"TRIM_LONG_BODY\": True, # True by default. Makes sure character limit is not exceeded.\n }\n}\n```\n\n4. `python manage.py migrate`\n\n5. Include urls to be able to receive message status callbacks from Twilio.\n\n```\nurlpatterns = [\n ....,\n url(r'^', include('django_sms_toolkit.urls')),\n]\n```\n\n6. (Optional) Add `TwilioMessageMixin` to your auth user model.\n```\nfrom django_sms_toolkit.models import TwilioMessageMixin\n\nclass AuthUser(TwilioMessageMixin,...):\n ....\n \n# Default from number provided in settings is used if from_number is not provided.\nuser.send_sms(body, from_number=None)\n# OR\nfrom django_sms_toolkit.tasks import send_sms\nsend_sms.delay(from_number, to_number, body, recipient_id=None)\n```\n\n## Support\n\nPlease [open an issue](https://github.com/Hipo/django-sms-toolkit/issues/new) for support.\n\n## Contributing\n\nPlease contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/Hipo/django-sms-toolkit/compare/).", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Hipo/django-sms-toolkit", "keywords": "", "license": "Apache-2.0", "maintainer": "", "maintainer_email": "", "name": "django-sms-toolkit", "package_url": "https://pypi.org/project/django-sms-toolkit/", "platform": "", "project_url": "https://pypi.org/project/django-sms-toolkit/", "project_urls": { "Homepage": "https://github.com/Hipo/django-sms-toolkit" }, "release_url": "https://pypi.org/project/django-sms-toolkit/0.1.6/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "It's a Django module to send and store SMS with Twilio.", "version": "0.1.6", "yanked": false, "yanked_reason": null }, "last_serial": 6042185, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1d7cc2d49a7abaa739ff188acb0206ac", "sha256": "480e739dba096cb8a3d506190ced496161bbb2fbe1b7b0984be7dc36fae8733d" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1d7cc2d49a7abaa739ff188acb0206ac", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 5991, "upload_time": "2019-09-18T15:18:27", "upload_time_iso_8601": "2019-09-18T15:18:27.917314Z", "url": "https://files.pythonhosted.org/packages/7d/56/54d3212bce9c890bde96c7edf770bc7c617978ed1ffef25d664bd69ba268/django-sms-toolkit-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7f8fcb613c8a539245e30d152f2319b8", "sha256": "2eb0e8a3fb1569cd33b77e35c54aefe80366aa0aa9ce2a32ae6c7e3edc87fc79" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7f8fcb613c8a539245e30d152f2319b8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 6964, "upload_time": "2019-09-19T14:43:09", "upload_time_iso_8601": "2019-09-19T14:43:09.548043Z", "url": "https://files.pythonhosted.org/packages/54/0c/990f778122b0f73da57bf94ee9443150d1a69d9b1856dc90f1603b506a4a/django-sms-toolkit-0.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "6c6aa846b455ee982149d36d01681810", "sha256": "75d79c3e7963a41f247a5ab8b2c19d1405cc50c364f2038cdd5fb580f7334861" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6c6aa846b455ee982149d36d01681810", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 6974, "upload_time": "2019-09-20T12:18:47", "upload_time_iso_8601": "2019-09-20T12:18:47.263070Z", "url": "https://files.pythonhosted.org/packages/c3/68/c52457a6b241139fa044907df22d8c6ef7656778b5b518c0c6015cfef4cc/django-sms-toolkit-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c5ccf2216f7a300fd65a92412d770cc8", "sha256": "71550dfa657a743bc95d85d711464c555a1211eb8c43a673d7cc94897fd5f958" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.3.tar.gz", "has_sig": false, "md5_digest": "c5ccf2216f7a300fd65a92412d770cc8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 6986, "upload_time": "2019-09-20T16:19:32", "upload_time_iso_8601": "2019-09-20T16:19:32.228621Z", "url": "https://files.pythonhosted.org/packages/c3/93/65d5824d3e9e096bb88d1c4c178156436fd7563e9d2e28470bb70f04d685/django-sms-toolkit-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ad03b1aceac17a75aa0dfb4bd9a0dca2", "sha256": "56a26dfe1acaf4fd79c3ea1b934f713bd81c7d7ea9092caa67198d364b1136a3" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.4.tar.gz", "has_sig": false, "md5_digest": "ad03b1aceac17a75aa0dfb4bd9a0dca2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7175, "upload_time": "2019-10-09T12:18:43", "upload_time_iso_8601": "2019-10-09T12:18:43.878778Z", "url": "https://files.pythonhosted.org/packages/4e/da/0397c43052ef802ea05b64defc555e5900efd86d938ed208ef144bc095e4/django-sms-toolkit-0.1.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "bd7f06f02cce1187457161d07ed67b67", "sha256": "84fa74c7f8f2d616694f630596771c178c490619ebaedb33a58ff6dab1797cdf" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.5.tar.gz", "has_sig": false, "md5_digest": "bd7f06f02cce1187457161d07ed67b67", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7254, "upload_time": "2019-10-28T14:06:56", "upload_time_iso_8601": "2019-10-28T14:06:56.494027Z", "url": "https://files.pythonhosted.org/packages/c1/bd/553154a9b2962e14c83f36a424180495096ec9cf730d0c3886813671722f/django-sms-toolkit-0.1.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "b73bc740b4484bb8ec66a5abd46ad94c", "sha256": "a321f035b1b5be2b2977eec3278ec31edffbdccf3ff294ef215625ff614111c7" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b73bc740b4484bb8ec66a5abd46ad94c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7816, "upload_time": "2019-10-28T14:36:53", "upload_time_iso_8601": "2019-10-28T14:36:53.058446Z", "url": "https://files.pythonhosted.org/packages/db/63/d23aecfc01622d5100c4978c6280050b2922cb173fd1a660662f6cd32d7b/django-sms-toolkit-0.1.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b73bc740b4484bb8ec66a5abd46ad94c", "sha256": "a321f035b1b5be2b2977eec3278ec31edffbdccf3ff294ef215625ff614111c7" }, "downloads": -1, "filename": "django-sms-toolkit-0.1.6.tar.gz", "has_sig": false, "md5_digest": "b73bc740b4484bb8ec66a5abd46ad94c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7816, "upload_time": "2019-10-28T14:36:53", "upload_time_iso_8601": "2019-10-28T14:36:53.058446Z", "url": "https://files.pythonhosted.org/packages/db/63/d23aecfc01622d5100c4978c6280050b2922cb173fd1a660662f6cd32d7b/django-sms-toolkit-0.1.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }