kyleterry / tenyks-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tenyks Service

This is a python abstraction for creating a Tenyks service. This is supposed to bootstrap all the necessary coroutines and connections needed to communicate with the IRC bot.

There will be two branches that follow Tenyks. Version 1.x will follow the version 1.x of Tenyks, which currently uses Redis for Pub/Sub. Version 2.x will follow version 2.x of Tenyks, which is intended to use ZeroMQ as the Pub/Sub mechanism.

The Primary Tenyks README has more information on how to create a service.

Install

Pypi: pip install tenyksservice
Git: git clone https://github.com/kyleterry/tenyks-service; cd tenyks-service; ./setup.py install

For Contributing

Git: git clone https://github.com/kyleterry/tenyks-service; cd tenyks-service; ./setup.py develop

Generating settings

tenyks-service-mkconfig <servicename> > <servicename>_settings.py

This will also generate a UUID for your service. Please don't lose this or you will have to keep purging all the old services registered with Tenyks.

Then, I would set SERVICE_DESCRIPTION to something.

Usage

See examples.

See the Tenyks README section on making a service.

See tenyks-contrib. A repo full of services.

About


Languages

Language:Python 100.0%