# Textfy
- Send SMS message using "Twilio"
## How to use
1. Using decorator
- Wrap function with decorator ```@Textfy()```
- Wrapped function needs to return a dictionary which contains message body to send
- When using decorator, it will also sends the execution time of the function
2. Using function
- Call ```send_msg()``` function
- ```send_msg()``` function receives message to send
## Example
1. Using decorator
<img src="https://user-images.githubusercontent.com/47859342/212695259-cddcda37-b099-4865-927a-a05fbb6a71e4.png" width="70%">
2. Using function
<img src="https://user-images.githubusercontent.com/47859342/212695028-fa483162-b6bc-40bd-a831-5fb85d62f2a8.png" width="70%">
Raw data
{
"_id": null,
"home_page": "https://github.com/ojy0216/textfy",
"name": "textfy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "sms,twilio",
"author": "JuYoung Oh",
"author_email": "juyoung.oh@snu.ac.kr",
"download_url": "https://files.pythonhosted.org/packages/18/c9/67c2d4ce74471793a010ab85661157fe24cf8ef8ded230f193ffe18b92b5/textfy-0.3.tar.gz",
"platform": null,
"description": "# Textfy\n- Send SMS message using \"Twilio\"\n\n## How to use\n1. Using decorator\n- Wrap function with decorator ```@Textfy()```\n- Wrapped function needs to return a dictionary which contains message body to send\n- When using decorator, it will also sends the execution time of the function\n\n2. Using function\n- Call ```send_msg()``` function\n- ```send_msg()``` function receives message to send\n\n## Example\n1. Using decorator\n\n <img src=\"https://user-images.githubusercontent.com/47859342/212695259-cddcda37-b099-4865-927a-a05fbb6a71e4.png\" width=\"70%\">\n\n2. Using function\n\n <img src=\"https://user-images.githubusercontent.com/47859342/212695028-fa483162-b6bc-40bd-a831-5fb85d62f2a8.png\" width=\"70%\">\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Send text message with Twilio",
"version": "0.3",
"split_keywords": [
"sms",
"twilio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f1b274946c03bfc32c4c1f6edd05afc4550d2be38da21f8d14e55cac97c863fa",
"md5": "259a4b6c65fbc4c91b6224c0b7fec44c",
"sha256": "b63c6eb18e742c2080b1f391a711b87889eacd42816c64b569ba82daa7ad8261"
},
"downloads": -1,
"filename": "textfy-0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "259a4b6c65fbc4c91b6224c0b7fec44c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 2291,
"upload_time": "2023-01-16T15:58:03",
"upload_time_iso_8601": "2023-01-16T15:58:03.285418Z",
"url": "https://files.pythonhosted.org/packages/f1/b2/74946c03bfc32c4c1f6edd05afc4550d2be38da21f8d14e55cac97c863fa/textfy-0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "18c967c2d4ce74471793a010ab85661157fe24cf8ef8ded230f193ffe18b92b5",
"md5": "2a3d901529c07d7c2ac301087dbd4d43",
"sha256": "e1d52c13d17e41f04bbb02689731a4f8ba21f1ad534640f7f225b25c07a8ceae"
},
"downloads": -1,
"filename": "textfy-0.3.tar.gz",
"has_sig": false,
"md5_digest": "2a3d901529c07d7c2ac301087dbd4d43",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 2490,
"upload_time": "2023-01-16T15:58:05",
"upload_time_iso_8601": "2023-01-16T15:58:05.108006Z",
"url": "https://files.pythonhosted.org/packages/18/c9/67c2d4ce74471793a010ab85661157fe24cf8ef8ded230f193ffe18b92b5/textfy-0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-16 15:58:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ojy0216",
"github_project": "textfy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "textfy"
}