This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

RainBot Module Library for Python

Project Description

Proper documentation and specifications will be coming with RainBot v0.5.0 (This includes a working link to library web page)

To install

pip install pyrml

To generate a simple scaffold (assuming rainbot is installed)

rainbot -m py YourModuleName

Example Usage

#### Simple

from pyrml import Module

m = Module("Echo", "A simple echo module")

@m.command("echo")
def echo(msg, args):
    m.say(msg["Params"][0], " ".join(args))

m.register()
from pyrml import Module

class Echo(Module):
    def __init__(self, name, desc):
        Module.__init__(self, name, desc)

    def echo(self, msg, args):
        self.say(msg["Args"][0], " ".join(args))

if __name__ == '__main__':
    m = Echo("Echo", "An echo mdoule")

    m.add_command("echo", {
        "Help": "Repeats arguments",
        "Fun": m.echo
    })

    m.register()
Release History

Release History

This version
History Node

0.5.1

History Node

0.5.0

History Node

0.4.1

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyrml-0.5.1.zip (4.3 kB) Copy SHA256 Checksum SHA256 Source Jul 31, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting