Skip to main content

Python tools for the Piksi GNSS receiver.

Project description

https://travis-ci.org/swift-nav/piksi_tools.svg?branch=master https://badge.fury.io/py/piksi_tools.png

Python tools for the Piksi GNSS receiver. This repository includes a a variety of command line utilities (firmware bootloader, serial port data logging, etc.).

Setup

It is advised to install piksi_tools inside a conda environment to avoid modifying global system state. To setup a conda environment first install Miniconda via your package manager if needed, and then run:

conda create -n piksi_tools python=3.7
conda activate piksi_tools

Run pip install -e .[test] to set up a dev install in the local dev environment.

Python version support

  • The most important command line tools - bootload_v3.py, fileio.py, serial_link.py, and settings.py - support Python 3.7 onward.

Testing

To run the tests and check for coverage:

$ PYTHONPATH=. tox

This by default attempts to run tests for all supported Python versions. To skip those versions that you don’t have installed, run:

$ PYTHONPATH=. tox --skip-missing-interpreters

Finally, to run all tests for all supported Python versions:

$ PYTHONPATH=. tox -e py37

USB issues on OS X

The ftdi USB drivers are finicky on some versions of OS X. See their docs for help debugging (tl;dr if you try to plug in multiple USB devices to the same port, the subsequent ones may not appear through ftdi even if they appear in the result of sudo dmesg. Only restarting your machine will fix this.)

License

Copyright (C) 2011-2023 Swift Navigation Distributed under LGPLv3.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

piksi_tools-4.0.0-py2.py3-none-any.whl (50.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file piksi_tools-4.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for piksi_tools-4.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ff7bdf5aeb7c85db6e16b332199305c656d0ea9aa12ff55669e0b15d9ae92a46
MD5 170730eacde84d909b38e087098493c8
BLAKE2b-256 c83388cb8b3b60e0badeb7c11170c1fa80e4d085a380b8cb648db7467d274294

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page