Pymagnum

Latest version: v2.0.5

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

Scan your dependencies

Page 1 of 2

2.0.5

------------------------
- Enhancement added ``allinone`` method to Magnum class. This creates a single record instead of one per device.
- ``magdump`` has been enhanced to support ``--allinone`` option
- A new example program ``magsql.py`` is available to log data to MariaDB/MySQL. Read the program comments for more information.
- A new tool ``mag2sql`` is available to convert JSON from ``magdump`` output to a MySQL schema definition.

2.0.4

------------------------
- Fixed bug in emitted JSON when using multiple devices
- Cleaned up code when using dummy data files instead of RS485 serial device
- Provided a complete dummy test file testdata/allpackets.txt
- Provided a JSON file testdata/allpackets.JSON
- Fixed All revision values are defined as string. It used to be mixed
- Enhancement --pretty option to magdump for formatted JSON output

2.0.3

------------------------
- Fixed problem with installing tzlocal on some systems
- Changed minimum Python version to 3.7
- Added warning about use of ``--break-system-packages`` with Python 3.11 and higher.
- Improved how to build information.

2.0.2

------------------------
- Fixed bug in issue 44 https://github.com/CharlesGodwin/pymagnum/issues/44

2.0.1

------------------------
- Enhancement: Added MQTT username and password support to examples/mqttlogger.py (issue 38)
- Fixed bug in magtest related to PT100
- Fixed bug in example mqttlogger.py

2.0

------------------------
- Added: The ability to define all options in a configuration file. For example ``magdump pymagnum.opt``. See documentation.
- Added: ``magdump`` and examples programs support use of configuration file.
- Added: A new method ``getComm_Device()`` in the Magnum class to retrieve name of device.
- Added: 30 second delay from boot time issue 16
- Added: documentation of fields
- Enhanced: The utility tool ``magdump`` now supports defining more that one device. See documentation. **NOTE** ``magtest`` does NOT support multiple devices.
- Enhanced: The example programs have been enhanced to support multiple devices.
- Enhanced: The utility tool ``magtest`` now supports writing a copy of the displayed messages to a log file. ``--log``
- Enhanced: ``magtest``
- Enhanced: Normalized fields and field types
- Many Integer fields have become Float
- Some fields have been dropped
- Revised: PT-100 processing issue 15
(refer to Installation in documentation)
- Fixed: Bug in battery size calculation - now using BMK value
- Fixed: Source code was refactored to simplify coding
- each device class was moved to an individual file
- the tools subdirectory was collapsed into the main directory
- Fixed: The voltage multiplier was not being handled correctly. Some values were being generated as if you have a 12VDC system when voltage of system was 24VDC or 48VDC.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.