Skip to main content

Python bindings for Swift Binary Protocol

Project description

Python client for Swift Binary Protocol (SBP).

Setup

Youmust have python and pip installed.

Install dependencies only:

$ sudo pip install -r requirements.txt

Install from repo:

$ sudo python setup.py install

Install package from pypi:

$ sudo pip install sbp

Usage Examples

Simple example

Receives SBP messages over a serial port, decodes MSG_BASELINE messages and prints them out. See simple.py .

Run this example with:

$ python -m sbp.client.examples.simple -p /path/to/serial/port

Sending SBP messages over UDP

Receives SBP messages over a serial port and sends all incoming messages to a UDP socket. See udp.py .

Run this example with:

$ python -m sbp.client.examples.udp -s /path/to/serial/port

Testing

To run the tests and check for coverage:

$  py.test -v --cov sbp tests/

To run the tests without suppressing stdout output:

$ py.test -v -s –cov sbp tests/

License

Copyright © 2015 Swift Navigation

Distributed under LGPLv3.0.

Release history Release notifications

This version
History Node

2.3.16

History Node

2.3.15

History Node

2.3.14

History Node

2.3.11

History Node

2.3.9

History Node

2.3.8

History Node

2.3.7

History Node

2.3.4

History Node

2.3.3

History Node

2.3.2

History Node

2.3.0

History Node

2.2.17

History Node

2.2.15

History Node

2.2.14

History Node

2.2.13

History Node

2.2.7

History Node

2.2.6

History Node

2.2.5

History Node

2.2.3

History Node

2.2.1

History Node

2.2.0

History Node

2.1.8

History Node

2.1.7

History Node

2.1.6

History Node

2.1.5

History Node

2.1.4

History Node

2.1.3

History Node

2.1.0

History Node

2.0.0

History Node

1.2.8

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.0

History Node

1.0.1

History Node

1.0.0

History Node

0.52.4

History Node

0.52.3

History Node

0.51.11

History Node

0.51.10

History Node

0.51.9

History Node

0.51.8

History Node

0.51.7

History Node

0.51.5

History Node

0.51.3

History Node

0.51.2

History Node

0.51.1

History Node

0.50.2

History Node

0.50.1

History Node

0.50.0

History Node

0.49.0

History Node

0.48.1

History Node

0.48.0

History Node

0.47.0

History Node

0.46.4

History Node

0.46.3

History Node

0.46.2

History Node

0.46.1

History Node

0.46.0

History Node

0.45

History Node

0.44

History Node

0.43

History Node

0.42

History Node

0.41

History Node

0.39

History Node

0.38

History Node

0.37

History Node

0.36

History Node

0.35

History Node

0.34

History Node

0.32

History Node

0.31

History Node

0.29

History Node

0.28

History Node

0.27

History Node

0.26

History Node

0.25

History Node

0.24

History Node

0.23

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sbp-2.3.16-py2.py3-none-any.whl (106.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Apr 21, 2018
sbp-2.3.16.tar.gz (68.7 kB) Copy SHA256 hash SHA256 Source None Apr 21, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page