{ "info": { "author": "101Loop", "author_email": "pypidev@civilmachines.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP" ], "description": "# HSP SMS API\n\n**API Integration of [HSPSMS](http://sms.hspsms.com)**
\n\nContributors: **WE'RE LOOKING FOR SOMEONE WHO CAN CONTRIBUTE IN DOCS**\n- **[Civil Machines Technologies Private Limited](https://github.com/civilmahines)**: For providing me platform and\nfunds for research work. This project is hosted currently with `CMT` only. \n- **[Himanshu Shankar](https://github.com/iamhssingh)**: Himanshu Shankar has initiated this project and worked on this\nproject to collect useful functions and classes that are being used in various projects.\n\n#### Installation\n\n- Download and Install via `pip`\n```\npip install hspsms\n```\nor
\nDownload and Install via `easy_install`\n```\neasy_install hspsms\n```\n\n#### Send SMS\nFollowing is a simple example\n```\nfrom hspsms import HSPConnector\n\nhspconn = HSPConnector(username=\"\", apikey=\"\", sender=\"\", smstype=\"\")\nhspconn.send_sms(recipient=[], message=\"\", sendername=\"\", smstype=\"\", scheduled=\"\")\n```\n\n##### Using with Django\n###### Using [`django-sendsms`](https://github.com/stefanfoulis/django-sendsms)\n- Install `django-sendsms`: `pip install django-sendsms`\n\n- Specify configuration for `HSP API` in `settings.py`\n```\nHSPSMS = {\n \"USER\": \"\",\n \"APIKEY\": \"\",\n \"SENDER\": \"\",\n \"DEFAULT_SMSTYPE\": \"\"\n}\n```\n\n- Specify default `django-sendsms` backend in `settings.py`\n```\nSENDSMS_BACKEND = 'hspsms.backends.DjangoSendSMSBackend'\n```\n\n###### Using with [`DRF Addons`]((https://github.com/101loop/drf-addons))\n- Install `drfaddons`: `pip install drfaddons`\n- `DRF Addons` use `django-sendsms` to send sms. Follow steps for `django-sendsms`.\n- Use `send_message` function of `drfaddons`\n```\nfrom drfaddons.utils import send_message\n\nsend_message(message=\"message\", subject=\"Fallback Email Subject\", \"recip\": [...mobile_numbers...],\n \"recip_email\": [...respective_fallback_email_addresses...],\n \"html_message\": \"fallback_html_message\")\n```\n\n\n", "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/civilmachines/HSP-SMS-API", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "hspsms", "package_url": "https://pypi.org/project/hspsms/", "platform": "", "project_url": "https://pypi.org/project/hspsms/", "project_urls": { "Homepage": "https://github.com/civilmachines/HSP-SMS-API" }, "release_url": "https://pypi.org/project/hspsms/0.0.3/", "requires_dist": [ "certifi (>=2018.4.16)", "chardet (>=3.0.4)", "idna (>=2.7)", "requests (>=2.19.1)", "urllib3 (>=1.23)" ], "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "summary": "HSPSMS API Integration", "version": "0.0.3" }, "last_serial": 4966591, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ec89b681d01266412ae8ab89843c7dea", "sha256": "500ec7cd6af9aab1e28fe958e8b3b968afaa5f76ead28287ddf56814b41b6494" }, "downloads": -1, "filename": "hspsms-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ec89b681d01266412ae8ab89843c7dea", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 2997, "upload_time": "2018-07-28T04:50:24", "url": "https://files.pythonhosted.org/packages/44/d0/dae73e5491b62ca31f9df41c4c8ca46c027a5b7736a585d92e4b57db105d/hspsms-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e93dbbdb5f6f066fe62658f95f3202a4", "sha256": "22502b8ef06362adf54c27973a6ef792cd8c0bd8225da26e9a66b427117702f3" }, "downloads": -1, "filename": "hspsms-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e93dbbdb5f6f066fe62658f95f3202a4", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 2693, "upload_time": "2018-07-28T04:50:25", "url": "https://files.pythonhosted.org/packages/b2/c9/0ffe3d046d8ee4aae3ab01621b925949f48d278bae8051ed8f848224ae79/hspsms-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1543810a5b0dfe7a8a1b8b79859b8836", "sha256": "cf844ffb424e361b2e737576415779f36f6914ba3d84faf1c58d12c3f358e3ce" }, "downloads": -1, "filename": "hspsms-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1543810a5b0dfe7a8a1b8b79859b8836", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 2982, "upload_time": "2018-07-28T07:26:34", "url": "https://files.pythonhosted.org/packages/e1/a4/804cf4073a35df6a2ed33627f64ab39d9344e5bed4a8eccb48c9a70777fd/hspsms-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb21c9926edf9ca1648fa10ebfe8d5b6", "sha256": "c1a702a26da6e93925e5f757e9f533e406b088707ec546a64ecb71fda89ae161" }, "downloads": -1, "filename": "hspsms-0.0.2.tar.gz", "has_sig": false, "md5_digest": "fb21c9926edf9ca1648fa10ebfe8d5b6", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 2687, "upload_time": "2018-07-28T07:26:36", "url": "https://files.pythonhosted.org/packages/1e/38/ff5f3ca7947949582831b571777097212661f9808c25bdd31f2d2f3caee1/hspsms-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e1256e327a0195c9a3ef13d942615ffd", "sha256": "9d5d7d83d5da0bd8771b450588b275995c465c4052da4441c9f8e266ceede386" }, "downloads": -1, "filename": "hspsms-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e1256e327a0195c9a3ef13d942615ffd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 16444, "upload_time": "2019-03-21T05:09:55", "url": "https://files.pythonhosted.org/packages/23/2b/aa63e36b46ef7b576670b7fa938e603d6d00d77074edd65bc0a259023d59/hspsms-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f5ee04bd09a673b2671278beb7a93202", "sha256": "04d88f2a626492fab168cf26b547f36e9e50defe5631308f95476de5e117a587" }, "downloads": -1, "filename": "hspsms-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f5ee04bd09a673b2671278beb7a93202", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 3659, "upload_time": "2019-03-21T05:09:56", "url": "https://files.pythonhosted.org/packages/98/be/be8d636fe166e0b8455aa340fac513b2b832b09c1ea8272130bb62ce9132/hspsms-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1256e327a0195c9a3ef13d942615ffd", "sha256": "9d5d7d83d5da0bd8771b450588b275995c465c4052da4441c9f8e266ceede386" }, "downloads": -1, "filename": "hspsms-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e1256e327a0195c9a3ef13d942615ffd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 16444, "upload_time": "2019-03-21T05:09:55", "url": "https://files.pythonhosted.org/packages/23/2b/aa63e36b46ef7b576670b7fa938e603d6d00d77074edd65bc0a259023d59/hspsms-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f5ee04bd09a673b2671278beb7a93202", "sha256": "04d88f2a626492fab168cf26b547f36e9e50defe5631308f95476de5e117a587" }, "downloads": -1, "filename": "hspsms-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f5ee04bd09a673b2671278beb7a93202", "packagetype": "sdist", "python_version": "source", "requires_python": "!=2.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, >=3.4", "size": 3659, "upload_time": "2019-03-21T05:09:56", "url": "https://files.pythonhosted.org/packages/98/be/be8d636fe166e0b8455aa340fac513b2b832b09c1ea8272130bb62ce9132/hspsms-0.0.3.tar.gz" } ] }