Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Client library for ControlMyPi scripts.

Project Description

ControlMyPi provides a web based service to allow simple Python scripts to be controlled from a panel over the Internet. Your Python script defines a widget layout of labels, buttons, status indicators and more for ControlMyPi to display. When a button is clicked your script will get a message. If you have some status to report, your script can send that to ControlMyPi at any time and it’ll be pushed out to your web browser.

Simple echo example:

import logging
from controlmypi import ControlMyPi

def on_msg(conn, key, value):
        if key == 'echobox':
                conn.update_status({'echo':'Echo: '+value})

p = [ [ ['E','echobox','send'],['S','echo','-'] ] ]
conn = ControlMyPi('', 'pwd', 'tiny', 'Tiny', p, on_msg)
if conn.start_control():
                raw_input("Press Enter to finish\n")

Please read the documentation links on ControlMyPi for more help.

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(16.7 kB) Copy SHA256 Hash SHA256
Source None Dec 19, 2014

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting