This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Python tools for electrical busses such as I2C and SPI.

Status

This package is very much a work in progress, and there is no real documentation yet… There is currently basic support for the Total Phase Aardvark adapter as an I2C master. There is also initial support for a couple I2C slave devices (see bustools/devices/) and the I2C/SPI Activity Board platform.

The public API is not guaranteed to be stable until 1.x release.

Installation

The bustools package can be installed from PyPI using pip:

$ pip install bustools

Support for the Total Phase Aardvark adapter is not included by default since it only supports Windows, Mac OS X, and Linux. To include support for the Aardvark adapter, you need to specify the ‘aardvark’ extra:

$ pip install bustools[aardvark]

Usage

TODO

Examples

The following example uses the Total Phase Aardvark adapter to turn on LED D0 on the I2C/SPI Activity Board.

$ python
Python 2.7.10 (default, Dec  3 2015, 13:28:10)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import bustools.platforms.totalphase.tp240310 as tp240310
>>> import bustools.adapters.aardvark as aardvark
>>> aardvark.print_devices() # find Aardvark devices attached to this system
1 device(s) found:
    port = 0   (avail)  (2237-889465)
>>> with aardvark.Aardvark(0) as adapter:
...     adapter.target_power = True # enable power to the activity board
...     activity_board = tp240310.TP240310(i2c_master=adapter)
...     led = activity_board.d0
...     led.on()
Release History

Release History

0.1.0.dev2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0.dev1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.dev0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bustools-0.1.0.dev2-py2-none-any.whl (16.3 kB) Copy SHA256 Checksum SHA256 py2 Wheel Dec 23, 2015
bustools-0.1.0.dev2.tar.gz (13.0 kB) Copy SHA256 Checksum SHA256 Source Dec 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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