Skip to main content
Help us improve Python packaging – donate today!

NTRIP Browser for terminal

Project Description

# NTRIP Browser

A simple Python API for browse NTRIP (Networked Transport of RTCM via Internet Protocol).

## Dependencies


The package was tested with **Python 2.7**

## Installation

- `pip install ntripbrowser`

- or clone and run `make install`

## Usage

ntripbrowser [-h] [-p] [-t] [-c] url

positional arguments:
url NTRIP source table address

optional arguments:
-h, --help Show this help message and exit
-p, --port Set url port. Standard port is 2101
-t, --timeout Add timeout
-c, --coordinates Add NTRIP station distance to this coordinate

## Package API

get_mountpoints(url, timeout=None, coordinates=None)

- `url`

> Use `url` only with *http://* to pass url variable in function.
> Standard port is 2101, use `:port` after `url` to set another one.
> Example: ** or **.

####Optional arguments:

- `timeout`

> Use `timeout` to pass timeout in function. It must be integer.

- `coordinates`

> Use `coordinates` to pass your position coordinates in function and get distance to NTRIP station.
> Form of coordiantes must be `(x, y)` or `(x.x, y.y)` of latitude, longitude.


As a result you'll get a dictionary consisting of a lists of dictionaries with such structure:

- CAS stations: `"Host", "Port", "ID", "Operator", "NMEA", "Country", "Latitude", "Longitude", "FallbackHost", "FallbackPort", "Site", "Other Details"`

- NET stations: `"ID", "Operator", "Authentication", "Fee", "Web-Net", "Web-Str", "Web-Reg", "Other Details"`

- STR stations: `"Mountpoint", "ID", "Format", "Format-Details","Carrier", "Nav-System", "Network", "Country", "Latitude", "Longitude", "NMEA", "Solution", "Generator", "Compr-Encrp", "Authentication", "Fee", "Bitrate", "Other Details"`

from ntripbrowser import get_mountpoints
print get_mountpoints('', 1, (0.0, 0.0))

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


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
ntripbrowser-1.1.0.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Mar 9, 2017

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