coalispr.tk_gui.gui_widgets.parquet_view

Module for reading BNY parquet files.

Using class TextReader(ttk.Frame) by Israel Dryer, https://github.com/israel-dryer/ttkbootstrap/blob/master/gallery/text_reader.py

Attributes

Classes

Reader_app

A class that wraps the tkinter.Tk class in order to provide a

Reader_subwindow

A class that wraps the tkinter.Toplevel class in order to

BNY_reader

Based on class TextReader(ttk.Frame)

Functions

parquet_viewer([fldr])

parquet_view([fldr])

Module Contents

coalispr.tk_gui.gui_widgets.parquet_view.logger
class coalispr.tk_gui.gui_widgets.parquet_view.Reader_app(title, fldr=STOREBINARY)

Bases: coalispr.tk_gui.gui_widgets.base_app.Base_app

A class that wraps the tkinter.Tk class in order to provide a more convenient api with additional bells and whistles. For more information on how to use the inherited Tk methods, see the [tcl/tk documentation](https://tcl.tk/man/tcl8.6/TkCmd/wm.htm) and the [Python documentation](https://docs.python.org/3/library/tkinter.html#tkinter.Tk).

![](../../assets/window/window-toplevel.png)

Examples:

`python app = Window(title="My Application", themename="superhero") app.mainloop() `

main
class coalispr.tk_gui.gui_widgets.parquet_view.Reader_subwindow(title, fldr=STOREBINARY)

Bases: coalispr.tk_gui.gui_widgets.base_app.Base_toplevel_window

A class that wraps the tkinter.Toplevel class in order to provide a more convenient api with additional bells and whistles. For more information on how to use the inherited Toplevel methods, see the [tcl/tk documentation](https://tcl.tk/man/tcl8.6/TkCmd/toplevel.htm) and the [Python documentation](https://docs.python.org/3/library/tkinter.html#tkinter.Toplevel).

![](../../assets/window/window-toplevel.png)

Examples:

`python app = Toplevel(title="My Toplevel") app.mainloop() `

main
class coalispr.tk_gui.gui_widgets.parquet_view.BNY_reader(master, fldr)

Bases: ttkbootstrap.Frame

Based on class TextReader(ttk.Frame) https://github.com/israel-dryer/ttkbootstrap/blob/master/gallery/text_reader.py

Author: Israel Dryer Modified: 2021-12-12

fldr

Folder name to open viewer in, default for binary bedgraph data.

Type:

str

filename
fldr
create_widget_elements()

Create and add the widget elements

var_pivot_changed(event=None, int_value=False)

Register chosen options.

open_file()
display_file()
coalispr.tk_gui.gui_widgets.parquet_view.parquet_viewer(fldr=STOREBINARY)
coalispr.tk_gui.gui_widgets.parquet_view.parquet_view(fldr=STOREBINARY)