Skip to content

Application for battery data parsing and analysis for data obtained from a batteries cycler.

License

Notifications You must be signed in to change notification settings

MichaelBosello/battery-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battery data parser

This software parses battery data from txt files and uploads them to a MySQL database. The software also provides an analisys of data by showing calculated values, summary data, and plots.

Data description: data.md

Requirements

Install Python 3.x

Install tkinter (starting with Python 3.7, the binary installers available at python.org come with tkinter pre-installed)

pip3 install mysql-connector-python

pip3 install matplotlib

Quick start

Insert the connection parameters to use your MySQL database in db.config. Use db.config.example as a template.

Run

python3 batterydatamanager.py

Build executable

Use pyinnstaller:

pip3 install pyinstaller

Pyinstaller has problems with current matplotlib version, so:

pip3 install matplotlib==3.2.2

Windows

Install Visual C++ Redistributable for Visual Studio 2015

python -m PyInstaller batterydatamanager.py --onefile --windowed --clean --add-data db.config;.

MacOS

python3 -m PyInstaller batterydatamanager.py --onefile --windowed --clean --add-data db.config:. --add-binary='/System/Library/Frameworks/Tk.framework/Tk':'tk' --add-binary='/System/Library/Frameworks/Tcl.framework/Tcl':'tcl'

About

Application for battery data parsing and analysis for data obtained from a batteries cycler.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages