Skip to content

marmidr/yedytor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yedytor

PnP files editor, using a footprints defined in the Yamaha .Tou files.

ss2 ss3 ss4 ss5

Supported formats

  • Yamaha project file
    • .Tou
    • DevLibEd.Lib
  • PnP
    • .xls
    • .xlsx
    • .ods
    • any other extension - considered as a CSV file

NOTE

If xls/xlsx/ods file contains several sheets, only the first one will be used.

Prerequisites

Python

Python for Windows with addons. Remember to check these options:

  • pip
  • tcl\tk
  • Add Python to environment variables

Minimum required version is Python 3.9.

Libraries

To install required libraries, open the PowerShell and:

# .xls reader, .xlsx reader, .ods reader, UI lib, http requests, image formats, natural sorting,
pip install xlrd openpyxl odfpy customtkinter requests pillow natsort
# pip3 install -r requirements.txt

How to run

From PowerShell:

python.exe src/app.py

To get colored logs, use Linux-like terminal, eg. MSys2, but still using the Windows installation of the Python:

$ /c/Program\ Files/Python39/python.exe src/app.py

msys2con

Trouble shooting

  • ModuleNotFoundError: No module named 'tkinter'

    tkinter was not installed together with the Python - follow the instructions here.

  • ERROR: Cannot load BOM: 'utf-8' codec can't decode byte

    Only UTF-8 files are accepted; if the BOM or PnP file uses ANSI or WINDOWS encoding, use Notepad++ or other editor to change the encoding to UTF-8

Testing

Project is checked with the popular tool pylint.

sudo apt install pylint
pylint src/project.py

About

PnP files editor for Yamaha

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages