Aanpassing siprun naar lmwsip.run module
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Splitsing losse run functie - Aanpassing documentatie
This commit is contained in:
25
README.md
25
README.md
@@ -3,12 +3,22 @@
|
||||
|
||||
lmwsip is a python library for the lmw sip protocol.
|
||||
|
||||
## Library
|
||||
## Package
|
||||
|
||||
The lmwsip.py library contains the class LmwSip to connect to the
|
||||
The lmwsip package contains the class LmwSip to connect to the
|
||||
LMW meetnet using de SIP protocol. The library contains documentation
|
||||
how to use it.
|
||||
|
||||
## Installing
|
||||
|
||||
The package is not available on [PyPI](https://pypi.org/).
|
||||
At the moment the package is hosted at https://marceln.org/download/python.
|
||||
|
||||
You can install the package with pip:
|
||||
```
|
||||
pip install -i https://marceln.org/download/python lmwsip
|
||||
```
|
||||
|
||||
## Tools
|
||||
### lmwsip-test
|
||||
|
||||
@@ -71,16 +81,15 @@ sip = LmwSip("USER", "PASS")
|
||||
pprint(sip.timeSerie("WN", "HOEK", "H10", start, end).ts)
|
||||
```
|
||||
|
||||
### siprun
|
||||
|
||||
### lmwsip.run
|
||||
```
|
||||
$ ./siprun -h sip-lmw.ad.rws.nl -s -p 443 hoek-h10.sip
|
||||
$ python -m lmwsip.run /tmp/hoek-h10.sip
|
||||
> [LI USER,PASS]
|
||||
< [! ]
|
||||
> [TI LMW]
|
||||
< [! 05-SEP-19 08:24:43]
|
||||
> [WN LMW,HOEK,H10,-25:00,05-09-2019,08:10,DATA]
|
||||
< [? 0211 Waarnemingen vallen buiten opslag range]
|
||||
< [! 08-SEP-20 12:03:27]
|
||||
> [WN LMW,HOEK,H10,-01:00,08-09-2020,11:50,DATA]
|
||||
< [! -17/50;-21/50;-24/50;-26/50;-27/50;-28/50;-28/50]
|
||||
> [LO]
|
||||
< [! ]
|
||||
```
|
||||
|
Reference in New Issue
Block a user