This release is the result of an overhaul of the code to change all static values to enumerations. This should make it clearer which values belong together. As a side effect the length of some of the name was reduced, resulting in a easier to understand code.
The drawback of breaking compatibility with all prior version resulted in the change to v0.7. Please refer to the documentation and the demo scripts on how to change existing code to the new API.
The other, smaller addition is the command line script lsv2cmd.py which allows transferring of files via lsv2. See it's help message for information on how to use it.
usage: lsv2cmd.py [-h] [-d | -v] [-t TIMEOUT] [-f] source destination
command line script for functions in pyLSV2
positional arguments:
source souce file. Either local path or URL with format lsv2://<hostname_or_ip>:<port>/TNC:/<path_to_file>
destination destination file. Either local path or URL with format lsv2://<hostname_or_ip>:<port>/TNC:/<path_to_file>
optional arguments:
-h, --help show this help message and exit
-d, --debug enable log level DEBUG
-v, --verbose enable log level INFO
-t TIMEOUT, --timeout TIMEOUT
timeout duration in seconds
-f, --force replace file at target if it already exists
Packages available via pip or https://pypi.org/project/pyLSV2/