Skip to main content

Python binding for Total Phase Aardvark

BuildStatus PyPiVersion Python versions

The Total Phase Aardvark is an USB I²C/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
  • I²C and SPI support
  • support for control signals like target power and internal I²C pullups
  • rudimental I²C slave support
  • Support for Linux, Windows and OSX

(Still) Missing Features

  • more documentation (please bear with me)
  • GPIO support

Documentation

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

Requirements

You need an either an x86, an amd64, an aarch64, an arm32 or a M1 machine. This is because the binding uses a binary-only module supplied by the manufacturer, Total Phase. Linux, Windows, and OSX are supported.

Python 2.7 support

The last version with python 2.7 support is 0.7.1.

Monitor support

Total Phase removed the monitor support in their binary modules in version 6.00. The last pyaardvark version which use the old binaries and thus still support montoring is 0.7.x.

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.)
  • 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

Metadata

Release files for pyaardvark 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyaardvark 0.8.1
File Size Uploaded Provenance Actions
pyaardvark-0.8.1.tar.gz 266.5 kB Without provenance Details for pyaardvark-0.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyaardvark 0.8.1
File Interpreter ABI Platform Actions
pyaardvark-0.8.1-py3-none-any.whl Python 3 none any Details for pyaardvark-0.8.1-py3-none-any.whl

Total release size: 529.9 kB

Release files / pyaardvark-0.8.1.tar.gz

Download URL pyaardvark-0.8.1.tar.gz
Size 266.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0cc5c5c29198ababee5bb710ae5dd724a350cf0d06440d0814090876ae35f11f
BLAKE2b-256 checksum
How to use checksums
91aa3fbb02bdb95b676a3a366449fc0c097bfa0158881f1b1cbe20781d2a2f4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / pyaardvark-0.8.1-py3-none-any.whl

Download URL pyaardvark-0.8.1-py3-none-any.whl
Size 263.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a96176124444d6b860486561afd2aaceeb5b7ad201bf05626729edee00e6c73f
BLAKE2b-256 checksum
How to use checksums
168d0a993fbf40ec406d0162034876ae9b926972f844653ab3e77cbef29bba3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for pyaardvark 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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