NTRIP Browser for terminal
Project description
# NTRIP Browser
A simple Python API for browse NTRIP (Networked Transport of RTCM via Internet Protocol).
### Dependencies
`geopy`
`texttable`
The package was tested with **Python 2.7**
### Installation
`pip install ntripbrowser`
or clone and run `make install`
### Usage
```
ntripbrowser [-h] [-p PORT] [-v] [-N] [-C] [-n] [-s] url
positional arguments:
url NTRIP source table address
optional arguments:
-h, --help Show this help message and exit
-p PORT, --port PORT Change url port. Default port is 2101
-v, --verbose Increase output verbosity
-N, --NETtable Additionaly show NET table
-C, --CATtable Additionaly show CAT table
-n, --no-pager No pager
-s, --source Display url source data
```
### Package API
```python
from ntripbrowser import get_mountpoints
mntpoints = get_mountpoints("ntrip.emlid.com", base_point=(59.96032, 30.33409))
for mnt in sorted(mntpoints, key=lambda mnt: mnt["Distance"]):
print("{:10} ({}): {:.4f} km".format(mnt["Mountpoint"], mnt["Format"], mnt["Distance"]))
```
A simple Python API for browse NTRIP (Networked Transport of RTCM via Internet Protocol).
### Dependencies
`geopy`
`texttable`
The package was tested with **Python 2.7**
### Installation
`pip install ntripbrowser`
or clone and run `make install`
### Usage
```
ntripbrowser [-h] [-p PORT] [-v] [-N] [-C] [-n] [-s] url
positional arguments:
url NTRIP source table address
optional arguments:
-h, --help Show this help message and exit
-p PORT, --port PORT Change url port. Default port is 2101
-v, --verbose Increase output verbosity
-N, --NETtable Additionaly show NET table
-C, --CATtable Additionaly show CAT table
-n, --no-pager No pager
-s, --source Display url source data
```
### Package API
```python
from ntripbrowser import get_mountpoints
mntpoints = get_mountpoints("ntrip.emlid.com", base_point=(59.96032, 30.33409))
for mnt in sorted(mntpoints, key=lambda mnt: mnt["Distance"]):
print("{:10} ({}): {:.4f} km".format(mnt["Mountpoint"], mnt["Format"], mnt["Distance"]))
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ntripbrowser-0.0.7.tar.gz
(17.9 kB
view details)
File details
Details for the file ntripbrowser-0.0.7.tar.gz.
File metadata
- Download URL: ntripbrowser-0.0.7.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8164e932da505f2b68409d024020b1c155e0f93398295d9f514fb0381ae32ada
|
|
| MD5 |
681ed79fb76f61740202d282b51283ec
|
|
| BLAKE2b-256 |
9613fe245fc97bf9f2067784668075ee55bc7b0b6f86de3a1ea5be66b8b6eda5
|