Skip to main content

A pure-Python implementation of serial KISS and KISS-over-TCP protocols for communicating with TNC devices

Project description

kiss3 is a Python Module that implements the KISS Protocol for communicating with KISS-enabled devices (such as Serial or TCP TNCs) and provides support for encoding and decoding AX.25 frames.

Versions

  • 6.5.x branch will be the last version of this Module that supports Python 2.7.x

  • 7.x.x branch and-on will be Python 3.x ONLY.

  • 8.x branch from python-aprs supports python 3.6+

Installation

Install from pypi using pip: pip install kiss3

Usage Examples

Read & print frames from a TNC connected to ‘/dev/ttyUSB0’ at 1200 baud:

import kiss3

def p(x): print(x)  # prints whatever is passed in.

k = kiss3.SerialKISS('/dev/ttyUSB0', 1200)
k.start()  # inits the TNC, optionally passes KISS config flags.
k.read(callback=p)  # reads frames and passes them to `p`.

See also: examples/ directory.

Testing

Run tox:

tox

See Also

  • Python APRS Module Library for sending, receiving and parsing APRS Frames to and from multiple Interfaces

  • Python KISS Module Handles interfacing-to and encoding-for various KISS Interfaces.

  • Python APRS Gateway Uses Redis PubSub to run a multi-interface APRS Gateway.

  • Python APRS Tracker TK.

  • dirus Dirus is a daemon for managing a SDR to Dire Wolf interface. Manifests that interface as a KISS TCP port.

Similar Projects

  • apex by Jeffrey Phillips Freeman (WI2ARD). Next-Gen APRS Protocol. (based on this Module! :)

  • aprslib by Rossen Georgiev. A Python APRS Library with build-in parsers for several Frame types.

  • aprx by Matti & Kenneth. A C-based Digi/IGate Software for POSIX platforms.

  • dixprs by HA5DI. A Python APRS project with KISS, digipeater, et al., support.

  • APRSDroid by GE0RG. A Java/Scala Android APRS App.

  • YAAC by KA2DDO. A Java APRS Client.

  • Ham-APRS-FAP by aprs.fi: A Perl APRS Parser.

  • Dire Wolf by WB2OSZ. A C-Based Soft-TNC for interfacing with sound cards. Can present as a KISS interface!

Build Status

Master:

https://travis-ci.org/ampledata/kiss.svg?branch=master

Develop:

https://travis-ci.org/ampledata/kiss.svg?branch=develop

Source

Github: https://github.com/ampledata/kiss

Author

Greg Albrecht W2GMD oss@undef.net

http://ampledata.org/

License

Apache License, Version 2.0. See LICENSE for details.

Project details


Download files

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

Source Distribution

kiss3-8.0.0a4.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kiss3-8.0.0a4-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file kiss3-8.0.0a4.tar.gz.

File metadata

  • Download URL: kiss3-8.0.0a4.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for kiss3-8.0.0a4.tar.gz
Algorithm Hash digest
SHA256 8e5f421bce0915569d2eb380972ac1dcedc4f7a71859cb5d5eebc016c47667d7
MD5 167bd521794de8537db8e2bdaec82bf2
BLAKE2b-256 0284c4d9ed6522b89e8b9c4fc6d5d80901899931764ce9ff845b806f5be4e2ee

See more details on using hashes here.

File details

Details for the file kiss3-8.0.0a4-py3-none-any.whl.

File metadata

  • Download URL: kiss3-8.0.0a4-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for kiss3-8.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 8f1c0ba979a5009a9a48408c3c0128fc283a533cdc824c8b9bdf81aecb57d8a9
MD5 91e11c2bbbf55c073b6d0acf0079ae2a
BLAKE2b-256 aa8e92e326b59bc7bc7db3019108fc1d4e85508e1c7c552391b0b08815c7bc59

See more details on using hashes here.

Supported by

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