Skip to main content
Python binding for Total Phase Aardvark |BuildStatus|
=====================================================

The `Total Phase`_ Aardvark is an USB |I2C|/SPI host adapter.


Rationale
---------

The manufacturer already provides an python binding. So why a new one? This
is correct, but the python binding you can find in the
``aardvark-linux-api`` package is very C oriented. Eg. you need to pass
arrays as method parameters, which are then modified by the binding.
Instead, this binding tries to be more pythonic.


Features
--------

* simple interface
* CLI tool for easy testing
* |I2C| and SPI support
* support for control signals like target power and internal |I2C| pullups
* rudimental |I2C| slave support


(Still) Missing Features
------------------------

* more documentation (please bear with me)
* GPIO support
* I2C monitor support


Documentation
-------------

You can find the most up to date documentation at:
http://pyaardvark.rtfd.org


Requirements
------------

You need an either a x86 or an amd64 machine. This is because the binding
uses a binary-only module supplied by the manufacturer, Total Phase.
Additonally, only Linux is supported at the moment.


Contributing
------------

Contributions are always welcome. You may send patches directly (eg. ``git
send-email``), do a github pull request or just file an issue.

If you are doing code changes or additions please:

* respect the coding style (eg. PEP8),
* provide well-formed commit message (see `this blog post
<http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html>`_.)
* add a Signed-off-by line (eg. ``git commit -s``)


License
-------

This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

.. _Total Phase: http://www.totalphase.com
.. |I2C| replace:: I\ :sup:`2`\ C
.. |BuildStatus| image:: https://travis-ci.org/kontron/python-aardvark.png?branch=master
:target: https://travis-ci.org/kontron/python-aardvark

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyaardvark-0.2.1.tar.gz (78.8 kB view details)

Uploaded Source

File details

Details for the file pyaardvark-0.2.1.tar.gz.

File metadata

  • Download URL: pyaardvark-0.2.1.tar.gz
  • Upload date:
  • Size: 78.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyaardvark-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4887e65f8419c173903ba3ebef7cbc72530ff01c470c0ae15e36d360463ac117
MD5 670e7a1b36e20acc0c5addef63d36613
BLAKE2b-256 501df9ae642e4482f3335ca7e9451fb5a9c9d83cea5a519ddafd36c2b458b9f7

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.1

2 files

0.7.1

2 files

0.7

1 file

0.6.2

1 file

0.6.1

1 file

0.5

1 file

0.4

1 file

0.3

1 file

This release

0.2.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page