Pylsv2

Latest version: v1.3.3

Safety actively analyzes 638681 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.7.4

integrate 25 and 27:
- remove f-strings and other functions to make pyLSV2 compatible with python 3.4
- add function to read current axis position `get_axes_location()`

0.7.3

What's Changed
* Write table by drunsinn in https://github.com/drunsinn/pyLSV2/pull/22
* make locale path configurable by drunsinn in https://github.com/drunsinn/pyLSV2/pull/21


**Full Changelog**: https://github.com/drunsinn/pyLSV2/compare/v0.7.2...v0.7.3

0.7.2

This release fixes a problem in the demo script, Thanks to PandaRoux8!

0.7.1

With the new function `read_data_path(path)` it is possible to read values from PLC memory or tables using the data path

0.7.0

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/

0.6.10

This release adds two new functions:
- get_error_messages() reads all available error messages from the control. Only works for iTNC
- get_file_list(path=None, descend=True, pattern=None) returns a list of all files and applies a regex filter to the file name

With this sphinx is used to generate documentation based on the docstrings.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.