PyLogic

Scott Torborg - Cart Logic

For working with Saleae Logic.

Quickstart

Install it:

$ pip install pylogic

Use it:

>>> from pylogic.api import API
>>> api = API()
>>> api.capture()

Contents

API Reference

Socket API

Contributing

Patches and suggestions are strongly encouraged! GitHub pull requests are preferred, but other mechanisms of feedback are welcome.

PyLogic hopes to have a comprehensive test suite with 100% line and branch coverage, as reported by the excellent coverage module. To run the tests, simply run in the top level of the repo:

$ tox

This will also ensure that the Sphinx documentation builds correctly, and that there are no PEP8 or Pyflakes warnings in the codebase.

Any pull requests should preserve all of these things.

Indices and Tables