Skip to main content

Send text message with Twilio

Project description

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
  1. Using function
  • Call send_msg() function
  • send_msg() function receives message to send

Example

  1. Using decorator

  2. Using function

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textfy-0.3.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

textfy-0.3-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page