Skip to main content

LINCOT: Linux GPS to TAK Gateway.

Project description

Installation

LINCOT requires Python 3.6 or above.

LINCOT functionality is provided by a command-line tool called lincot, which can be installed several ways.

Installing as a Debian/Ubuntu Package [Use Me!]:

$ wget https://github.com/ampledata/pytak/releases/latest/download/python3-pytak_latest_all.deb
$ sudo apt install -f ./python3-pytak_latest_all.deb
$ wget https://github.com/ampledata/lincot/releases/latest/download/python3-lincot_latest_all.deb
$ sudo apt install -f ./python3-lincot_latest_all.deb

Install from the Python Package Index [Alternative]:

$ python3 -m pip install -U pytak
$ python3 -m pip install -U lincot

Install from this source tree [Developer]:

$ git clone https://github.com/ampledata/lincot.git
$ cd lincot/
$ python3 -m pip install .

Usage

LINCOT can be configured with a INI-style configuration file, or using environmental variables.

Command-line options:

usage: lincot [-h] [-c CONFIG_FILE] [-p PREF_PACKAGE]

optional arguments:
-h, --help            show this help message and exit
-c CONFIG_FILE, --CONFIG_FILE CONFIG_FILE
                        Optional configuration file. Default: config.ini
-p PREF_PACKAGE, --PREF_PACKAGE PREF_PACKAGE
                        Optional connection preferences package zip file (aka Data Package).
Configuration options:
COT_URLstr, default: udp://239.2.3.1:6969

URL to CoT destination. Must be a URL, e.g. tcp://1.2.3.4:1234 or tls://...:1234, etc. See PyTAK for options, including TLS support.

COT_STALEint, default: 3600

CoT Stale period (“timeout”), in seconds. Default 3600 seconds (1 hour).

COT_TYPEstr, default: a-u-S-X-M

Override COT Event Type (“marker type”).

See example-config.ini in the source tree for example configuration.

# python3 -c “import uuid;nn=str(uuid.getnode());print(nn[len(nn)-4:len(nn)])”

Source

Github: https://github.com/snstac/lincot

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

lincot-1.0.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

lincot-1.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file lincot-1.0.3.tar.gz.

File metadata

  • Download URL: lincot-1.0.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lincot-1.0.3.tar.gz
Algorithm Hash digest
SHA256 49b434675342274b558a7a49d9e7ab59017324b353e83d15ec1a4a648eda2614
MD5 32dbd64db481c57904bd8ac2a78b0997
BLAKE2b-256 774008dbdaff29a4e9bf19464f60fd4c68f4afd4c28f4710d9b497663a4a9d3b

See more details on using hashes here.

File details

Details for the file lincot-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: lincot-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lincot-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4066ca987b9f7fb79488ee8e07f6436189f4df6cbeb2d9b8c36966ac737e73cd
MD5 49932960a5f9c85f82fe4bf4fdaf25d2
BLAKE2b-256 f7dde11df605748647c26b5653e90493e3808540c9ee328d82fd35276d498f32

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