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!

Python utilities for redpitaya

Project Description


This package provides a library to access the Red Pitaya registers. This library consist of a C library (libmonitor.c) and a ctypes interface on the Python side.

An object oriented interface to the different application (scope, generator, PID, AMS, …) is provided. This interface is implemented using Python properties (see usage below) and can quickly be extended to your own application.

An rpyc server is used in order to communicate with your computer. The interface is the same on the computer as the one on the board.


The process to install PyRedPitaya on the board requires the installation of Python first. See this link.

To install PyRedPitaya on the computer download the package and run the command:

python install

or use easy_install:

easy_install PyRedPitaya


You need to have Python installed on you Red Pitaya.

Interactive Python

Logging onto the redpitaya using ssh, one can start the ipython shell and run :

from PyRedPitaya.board import RedPitaya

redpitaya = RedPitaya()

print redpitaya.ams.temp # Read property = 0b10101010 # Write property

Remote access

You need to install the PyRedPitaya package on your PC as well as Rpyc:


On the computer (replace REDPITAYA_IP by the string containing the IP address) :

from rpyc import connect
from PyRedPitaya.pc import RedPitaya

conn = connect(REDPITAYA_IP, port=18861)
redpitaya = RedPitaya(conn)

print redpitaya.ams.temp # Read property = 0b10101010 # Write property

from time import sleep
from pylab import *

redpitaya.scope.setup(frequency = 100, trigger_source=1)
plot(redpitaya.scope.times, redpitaya.scope.data_ch1)
Release History

Release History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyRedPitaya-1.0.tar.gz (14.6 kB) Copy SHA256 Checksum SHA256 Source Jun 5, 2015

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting