Take control of your Moku:Lab with Python. Pymoku is compatible with Python scripting and live environments, making it easy to start interacting with your Moku:Lab device right away.

Get Started

Interact in real-time

Write and share scripts for repeatable automation or command your Moku:Lab live, record and analyze your data all in a single place by partnering pymoku with Jupyter.

Automated control

Pymoku takes Moku:Lab to the next level, turning it into an automated test, measurement and control device for your lab. Pymoku enables your Moku:Lab to automatically:

  • Switch instruments
  • Acquire and process measurements in real-time
  • Save data logs/metadata for post-processing
  • Generate output signals to control your system
>> data = oscilloscope.get_data()

Open-source integration

Add depth to your pymoku applications by integrating with the many open-source Python libraries available on the web.

Create beautiful visualisations with seaborn, or track progress of your experiment remotely by streaming to the web using plotly. Got data? Pandas provides an endless list of high-performance data structures and easy-to-use analysis tools to get the job done.


Pymoku can be dropped in to any existing lab infrastructure. It’s fully supported on Windows, Linux and OSX and in many cases can be installed without special privileges.

Share your programs with all your colleagues and computers, regardless of operating system; they’ll run anywhere.

Before you start

Moku:Lab supports the following versions of Python:

  • Version 2.7
  • Version 3
Download Python
Make sure your version of python is one of those listed above

Getting started

Install the Pymoku package via Python pip. Detailed instruction can be found
in the quick-start guide. Example scripts are available on the GitHub.

Quick-start guide
Download this guide on how to install Pymoku via pip for Moku:Lab.
Moku:Lab’s example scripts
Access example scripts for each instrument on Pymoku’s GitHub page.