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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file textfy-0.3.tar.gz.

File metadata

  • Download URL: textfy-0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for textfy-0.3.tar.gz
Algorithm Hash digest
SHA256 e1d52c13d17e41f04bbb02689731a4f8ba21f1ad534640f7f225b25c07a8ceae
MD5 2a3d901529c07d7c2ac301087dbd4d43
BLAKE2b-256 18c967c2d4ce74471793a010ab85661157fe24cf8ef8ded230f193ffe18b92b5

See more details on using hashes here.

File details

Details for the file textfy-0.3-py3-none-any.whl.

File metadata

  • Download URL: textfy-0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.15

File hashes

Hashes for textfy-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b63c6eb18e742c2080b1f391a711b87889eacd42816c64b569ba82daa7ad8261
MD5 259a4b6c65fbc4c91b6224c0b7fec44c
BLAKE2b-256 f1b274946c03bfc32c4c1f6edd05afc4550d2be38da21f8d14e55cac97c863fa

See more details on using hashes here.

Supported by

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