skip to navigation
skip to content

ardurpc 0.3

An extensible library to control microcontroller boards like Arduino using Python and the ArduRPC protocol

Python library to control microcontroller based boards by using the ArduRPC protocol.

You can find more information in the documentation.



  • Python 2.7 or Python >= 3.2

Requirements (optional):


Install the basic ArduRPC library.

$ pip install ardurpc


The pyserial library is required to run the following example.

import ardurpc
from ardurpc.connector import Serial, UDP

# Connect to the serial port
con = Serial("/dev/ttyACM0", 9600)

# More examples:
# con = Serial("/dev/ttyUSB0", 9600)
# con = UDP(host="", port=1234)

# New instance
rpc = ardurpc.ArduRPC(connector=con)

print("Version(Protocol): {0}".format(rpc.getProtocolVersion()))
    "Version(Library): {0}".format(
        ".".join([str(i) for i in rpc.getLibraryVersion()])
    "Available handlers: {0}".format(
        ", ".join(rpc.get_handler_names())


Published under the LGPLv3+ (see LICENSE for more information)

File Type Py Version Uploaded on Size
ardurpc-0.3.tar.gz (md5) Source 2014-08-02 8KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 25 downloads in the last week
  • 117 downloads in the last month