pyspread.interfaces package¶
Submodules¶
pyspread.interfaces.pys module¶
This file contains interfaces to the native pys file format.
PysReader and PysWriter classed are structured into the following sections:
shape
code
attributes
row_heights
col_widths
macros
Provides
Function wxcolor2rgb
Function qt52qt6_fontweights
Function qt62qt5_fontweights
Dict wx2qt_fontweights
Dict wx2qt_fontstyles
Class PysReader
Class PysWriter
- class pyspread.interfaces.pys.PysReader(pys_file, code_array)[source]¶
Bases:
objectReads pys v2.0 file into a code_array
- Parameters:
- class pyspread.interfaces.pys.PysWriter(code_array)[source]¶
Bases:
objectInterface between code_array and pys file data
Iterating over it yields pys file lines
- Parameters:
code_array (
CodeArray) – The code_array object data structure
- pyspread.interfaces.pys.qt52qt6_fontweights(qt5_weight)[source]¶
Approximates the mapping from Qt5 to Qt6 font weight
pyspread.interfaces.xlsx module¶
This file contains interfaces to the xlsx file format.
Provides
XlsReader
- XlsReader is structured into the following sections:
shape
code
attributes
row_heights
col_widths
macros
- class pyspread.interfaces.xlsx.XlsxReader(xlsx_file, code_array)[source]¶
Bases:
objectReads xlsx file from OpenPyXL into a code_array
- Parameters: