Skip to main content

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})

logging.basicConfig(level=logging.ERROR)
p = [ [ ['E','echobox','send'],['S','echo','-'] ] ]
conn = ControlMyPi('jid@dom.com', 'pwd', 'tiny', 'Tiny', p, on_msg)
if conn.start_control():
        try:
                raw_input("Press Enter to finish\n")
        finally:
                conn.stop_control()

Please read the documentation links on ControlMyPi for more help.

Metadata

Release files for ControlMyPi 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ControlMyPi 0.1.4
File Size Uploaded Provenance Actions
ControlMyPi-0.1.4.tar.gz 16.7 kB Without provenance Details for ControlMyPi-0.1.4.tar.gz

Release files / ControlMyPi-0.1.4.tar.gz

Download URL ControlMyPi-0.1.4.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
43d9de9d0f1da9fce2cf0991043f533133e9b4b02168e2fa3759a2170c4dcbb3
BLAKE2b-256 checksum
How to use checksums
568adc3ce6ebc08945bd22446c7e1d445c520aaeb855f3d68258ec7925892b68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ControlMyPi 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page