The Adapter software is developed at the Energy Efficiency Standards Department and it provides a convenient data table loader from various formats such as xlsx, csv, db (sqlite database), and sqlalchemy. Its main feature is the ability to convert data tables identified in one main and optionally one or more additional input files into database tables and Pandas DataFrames for downstream usage in any compatible software.
1
stars
1
forks
source link
Update user_select_file to remove unnecessary dependencies #23
The user_select_file will try to import either win32ui, win32con, or tkinter depending on sys.platform. But the win32ui and win32con seem to induce a dependency on pywin32==225 that I see included in the setup.py of other tools that use this, which is undesirable. It appears that using later versions of pywin32 can result in an error on windows.
I imagine it is possible nowadays to find a single package (native or otherwise) that supports file prompt dialogs across OSX, windows, and linux.
Low priority because it works as-is, but if managing dependencies for these imports can be a touch cumbersome now, it can only get worse in the future
The
user_select_file
will try to import eitherwin32ui, win32con
, ortkinter
depending onsys.platform
. But the win32ui and win32con seem to induce a dependency onpywin32==225
that I see included in thesetup.py
of other tools that use this, which is undesirable. It appears that using later versions of pywin32 can result in an error on windows.I imagine it is possible nowadays to find a single package (native or otherwise) that supports file prompt dialogs across OSX, windows, and linux.
Low priority because it works as-is, but if managing dependencies for these imports can be a touch cumbersome now, it can only get worse in the future