• Stars
    star
    288
  • Rank 143,818 (Top 3 %)
  • Language
    Python
  • License
    Other
  • Created over 12 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python API for controlling GPIO and I2C devices connected to the Raspberry Pi

Quick2Wire Python API

A Python library for controlling the hardware attached to the Raspberry Pi's header pins, without running as the root user.

Dependencies

The library depends on Python 3. To install Python 3 run this command from an administrator account, such as pi:

sudo apt-get install python3

You'll also find the python tools virtualenv and pip useful:

sudo apt-get install python-pip
sudo apt-get install python-virtualenv

The GPIO API depends on Quick2Wire GPIO Admin. To install Quick2Wire GPIO Admin, follow the instructions at http://github.com/quick2wire/quick2wire-gpio-admin

The I2C and SPI API depend on support in the kernel. Recent raspbian kernels should be fine.

Installation

The library is currently under active development, so we do not recommend installing it into the system-wide Python libraries. Instead, you can either use it without installation or install it into an isolated Python development environment created with virtualenv.

To use the library without installation, add the full path of the source tree to the PYTHONPATH environment variable. For example:

export QUICK2WIRE_API_HOME=[the directory cloned from Git or unpacked from the source archive]
export PYTHONPATH=$PYTHONPATH:$QUICK2WIRE_API_HOME

If you're using virtualenv, make your virtualenv active, and then run:

python3 setup.py install

Getting Started

Help and Support

There is a discussion group in which you can ask questions about the library.

If you have discovered a bug or would like to request a feature, raise an issue in the issue tracker.

More Repositories

1

quick2wire-gpio-admin

Use the GPIO pins on the Raspberry Pi without running as root
C
241
star
2

rpi-docker-tensorflow

Docker container for the Raspberry Pi containing Tensorflow and Jupyter
Jupyter Notebook
62
star
3

fm2md

Freemind to Markdown Converter
Python
44
star
4

pico-code

MicroPython code for the Raspberry Pi Pico
Python
21
star
5

microplot

Simple MicroPython plotting package
Python
16
star
6

logseq-migration

get and use local copies of roam assets for logseq import
Python
7
star
7

beagleboard-i2c

I2C code and examples for the BeagleBoard
Java
5
star
8

quick2wire-raspberry-pi-interface-board

Eagle and Gerber files for the Quick2Wire Raspberry Pi interface board
Python
4
star
9

nano

Getting Started with the Jetson Nano.
Jupyter Notebook
4
star
10

pdp8

Python
4
star
11

starting-pico-w

working on free ebook
HTML
4
star
12

quick2link

Experimental code for distributed embedded architecture
Python
4
star
13

fp2md4roam

Convert mind maps to markdown for import into Roam.
Python
3
star
14

tdd-lazydoro

tdd lazydoro
Python
3
star
15

lazydoro

automated pomodoro timer
Python
3
star
16

spiking-jax

Simulate spiking neurons using JAX
Jupyter Notebook
2
star
17

quick2wire-blinka

Blinka-based library for Quick2Wire boards.
Python
2
star
18

resistomatic

Autoranging ohm-meter based on Arduino (and maybe other platforms)
HTML
2
star
19

o-x-o

Implementation of Donald Michie's MENACE
Jupyter Notebook
2
star
20

galactic-unicorn

Pre-production galactic unicorn experiments
Python
2
star
21

reggie-dsl

reggie is a Python package that makes regular expressions readable and easy to use
Python
2
star
22

pico-la

Raspberry Pi Pico based Logic Analyser
Python
2
star
23

explorer-hat-examples

Examples and projects for Explorer Hat Tricks
Python
2
star
24

freemap

Import/export freemind mindmaps as Python objects
Python
1
star
25

start-apl

Start APL
HTML
1
star
26

lpc1114

FORTH development using LPC1114 DIP ARM Chip
HTML
1
star
27

pi-towers-workshop

Intro micro:bit MicroPython workshop for Raspberry Jam at Pi Towers
HTML
1
star
28

svg

Python
1
star
29

cluster-hat

HTML
1
star
30

quick2wire-PCF8591-library

Library and test suite for the nxp PCF8591 ADC/DAC
1
star
31

ann2016

Materials for Dyalog 2016 ANN workshop.
APL
1
star
32

heimer-tools

Python tools to read and transform Heimer maps
Python
1
star
33

markdown-builder

Create Markdown from a Python program
Python
1
star
34

aplers-pi-guide

HTML
1
star
35

pifirmata

Hardware and Software to link the Raspberry Pi and Arduino (or clone) using Firmata/pyfirmata
1
star
36

mp_installer

Pico uPyhton installer
Python
1
star
37

microbit-code

code for my forthcoming microbit and MicroPython book.
Python
1
star
38

arduino-i2c

libraries and examples to drive I2C devices using the Arduino
1
star