All Projects → HomeMadePy → messages

HomeMadePy / messages

Licence: MIT license
A python package designed to make sending messages easy and efficient!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to messages

PySMS
Simple Python API that that allows you to send texts via SMTP with a best effort approach and process replies via IMAP
Stars: ✭ 19 (-50%)
Mutual labels:  twilio, smtp
Node-js-functionalities
This repository contains very useful restful API's and functionalities in node-js containing many important tutorial code for mastering node-js, all tutorials have been published on medium.com, tutorials link is given below
Stars: ✭ 69 (+81.58%)
Mutual labels:  twilio, smtp
ruby-whatsapp-bots
A repo of WhatsApp bots built in Ruby
Stars: ✭ 18 (-52.63%)
Mutual labels:  twilio, whatsapp
Plots2
a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! 🎈
Stars: ✭ 666 (+1652.63%)
Mutual labels:  wiki, beginner-friendly
fregata
A self hosted REST API for message delivery
Stars: ✭ 19 (-50%)
Mutual labels:  twilio, smtp
WhatsAppBotTut
Tutorial to create WhatsApp Bot using Twilio and Python
Stars: ✭ 131 (+244.74%)
Mutual labels:  twilio, whatsapp
vue-socials
💬 Social media share buttons and counts for Vue.js
Stars: ✭ 32 (-15.79%)
Mutual labels:  whatsapp
FreePhone
FreePhone es un proyecto de investigación sobre privacidad en dispositivos móviles. Con este repositorio pretendemos liberar toda la experiencia acumulada durante la creación de un smartphone casero.
Stars: ✭ 57 (+50%)
Mutual labels:  wiki
catapulte
Rust implementation of catapulte email sender
Stars: ✭ 113 (+197.37%)
Mutual labels:  smtp
DataStructures-Algorithms
A collections of many CP-based or DSA-based Questions that is stored various algorithms and datastructures to increase coding aptitutde. Anybody with a knack for coding can feel free to add more solutions and questions in the respective folders
Stars: ✭ 15 (-60.53%)
Mutual labels:  beginner-friendly
documentation
The LibreELEC wiki on GitBooks https://libreelec.wiki
Stars: ✭ 30 (-21.05%)
Mutual labels:  wiki
ionic3-whatsappclone
This is a template for WhatsApp for user with ionic framework. It's just a template with no backend for now. See Roadmap in Readme below
Stars: ✭ 24 (-36.84%)
Mutual labels:  whatsapp
aws-lambda-node-mailer
NodeJs code for Firing Email via AWS-Lambda and SES
Stars: ✭ 24 (-36.84%)
Mutual labels:  smtp
VaporTwilioService
Twilio API provider for all your Vapor needs
Stars: ✭ 19 (-50%)
Mutual labels:  twilio
MailDemon
Smtp server for mass emailing, managing email lists and more. Built on .NET Core. Linux, MAC and Windows compatible.
Stars: ✭ 113 (+197.37%)
Mutual labels:  smtp
SemanticWikibase
Makes Wikibase data available in Semantic MediaWiki
Stars: ✭ 14 (-63.16%)
Mutual labels:  wiki
blue-book
My personal knowledge repository
Stars: ✭ 464 (+1121.05%)
Mutual labels:  wiki
imap-honey
IMAP or SMTP honeypot written in Golang
Stars: ✭ 22 (-42.11%)
Mutual labels:  smtp
enough mail
IMAP, POP3 and SMTP clients for Dart developers. Contains both low level as well as a high level API.
Stars: ✭ 78 (+105.26%)
Mutual labels:  smtp
knowledgeworks api
The API utils for querying CN-DBpedia & CN-Probase, the biggest Chinese knowledge bases
Stars: ✭ 24 (-36.84%)
Mutual labels:  api-wrapper

Messages: Create and send messages fast!

PyPI version Coverage Status

messages_words

Purpose

  • Messages is a package designed to make sending messages easy and efficient!
  • Messages intends to be a lightweight package with minimal dependencies.
  • Messages with a consistent API across all message types.
  • Messages includes asynchronous support for fast message handling.

Installation

Python3 only

$ pip install messages

Documentation in the Wiki

Supported Messages

Examples

Synchronous Execution

# You can send messages right in the REPL

>>> from messages import Email
>>> 
>>> m = Email(
            from_ = "[email protected]",
            to = "[email protected]",
            auth = "p@ssw0rd",   
            subject = "Good Advice",
            body = "Hello,\n\tBuy more Bitcoin!",
            attachments = ["./file1.txt", "~/Documents/file2.pdf"],
   )
>>>
>>> m.send()        
Message sent...

Asynchronous Execution

# You can also send messages inside a script

import asyncio

from messages import Email

RECIPIENTS = [
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
]



loop = asyncio.get_event_loop()

for r in RECIPIENTS
    e = Email(
        from_ = "[email protected]",
        to = r,
        auth = "p@ssw0rd",
        subject = "Good Advice",
        body = "This is an asynchronous email.\nContinue buying more Bitcoin!",
        attachments = ["./file1.txt", "~/Documents/file2.pdf"],
    )
    
    loop.create_task(e.send_async())

tasks = asyncio.all_tasks(loop=loop)
group = asyncio.gather(*tasks)
loop.run_until_complete(group)

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].