MCRcon
Straightforward implementation of Minecraft's Rcon protocol in Python.
mcrcon.py
is a module you can import from your own python code to send commands to a minecraft server and read responses.demo.py
is a simple command-line client that lets you do the above without writing any code.