quick2wire-python-api

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

  • 所有者: romilly/quick2wire-python-api
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.

主要指标

概览
名称与所有者romilly/quick2wire-python-api
主编程语言Python
编程语言Perl (语言数: 3)
平台
许可证Other
所有者活动
创建于2012-05-02 20:39:59
推送于2022-02-20 17:34:24
最后一次提交2013-06-03 00:51:39
发布数2
最新版本名称0.0.0.2 (发布于 2013-04-05 00:27:56)
第一版名称0.0.0.1 (发布于 2013-04-02 08:09:03)
用户参与
星数292
关注者数49
派生数101
提交数323
已启用问题?
问题数47
打开的问题数25
拉请求数13
打开的拉请求数9
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?