Skip to content

A python package designed to make sending messages easy and efficient!

License

Notifications You must be signed in to change notification settings

Ipv6Python/messages

 
 

Repository files navigation

Messages: Create and send messages fast!

PyPI version

messages_words

Purpose

  • Messages is a package designed to make sending messages easy and efficient!
  • Messages wraps various standard library module, third-party module, web app API calls, etc. all in one package and with a consistent API across all message types.
  • Messages can send messages asynchronously.
  • Messages can send messages via the command-line interface.

Installation

Python3 only

$ pip install messages

Documentation in the Wiki

Supported Messages

Examples

REPL

>>> from messages import Email
>>> msg = 'Hello,\n\tBuy more Bitcoin!'
>>> m = Email(
            to='you@there.com',
            body=msg,
            attachments=['./file1.txt', '~/Documents/file2.pdf'],
            profile='myProfileName',
   )
>>>
>>> m.send()        # send synchronously
>>> m.send_async()  # send asynchronously
Message sent...

CLI

$ messages email myProfileName 'Hello,\n\tBuy more Bitcoin!' \
--to you@there.com \
--attach ./file.txt \
--attach ~/Documents/file2.pdf \
Message sent...

Read the Wiki for more examples

Contributing Code

  • Help Wanted!
  • All contributions are welcome to build upon the package!
  • If it's a message, add it to messages!
  • Read the Wiki for guidelines.
  • Join the conversation in the Messages Slack Team

About

A python package designed to make sending messages easy and efficient!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%