quick2wire-python-api

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

  • Owner: romilly/quick2wire-python-api
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerromilly/quick2wire-python-api
Primary LanguagePython
Program languagePerl (Language Count: 3)
Platform
License:Other
所有者活动
Created At2012-05-02 20:39:59
Pushed At2022-02-20 17:34:24
Last Commit At2013-06-03 00:51:39
Release Count2
Last Release Name0.0.0.2 (Posted on 2013-04-05 00:27:56)
First Release Name0.0.0.1 (Posted on 2013-04-02 08:09:03)
用户参与
Stargazers Count293
Watchers Count49
Fork Count101
Commits Count323
Has Issues Enabled
Issues Count47
Issue Open Count25
Pull Requests Count13
Pull Requests Open Count9
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private