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
- class pyspread.interfaces.pys.PysReader(pys_file, code_array)[source]¶
Bases:
object
Reads pys v2.0 file into a code_array
- Parameters:
- class pyspread.interfaces.pys.PysWriter(code_array)[source]¶
Bases:
object
Interface 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