lorne-luo / JARVIS

Notification micro services for SMS, EMail, Telegram, Weixin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JARVIS

version number: 0.0.1 author: Lorne Luo

Overview

Notification micro services by SMS, EMail, Telegram, Weixin

Installation / Usage

To install use pip:

$ pip install jarvis

Or clone the repo:

$ git clone https://github.com/lorne-luo/jarvis.git
$ python setup.py install

How to run RPYC server


python server.py

How to run RPYC client


from jarvis.client from JarvisClient
client = JarvisClient(hostname='localhost', port=54321)
client.sms_admin('test message',from_app='TEST')

How to run GRPC server

python grpc_server.py

Call from client

from jarvis.grpc.client import sms_admin
import threading
my_thread = threading.Thread(target=sms_admin,args=['test msg!','TEST'])
my_thread.start()
return_value = my_thread.join(2)

Contributing

TBD

Example

TBD

About

Notification micro services for SMS, EMail, Telegram, Weixin

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 98.9%Language:Shell 1.1%