id int64 0 328k | repository_name stringlengths 7 58 | file_path stringlengths 9 302 | class_name stringlengths 5 256 | human_written_code stringlengths 16 2.16M | class_skeleton stringlengths 18 1.49M ⌀ | total_program_units int64 1 1.76k | total_doc_str int64 0 771 | AvgCountLine float64 0 7.89k | AvgCountLineBlank float64 0 297 | AvgCountLineCode float64 0 7.89k | AvgCountLineComment float64 0 7.89k | AvgCyclomatic float64 0 130 | CommentToCodeRatio float64 0 168 | CountClassBase float64 0 40 | CountClassCoupled float64 0 583 | CountClassCoupledModified float64 0 575 | CountClassDerived float64 0 5.35k | CountDeclInstanceMethod float64 0 529 | CountDeclInstanceVariable float64 0 296 | CountDeclMethod float64 0 599 | CountDeclMethodAll float64 0 1.12k | CountLine float64 1 40.4k | CountLineBlank float64 0 8.16k | CountLineCode float64 1 25.7k | CountLineCodeDecl float64 1 8.15k | CountLineCodeExe float64 0 24.2k | CountLineComment float64 0 16.5k | CountStmt float64 1 9.71k | CountStmtDecl float64 1 8.15k | CountStmtExe float64 0 9.69k | MaxCyclomatic float64 0 759 | MaxInheritanceTree float64 0 16 | MaxNesting float64 0 34 | SumCyclomatic float64 0 2.9k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
15,800 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.ColourChooser | from gooey.gui.components.widgets import core
from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
class ColourChooser(BaseChooser):
widget_class = core.ColourChooser |
class ColourChooser(BaseChooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
15,801 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.DateChooser | from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
from gooey.gui.components.widgets import core
class DateChooser(BaseChooser):
widget_class = core.DateChooser |
class DateChooser(BaseChooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
15,802 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.DirChooser | from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
from gooey.gui.components.widgets import core
class DirChooser(BaseChooser):
widget_class = core.DirChooser |
class DirChooser(BaseChooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
15,803 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.FileChooser | from gooey.gui.components.widgets import core
from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
class FileChooser(BaseChooser):
widget_class = core.FileChooser |
class FileChooser(BaseChooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
15,804 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.FileSaver | from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
from gooey.gui.components.widgets import core
class FileSaver(BaseChooser):
widget_class = core.FileSaver |
class FileSaver(BaseChooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
15,805 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.MultiDirChooser | from gooey.gui import formatters
from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
from gooey.gui.components.widgets import core
class MultiDirChooser(BaseChooser):
widget_class = core.MultiDirChooser
def formatOutput(self, metadata, value):
return formatters.multiFileChooser(m... |
class MultiDirChooser(BaseChooser):
def formatOutput(self, metadata, value):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 35 | 5 | 1 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,806 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.MultiFileChooser | from gooey.gui import formatters
from gooey.gui.components.widgets import core
from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
class MultiFileChooser(BaseChooser):
widget_class = core.MultiFileChooser
def formatOutput(self, metatdata, value):
return formatters.multiFileChoose... |
class MultiFileChooser(BaseChooser):
def formatOutput(self, metatdata, value):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 35 | 5 | 1 | 4 | 3 | 2 | 0 | 4 | 3 | 2 | 1 | 4 | 0 | 1 |
15,807 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/choosers.py | gooey.gui.components.widgets.choosers.TimeChooser | from gooey.gui.components.widgets import core
from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
class TimeChooser(BaseChooser):
widget_class = core.TimeChooser |
class TimeChooser(BaseChooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 34 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 4 | 0 | 0 |
15,808 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/command.py | gooey.gui.components.widgets.command.CommandField | from gooey.python_bindings import types as t
from gooey.gui.components.widgets.textfield import TextField
class CommandField(TextField):
def getUiState(self) -> t.FormField:
return t.Command(**super().getUiState()) |
class CommandField(TextField):
def getUiState(self) -> t.FormField:
pass | 2 | 0 | 2 | 0 | 2 | 1 | 1 | 0.33 | 1 | 2 | 1 | 0 | 1 | 0 | 1 | 35 | 4 | 1 | 3 | 2 | 1 | 1 | 3 | 2 | 1 | 1 | 4 | 0 | 1 |
15,809 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.Chooser | import wx.lib.agw.multidirdialog as MDD
from gooey.gui.util.filedrop import FileDrop
from gooey.gui.lang.i18n import _
from gooey.gui.components.widgets.core.text_input import TextInput
import wx
import os
class Chooser(wx.Panel):
"""
TODO: Tests!
TODO: Document GooeyOptions!
Base 'Chooser' type.
... |
class Chooser(wx.Panel):
'''
TODO: Tests!
TODO: Document GooeyOptions!
Base 'Chooser' type.
Launches a Dialog box that allows the user to pick files, directories,
dates, etc.. and places the result into a TextInput in the UI
TODO: oh, young me. DRY != Good Abstraction
TODO: this is anot... | 11 | 1 | 4 | 0 | 4 | 0 | 1 | 0.31 | 1 | 3 | 2 | 8 | 10 | 4 | 10 | 10 | 67 | 12 | 42 | 21 | 31 | 13 | 40 | 21 | 29 | 2 | 1 | 1 | 11 |
15,810 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.ColourChooser | from gooey.util.functional import merge
import wx
from gooey.gui.lang.i18n import _
import wx.lib.agw.multidirdialog as MDD
class ColourChooser(Chooser):
""" Launches a color picker which returns a hex color code"""
def __init__(self, *args, **kwargs):
defaults = {'label': _('choose_colour'), 'style':... |
class ColourChooser(Chooser):
''' Launches a color picker which returns a hex color code'''
def __init__(self, *args, **kwargs):
pass
def setValue(self, value):
pass
def getResult(self, dialog):
pass
def getDialog(self):
pass | 5 | 1 | 5 | 1 | 4 | 0 | 1 | 0.12 | 1 | 1 | 0 | 0 | 4 | 0 | 4 | 14 | 24 | 5 | 17 | 8 | 12 | 2 | 16 | 8 | 11 | 1 | 2 | 0 | 4 |
15,811 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.DateChooser | from gooey.util.functional import merge
from gooey.gui.lang.i18n import _
from gooey.gui.components.widgets.dialogs.calender_dialog import CalendarDlg
class DateChooser(Chooser):
""" Launches a date picker which returns an ISO Date """
def __init__(self, *args, **kwargs):
defaults = {'label': _('choos... |
class DateChooser(Chooser):
''' Launches a date picker which returns an ISO Date '''
def __init__(self, *args, **kwargs):
pass
def getDialog(self):
pass | 3 | 1 | 3 | 0 | 3 | 0 | 1 | 0.17 | 1 | 2 | 1 | 0 | 2 | 0 | 2 | 12 | 8 | 1 | 6 | 4 | 3 | 1 | 6 | 4 | 3 | 1 | 2 | 0 | 2 |
15,812 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.DirChooser | import wx
from gooey.gui.lang.i18n import _
import os
import wx.lib.agw.multidirdialog as MDD
class DirChooser(Chooser):
""" Retrieve a path to the supplied directory """
def getDialog(self):
options = self.Parent._options
return wx.DirDialog(self, message=options.get('message', _('choose_fold... |
class DirChooser(Chooser):
''' Retrieve a path to the supplied directory '''
def getDialog(self):
pass | 2 | 1 | 4 | 0 | 4 | 0 | 1 | 0.2 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 11 | 6 | 0 | 5 | 3 | 3 | 1 | 4 | 3 | 2 | 1 | 2 | 0 | 1 |
15,813 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.FileChooser | from gooey.gui.lang.i18n import _
import wx.lib.agw.multidirdialog as MDD
import wx
class FileChooser(Chooser):
""" Retrieve an existing file from the system """
def getDialog(self):
options = self.Parent._options
return wx.FileDialog(self, message=options.get('message', _('open_file')), style... |
class FileChooser(Chooser):
''' Retrieve an existing file from the system '''
def getDialog(self):
pass | 2 | 1 | 7 | 0 | 7 | 0 | 1 | 0.13 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 11 | 9 | 0 | 8 | 3 | 6 | 1 | 4 | 3 | 2 | 1 | 2 | 0 | 1 |
15,814 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.FileSaver | import wx.lib.agw.multidirdialog as MDD
import wx
from gooey.gui.lang.i18n import _
class FileSaver(Chooser):
""" Specify the path to save a new file """
def getDialog(self):
options = self.Parent._options
return wx.FileDialog(self, style=wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT, defaultFile=option... |
class FileSaver(Chooser):
''' Specify the path to save a new file '''
def getDialog(self):
pass | 2 | 1 | 10 | 0 | 10 | 0 | 1 | 0.09 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 11 | 12 | 0 | 11 | 3 | 9 | 1 | 4 | 3 | 2 | 1 | 2 | 0 | 1 |
15,815 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.MultiDirChooser | from gooey.gui.lang.i18n import _
import wx.lib.agw.multidirdialog as MDD
import re
import os
class MultiDirChooser(Chooser):
""" Retrieve multiple directories from the system """
def getDialog(self):
options = self.Parent._options
return MDD.MultiDirDialog(self, message=options.get('message',... |
class MultiDirChooser(Chooser):
''' Retrieve multiple directories from the system '''
def getDialog(self):
pass
def getResult(self, dialog):
pass | 3 | 1 | 10 | 1 | 9 | 1 | 3 | 0.11 | 1 | 1 | 0 | 0 | 2 | 0 | 2 | 12 | 21 | 1 | 18 | 9 | 15 | 2 | 14 | 9 | 11 | 4 | 2 | 3 | 5 |
15,816 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.MultiFileChooser | import wx
import wx.lib.agw.multidirdialog as MDD
from gooey.gui.lang.i18n import _
import os
class MultiFileChooser(Chooser):
""" Retrieve an multiple files from the system """
def getDialog(self):
options = self.Parent._options
return wx.FileDialog(self, message=options.get('message', _('ope... |
class MultiFileChooser(Chooser):
''' Retrieve an multiple files from the system '''
def getDialog(self):
pass
def getResult(self, dialog):
pass | 3 | 1 | 5 | 0 | 5 | 0 | 1 | 0.1 | 1 | 0 | 0 | 0 | 2 | 0 | 2 | 12 | 12 | 1 | 10 | 4 | 7 | 1 | 6 | 4 | 3 | 1 | 2 | 0 | 2 |
15,817 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/chooser.py | gooey.gui.components.widgets.core.chooser.TimeChooser | from gooey.gui.components.widgets.dialogs.time_dialog import TimeDlg
from gooey.gui.lang.i18n import _
from gooey.util.functional import merge
class TimeChooser(Chooser):
""" Launches a time picker which returns and ISO Time """
def __init__(self, *args, **kwargs):
defaults = {'label': _('choose_time'... |
class TimeChooser(Chooser):
''' Launches a time picker which returns and ISO Time '''
def __init__(self, *args, **kwargs):
pass
def getDialog(self):
pass | 3 | 1 | 3 | 0 | 3 | 0 | 1 | 0.17 | 1 | 2 | 1 | 0 | 2 | 0 | 2 | 12 | 8 | 1 | 6 | 4 | 3 | 1 | 6 | 4 | 3 | 1 | 2 | 0 | 2 |
15,818 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/core/text_input.py | gooey.gui.components.widgets.core.text_input.TextInput | import wx
from gooey.gui.components.mouse import notifyMouseEvent
from gooey.gui.util.filedrop import FileDrop
class TextInput(wx.Panel):
def __init__(self, parent, *args, **kwargs):
super(TextInput, self).__init__(parent)
self.widget = wx.TextCtrl(self, *args, **kwargs)
dt = FileDrop(self... |
class TextInput(wx.Panel):
def __init__(self, parent, *args, **kwargs):
pass
def layout(self):
pass
def setValue(self, value):
pass
def getValue(self):
pass
def SetHint(self, value):
pass
def SetDropTarget(self, target):
pass | 7 | 0 | 4 | 0 | 4 | 0 | 1 | 0 | 1 | 3 | 1 | 0 | 6 | 1 | 6 | 6 | 32 | 7 | 25 | 10 | 18 | 0 | 25 | 10 | 18 | 1 | 1 | 0 | 6 |
15,819 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/counter.py | gooey.gui.components.widgets.counter.Counter | from gooey.python_bindings import types as t
from gooey.gui import formatters
import wx
from gooey.gui.components.widgets.dropdown import Dropdown
class Counter(Dropdown):
def setValue(self, value):
index = self._meta['choices'].index(value) + 1
self.widget.SetSelection(index)
def getUiState(... |
class Counter(Dropdown):
def setValue(self, value):
pass
def getUiState(self) -> t.FormField:
pass
def formatOutput(self, metadata, value):
pass | 4 | 0 | 5 | 0 | 5 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 3 | 1 | 3 | 40 | 22 | 5 | 17 | 7 | 13 | 0 | 9 | 6 | 5 | 1 | 4 | 0 | 3 |
15,820 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dialogs/base_dialog.py | gooey.gui.components.widgets.dialogs.base_dialog.BaseDialog | import wx
from gooey.gui.three_to_four import Constants
from gooey.gui.lang.i18n import _
class BaseDialog(wx.Dialog):
"""
Common base for CalendarDlg and TimeDlg.
"""
def __init__(self, parent, pickerClass, pickerGetter, localizedPickerLabel):
wx.Dialog.__init__(self, parent, title=localize... |
class BaseDialog(wx.Dialog):
'''
Common base for CalendarDlg and TimeDlg.
'''
def __init__(self, parent, pickerClass, pickerGetter, localizedPickerLabel):
pass
def onOkButton(self, event):
pass
def onCancelButton(self, event):
pass
def GetPath(self):
''... | 5 | 2 | 10 | 2 | 7 | 2 | 1 | 0.32 | 1 | 1 | 1 | 2 | 4 | 3 | 4 | 4 | 46 | 10 | 28 | 10 | 23 | 9 | 28 | 10 | 23 | 2 | 1 | 1 | 5 |
15,821 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dialogs/calender_dialog.py | gooey.gui.components.widgets.dialogs.calender_dialog.CalendarDlg | from gooey.gui.lang.i18n import _
from .base_dialog import BaseDialog
from gooey.gui.three_to_four import Classes
class CalendarDlg(BaseDialog):
def __init__(self, parent):
super(CalendarDlg, self).__init__(parent, pickerClass=Classes.DatePickerCtrl, pickerGetter=lambda datepicker: datepicker.GetValue().F... |
class CalendarDlg(BaseDialog):
def __init__(self, parent):
pass | 2 | 0 | 5 | 0 | 5 | 0 | 1 | 0 | 1 | 2 | 1 | 0 | 1 | 0 | 1 | 5 | 6 | 0 | 6 | 2 | 4 | 0 | 3 | 2 | 1 | 1 | 2 | 0 | 1 |
15,822 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dialogs/time_dialog.py | gooey.gui.components.widgets.dialogs.time_dialog.TimeDlg | from gooey.gui.lang.i18n import _
from .base_dialog import BaseDialog
from gooey.gui.three_to_four import Classes
class TimeDlg(BaseDialog):
def __init__(self, parent):
super(TimeDlg, self).__init__(parent, pickerClass=Classes.TimePickerCtrl, pickerGetter=lambda datepicker: datepicker.GetValue().FormatISO... |
class TimeDlg(BaseDialog):
def __init__(self, parent):
pass | 2 | 0 | 5 | 0 | 5 | 0 | 1 | 0 | 1 | 2 | 1 | 0 | 1 | 0 | 1 | 5 | 6 | 0 | 6 | 2 | 4 | 0 | 3 | 2 | 1 | 1 | 2 | 0 | 1 |
15,823 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dropdown.py | gooey.gui.components.widgets.dropdown.Dropdown | from gooey.python_bindings.types import FormField
from gooey.python_bindings import types as t
from gooey.gui.lang.i18n import _
import wx
from contextlib import contextmanager
from gooey.gui.components.widgets.bases import TextContainer
from gooey.gui import formatters
class Dropdown(TextContainer):
_gooey_option... |
class Dropdown(TextContainer):
def getWidget(self, parent, *args, **options):
pass
def setOptions(self, options):
pass
def setValue(self, value):
pass
def getWidgetValue(self):
pass
def formatOutput(self, metadata, value):
pass
def syncUiState(self,... | 10 | 1 | 7 | 0 | 6 | 1 | 1 | 0.19 | 1 | 2 | 1 | 2 | 8 | 1 | 8 | 37 | 73 | 8 | 57 | 19 | 47 | 11 | 37 | 17 | 28 | 2 | 3 | 2 | 11 |
15,824 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dropdown_filterable.py | gooey.gui.components.widgets.dropdown_filterable.FilterableDropdown | import wx
import gooey.gui.events as events
import wx.html
from gooey.gui.components.widgets.dropdown import Dropdown
from gooey.gui.components.mouse import notifyMouseEvent
from gooey.gui.pubsub import pub
from gooey.python_bindings import types as t
class FilterableDropdown(Dropdown):
"""
TODO: tests for goo... |
class FilterableDropdown(Dropdown):
'''
TODO: tests for gooey_options
TODO: documentation
A dropdown with auto-complete / filtering behaviors.
This is largely a recreation of the `AutoComplete` functionality baked
into WX itself.
Background info:
The Dropdown's listbox and its Autocompl... | 17 | 6 | 10 | 0 | 8 | 2 | 2 | 0.48 | 1 | 5 | 4 | 0 | 16 | 7 | 16 | 53 | 206 | 20 | 126 | 31 | 109 | 61 | 106 | 29 | 89 | 8 | 4 | 4 | 30 |
15,825 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dropdown_filterable.py | gooey.gui.components.widgets.dropdown_filterable.FilterableDropdownModel | from gooey.gui.lang.i18n import _
from contextlib import contextmanager
from gooey.gui.components.filtering.prefix_filter import PrefixSearch
class FilterableDropdownModel(object):
"""
The model/state for the FilterableDropdown. While this is still one
big ball of mutation (hard to get away from in WX), it... |
class FilterableDropdownModel(object):
'''
The model/state for the FilterableDropdown. While this is still one
big ball of mutation (hard to get away from in WX), it serves the purpose
of keeping data transforms independent of presentation concerns.
'''
def __init__(self, choices, options, lis... | 16 | 5 | 6 | 0 | 6 | 1 | 1 | 0.19 | 1 | 2 | 1 | 0 | 14 | 11 | 14 | 14 | 113 | 13 | 84 | 36 | 68 | 16 | 77 | 35 | 62 | 2 | 1 | 2 | 17 |
15,826 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dropdown_filterable.py | gooey.gui.components.widgets.dropdown_filterable.ListCtrlComboPopup | import wx
import wx.html
class ListCtrlComboPopup(wx.ComboPopup):
"""
This is an empty placeholder to satisfy the interface of
the ComboCtrl which uses it. All Popup behavior is handled
inside of `FilterableDropdown`. See its docs for additional
details.
"""
def __init__(self):
wx.... |
class ListCtrlComboPopup(wx.ComboPopup):
'''
This is an empty placeholder to satisfy the interface of
the ComboCtrl which uses it. All Popup behavior is handled
inside of `FilterableDropdown`. See its docs for additional
details.
'''
def __init__(self):
pass
def Create(self, p... | 4 | 1 | 3 | 0 | 3 | 1 | 1 | 0.89 | 1 | 0 | 0 | 0 | 3 | 1 | 3 | 3 | 19 | 2 | 9 | 5 | 5 | 8 | 9 | 5 | 5 | 1 | 1 | 0 | 3 |
15,827 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/dropdown_filterable.py | gooey.gui.components.widgets.dropdown_filterable.VirtualizedListBox | import wx
import wx.html
class VirtualizedListBox(wx.html.HtmlListBox):
def __init__(self, *args, **kwargs):
super(VirtualizedListBox, self).__init__(*args, **kwargs)
self.SetItemCount(1)
def OnGetItem(self, n):
return '' |
class VirtualizedListBox(wx.html.HtmlListBox):
def __init__(self, *args, **kwargs):
pass
def OnGetItem(self, n):
pass | 3 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 2 | 2 | 7 | 1 | 6 | 3 | 3 | 0 | 6 | 3 | 3 | 1 | 1 | 0 | 2 |
15,828 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/listbox.py | gooey.gui.components.widgets.listbox.Listbox | import wx
from gooey.python_bindings import types as t
from gooey.gui.components.widgets.bases import TextContainer
from gooey.gui import formatters
class Listbox(TextContainer):
def getWidget(self, parent, *args, **options):
height = self._options.get('height', 60)
return wx.ListBox(parent=parent... |
class Listbox(TextContainer):
def getWidget(self, parent, *args, **options):
pass
def setOptions(self, options):
pass
def setValue(self, values):
pass
def getWidgetValue(self):
pass
def formatOutput(self, metadata, value):
pass
def getUiState(self) ... | 8 | 0 | 6 | 0 | 6 | 0 | 1 | 0.03 | 1 | 1 | 1 | 0 | 7 | 1 | 7 | 36 | 47 | 7 | 40 | 15 | 32 | 1 | 26 | 14 | 18 | 2 | 3 | 1 | 10 |
15,829 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/numeric_fields.py | gooey.gui.components.widgets.numeric_fields.DecimalField | import wx
from gooey.python_bindings import types as t
class DecimalField(IntegerField):
"""
A decimal input field
"""
widget_class = wx.SpinCtrlDouble
def getWidget(self, *args, **options):
widget = self.widget_class(self, value='', min=self._options.get('min', 0), max=self._options.get('... |
class DecimalField(IntegerField):
'''
A decimal input field
'''
def getWidget(self, *args, **options):
pass
def setValue(self, value):
pass
def getUiState(self) -> t.FormField:
pass | 4 | 1 | 7 | 0 | 7 | 0 | 1 | 0.13 | 1 | 1 | 1 | 0 | 3 | 1 | 3 | 37 | 31 | 4 | 24 | 8 | 20 | 3 | 11 | 7 | 7 | 1 | 4 | 0 | 3 |
15,830 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/numeric_fields.py | gooey.gui.components.widgets.numeric_fields.IntegerField | from gooey.gui import formatters
from gooey.python_bindings import types as t
import wx
from gooey.gui.components.widgets.bases import TextContainer
class IntegerField(TextContainer):
"""
An integer input field
"""
widget_class = wx.SpinCtrl
def getWidget(self, *args, **options):
widget = ... |
class IntegerField(TextContainer):
'''
An integer input field
'''
def getWidget(self, *args, **options):
pass
def getWidgetValue(self):
pass
def setValue(self, value):
pass
def formatOutput(self, metatdata, value):
pass
def getUiState(self) -> t.Form... | 6 | 1 | 5 | 0 | 5 | 0 | 1 | 0.19 | 1 | 3 | 1 | 1 | 5 | 1 | 5 | 34 | 35 | 4 | 26 | 10 | 20 | 5 | 14 | 9 | 8 | 1 | 3 | 0 | 5 |
15,831 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/password.py | gooey.gui.components.widgets.password.PasswordField | from gooey.gui.components.widgets.core.text_input import PasswordInput
from gooey.gui.components.widgets.textfield import TextField
from gooey.python_bindings import types as t
class PasswordField(TextField):
widget_class = PasswordInput
def __init__(self, *args, **kwargs):
super(PasswordField, self).... |
class PasswordField(TextField):
def __init__(self, *args, **kwargs):
pass
def getUiState(self) -> t.FormField:
pass | 3 | 0 | 2 | 0 | 2 | 1 | 1 | 0.5 | 1 | 2 | 1 | 0 | 2 | 0 | 2 | 36 | 8 | 2 | 6 | 4 | 3 | 3 | 6 | 4 | 3 | 1 | 4 | 0 | 2 |
15,832 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/radio_group.py | gooey.gui.components.widgets.radio_group.RadioGroup | from typing import Optional
from gooey.gui.components.widgets import CheckBox
from gooey.util.functional import getin, merge
from gooey.gui.util import wx_util
import wx
from gooey.gui.components.widgets.bases import BaseWidget
from gooey.python_bindings import types as t
from gooey.gui.lang.i18n import _
class RadioG... |
class RadioGroup(BaseWidget):
'''
'''
def __init__(self, parent, widgetInfo, *args, **kwargs):
pass
def getValue(self):
pass
def syncUiState(self, state: t.RadioGroup):
pass
def getUiState(self):
pass
def getSelectedIndex(self) -> Optional[int]:
... | 15 | 4 | 12 | 1 | 9 | 3 | 3 | 0.34 | 1 | 5 | 1 | 0 | 14 | 11 | 14 | 23 | 192 | 29 | 125 | 49 | 109 | 43 | 111 | 47 | 95 | 6 | 2 | 3 | 40 |
15,833 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/richtextconsole.py | gooey.gui.components.widgets.richtextconsole.RichTextConsole | import wx
import re
import wx.richtext
import colored
class RichTextConsole(wx.richtext.RichTextCtrl):
"""
An advanced rich test console panel supporting some Xterm control codes.
"""
def __init__(self, parent):
super(wx.richtext.RichTextCtrl, self).__init__(parent, -1, '', style=wx.richte... |
class RichTextConsole(wx.richtext.RichTextCtrl):
'''
An advanced rich test console panel supporting some Xterm control codes.
'''
def __init__(self, parent):
pass
def PreprocessAndWriteText(self, content):
'''Write text into console, while capturing URLs and making
th... | 5 | 3 | 20 | 1 | 15 | 4 | 4 | 0.31 | 1 | 3 | 0 | 0 | 4 | 6 | 4 | 4 | 88 | 8 | 61 | 21 | 56 | 19 | 52 | 21 | 47 | 5 | 1 | 2 | 14 |
15,834 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/slider.py | gooey.gui.components.widgets.slider.Slider | from gooey.gui.components.widgets.bases import TextContainer
from gooey.gui import formatters
import wx
from gooey.python_bindings import types as t
class Slider(TextContainer):
"""
An integer input field
"""
widget_class = wx.Slider
def getWidget(self, *args, **options):
widget = self.wid... |
class Slider(TextContainer):
'''
An integer input field
'''
def getWidget(self, *args, **options):
pass
def getWidgetValue(self):
pass
def setValue(self, value):
pass
def formatOutput(self, metatdata, value):
pass
def getUiState(self) -> t.FormField:... | 6 | 1 | 5 | 0 | 5 | 0 | 1 | 0.12 | 1 | 2 | 1 | 0 | 5 | 1 | 5 | 34 | 33 | 4 | 26 | 10 | 20 | 3 | 14 | 9 | 8 | 1 | 3 | 0 | 5 |
15,835 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/textarea.py | gooey.gui.components.widgets.textarea.Textarea | from gooey.python_bindings.types import FormField
import os
import wx
from gooey.gui.components.widgets.bases import TextContainer
from gooey.gui import formatters
from functools import reduce
from gooey.python_bindings import types as t
class Textarea(TextContainer):
def getWidget(self, parent, *args, **options)... |
class Textarea(TextContainer):
def getWidget(self, parent, *args, **options):
pass
def getModifiers(self):
pass
def getWidgetValue(self):
pass
def setValue(self, value):
pass
def formatOutput(self, metatdata, value: str):
pass
def syncUiState(self, ... | 8 | 0 | 5 | 0 | 5 | 0 | 1 | 0.06 | 1 | 2 | 1 | 0 | 7 | 1 | 7 | 36 | 43 | 7 | 35 | 11 | 27 | 2 | 21 | 10 | 13 | 2 | 3 | 0 | 8 |
15,836 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/components/widgets/textfield.py | gooey.gui.components.widgets.textfield.TextField | from gooey.gui import formatters
import wx
from gooey.gui.components.widgets.bases import TextContainer
from gooey.python_bindings import types as t
from gooey.gui.components.widgets.core.text_input import TextInput
class TextField(TextContainer):
widget_class = TextInput
def getWidgetValue(self):
ret... |
class TextField(TextContainer):
def getWidgetValue(self):
pass
def setValue(self, value):
pass
def setPlaceholder(self, value):
pass
def formatOutput(self, metatdata, value):
pass
def syncUiState(self, state: t.TextField):
pass | 6 | 0 | 3 | 0 | 3 | 0 | 1 | 0.05 | 1 | 2 | 1 | 2 | 5 | 0 | 5 | 34 | 24 | 5 | 19 | 8 | 13 | 1 | 19 | 8 | 13 | 1 | 3 | 0 | 5 |
15,837 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/containers/application.py | gooey.gui.containers.application.GooeyApplication | import sys
from gooey.gui import seeder
from gooey.gui.state import initial_state, present_time, form_page, ProgressEvent, TimingEvent
from gooey.python_bindings import constants
import wx
from gooey.gui import events
from gooey.gui import cli
from gooey.gui.components.tabbar import Tabbar
from subprocess import Called... |
class GooeyApplication(wx.Frame):
'''
Main window for Gooey.
'''
def __init__(self, buildSpec, *args, **kwargs):
pass
def applyConfiguration(self):
pass
def onStart(self, *args, **kwarg):
'''
Verify user input and kick off the client's program if valid
... | 27 | 10 | 13 | 1 | 10 | 2 | 2 | 0.24 | 1 | 17 | 12 | 0 | 25 | 13 | 25 | 25 | 376 | 58 | 257 | 57 | 231 | 62 | 203 | 56 | 177 | 6 | 1 | 4 | 54 |
15,838 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/processor.py | gooey.gui.processor.ProcessController | from gooey.python_bindings.types import GooeyParams
import psutil
from functools import partial
import sys
from gooey.gui.pubsub import pub
import re
import subprocess
from threading import Thread
from gooey.gui import events
from gooey.gui.util.casting import safe_float
from gooey.util.functional import unit, bind
imp... |
class ProcessController(object):
@classmethod
def of(cls, params: GooeyParams):
pass
def __init__(self, progress_regex, progress_expr, hide_progress_msg, encoding, shell=True, shutdown_signal=signal.SIGTERM, testmode=False):
pass
def was_success(self):
pass
def poll(self... | 15 | 6 | 9 | 0 | 7 | 2 | 2 | 0.3 | 1 | 7 | 1 | 0 | 12 | 9 | 13 | 13 | 137 | 16 | 93 | 36 | 77 | 28 | 73 | 34 | 59 | 4 | 1 | 2 | 24 |
15,839 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/pubsub.py | gooey.gui.pubsub.PubSub | from collections import defaultdict
import wx
class PubSub(object):
"""
A super simplified clone of Wx.lib.pubsub since it doesn't exist on linux
"""
def __init__(self):
self.registry = defaultdict(list)
def subscribe(self, event, handler):
self.registry[event].append(handler)
... |
class PubSub(object):
'''
A super simplified clone of Wx.lib.pubsub since it doesn't exist on linux
'''
def __init__(self):
pass
def subscribe(self, event, handler):
pass
def send_message(self, event, **kwargs):
pass
def send_message_sync(self, event, **kwargs):
... | 5 | 2 | 5 | 0 | 3 | 2 | 2 | 1.09 | 1 | 1 | 0 | 0 | 4 | 1 | 4 | 4 | 28 | 5 | 11 | 8 | 6 | 12 | 11 | 8 | 6 | 2 | 1 | 1 | 6 |
15,840 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.ButtonState | from typing_extensions import TypedDict
class ButtonState(TypedDict):
id: str
style: str
label_id: str
show: bool
enabled: bool |
class ButtonState(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 1 | 5 | 0 | 6 | 1 | 5 | 0 | 1 | 0 | 0 |
15,841 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.FullGooeyState | from typing import Optional, List, Dict, Any, Union, Callable
from gooey.python_bindings.types import FormField
class FullGooeyState(GooeyState):
forms: Dict[str, List[FormField]]
widgets: Dict[str, Dict[str, Any]] |
class FullGooeyState(GooeyState):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 3 | 0 | 0 |
15,842 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.GooeyState | from typing import Optional, List, Dict, Any, Union, Callable
from gooey.python_bindings.types import GooeyParams, Item, Group, TopLevelParser, EnrichedItem, FieldValue
class GooeyState(GooeyParams):
fetchingUpdate: bool
screen: str
title: str
subtitle: str
images: Dict[str, str]
image: str
... |
class GooeyState(GooeyParams):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 13 | 0 | 13 | 1 | 12 | 0 | 13 | 1 | 12 | 0 | 2 | 0 | 0 |
15,843 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.ProgressEvent | from typing_extensions import TypedDict
from typing import Optional, List, Dict, Any, Union, Callable
class ProgressEvent(TypedDict):
progress: Optional[int] |
class ProgressEvent(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 1 | 0 | 0 |
15,844 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.ProgressState | from typing_extensions import TypedDict
class ProgressState(TypedDict):
show: bool
range: int
value: int |
class ProgressState(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 1 | 0 | 0 |
15,845 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.TimingEvent | from typing import Optional, List, Dict, Any, Union, Callable
from typing_extensions import TypedDict
class TimingEvent(TypedDict):
elapsed_time: Optional[str]
estimatedRemaining: Optional[str] |
class TimingEvent(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
15,846 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/state.py | gooey.gui.state.TimingState | from typing import Optional, List, Dict, Any, Union, Callable
from typing_extensions import TypedDict
class TimingState(TypedDict):
show: bool
elapsedTime: Optional[str]
estimated_remaining: Optional[str] |
class TimingState(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 1 | 0 | 0 |
15,847 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/three_to_four.py | gooey.gui.three_to_four.Classes | import wx
class Classes:
if isLatestVersion:
DatePickerCtrl = wx.adv.DatePickerCtrl
else:
DatePickerCtrl = wx.DatePickerCtrl
if isLatestVersion:
TimePickerCtrl = wx.adv.TimePickerCtrl
else:
TimePickerCtrl = wx.TimePickerCtrl |
class Classes:
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 1 | 9 | 3 | 8 | 0 | 7 | 3 | 6 | 0 | 0 | 1 | 0 |
15,848 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/three_to_four.py | gooey.gui.three_to_four.Constants | import wx
class Constants:
if isLatestVersion:
WX_FONTSTYLE_NORMAL = wx.FONTSTYLE_NORMAL
WX_DP_DROPDOWN = wx.adv.DP_DROPDOWN
else:
WX_FONTSTYLE_NORMAL = wx.FONTWEIGHT_NORMAL
WX_DP_DROPDOWN = wx.DP_DROPDOWN |
class Constants:
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 3 | 6 | 0 | 6 | 3 | 5 | 0 | 0 | 1 | 0 |
15,849 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/util/filedrop.py | gooey.gui.util.filedrop.FileDrop | import wx
class FileDrop(wx.FileDropTarget):
def __init__(self, window, dropStrategy=None):
wx.FileDropTarget.__init__(self)
self.window = window
self.dropHandler = dropStrategy or self._defaultStrategy
def OnDropFiles(self, x, y, filenames):
return self.dropHandler(x, y, file... |
class FileDrop(wx.FileDropTarget):
def __init__(self, window, dropStrategy=None):
pass
def OnDropFiles(self, x, y, filenames):
pass
def _defaultStrategy(self, x, y, filenames):
pass | 4 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 | 2 | 3 | 3 | 13 | 2 | 11 | 7 | 7 | 0 | 11 | 7 | 7 | 2 | 1 | 1 | 4 |
15,850 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/gui/util/time.py | gooey.gui.util.time.Timing | from gooey.gui import events
import wx
from gooey.gui.pubsub import pub
class Timing(object):
def __init__(self, parent):
self.startTime = 0
self.estimatedRemaining = None
self.wxTimer = wx.Timer(parent)
self.parent = parent
parent.Bind(wx.EVT_TIMER, self.publishTime, self.... |
class Timing(object):
def __init__(self, parent):
pass
def _updateEstimate(self, *args, **kwargs):
pass
def publishTime(self, *args, **kwargs):
pass
def start(self):
pass
def stop(self):
pass | 6 | 0 | 6 | 0 | 5 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 | 4 | 5 | 5 | 34 | 6 | 28 | 11 | 22 | 0 | 23 | 11 | 17 | 3 | 1 | 1 | 7 |
15,851 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/argparse_to_json.py | gooey.python_bindings.argparse_to_json.UnknownWidgetType | class UnknownWidgetType(Exception):
pass | class UnknownWidgetType(Exception):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,852 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/argparse_to_json.py | gooey.python_bindings.argparse_to_json.UnsupportedConfiguration | class UnsupportedConfiguration(Exception):
pass | class UnsupportedConfiguration(Exception):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,853 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/gooey_parser.py | gooey.python_bindings.gooey_parser.GooeyArgumentGroup | from argparse import _MutuallyExclusiveGroup, _ArgumentGroup
class GooeyArgumentGroup(_ArgumentGroup):
def __init__(self, parser, widgets, options, *args, **kwargs):
self.parser = parser
self.widgets = widgets
self.options = options
super(GooeyArgumentGroup, self).__init__(self.par... |
class GooeyArgumentGroup(_ArgumentGroup):
def __init__(self, parser, widgets, options, *args, **kwargs):
pass
def add_argument(self, *args, **kwargs):
pass
def add_argument_group(self, *args, **kwargs):
pass
def add_mutually_exclusive_group(self, *args, **kwargs):
pa... | 5 | 0 | 7 | 0 | 7 | 0 | 1 | 0 | 1 | 2 | 1 | 0 | 4 | 3 | 4 | 26 | 32 | 4 | 28 | 17 | 23 | 0 | 28 | 17 | 23 | 1 | 3 | 0 | 4 |
15,854 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/gooey_parser.py | gooey.python_bindings.gooey_parser.GooeyMutuallyExclusiveGroup | from argparse import _MutuallyExclusiveGroup, _ArgumentGroup
class GooeyMutuallyExclusiveGroup(_MutuallyExclusiveGroup):
def __init__(self, container, parser, widgets, options, *args, **kwargs):
self.parser = parser
self.widgets = widgets
self.options = options
super(GooeyMutuallyE... |
class GooeyMutuallyExclusiveGroup(_MutuallyExclusiveGroup):
def __init__(self, container, parser, widgets, options, *args, **kwargs):
pass
def add_argument(self, *args, **kwargs):
pass | 3 | 0 | 7 | 1 | 7 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 2 | 3 | 2 | 28 | 16 | 2 | 14 | 9 | 11 | 0 | 14 | 9 | 11 | 1 | 4 | 0 | 2 |
15,855 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/gooey_parser.py | gooey.python_bindings.gooey_parser.GooeyParser | from argparse import ArgumentParser, _SubParsersAction
class GooeyParser(object):
def __init__(self, **kwargs):
on_success = kwargs.pop('on_success', None)
on_error = kwargs.pop('on_error', None)
self.__dict__['parser'] = ArgumentParser(**kwargs)
self.widgets = {}
self.opti... |
class GooeyParser(object):
def __init__(self, **kwargs):
pass
@property
def _mutually_exclusive_groups(self):
pass
@property
def _actions(self):
pass
@property
def description(self):
pass
def add_argument(self, *args, **kwargs):
pass
def ad... | 16 | 0 | 9 | 1 | 7 | 1 | 2 | 0.16 | 1 | 4 | 2 | 0 | 12 | 5 | 12 | 12 | 120 | 24 | 83 | 41 | 66 | 13 | 74 | 38 | 60 | 4 | 1 | 3 | 20 |
15,856 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/gooey_parser.py | gooey.python_bindings.gooey_parser.GooeySubParser | from argparse import ArgumentParser, _SubParsersAction
class GooeySubParser(_SubParsersAction):
def __init__(self, *args, **kwargs):
super(GooeySubParser, self).__init__(*args, **kwargs) |
class GooeySubParser(_SubParsersAction):
def __init__(self, *args, **kwargs):
pass | 2 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 12 | 3 | 0 | 3 | 2 | 1 | 0 | 3 | 2 | 1 | 1 | 4 | 0 | 1 |
15,857 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/gooey_parser.py | gooey.python_bindings.gooey_parser.MyArgumentParser | from argparse import ArgumentParser, _SubParsersAction
class MyArgumentParser(ArgumentParser):
def __init__(self, **kwargs):
self._errors = []
super(MyArgumentParser, self).__init__(**kwargs)
def error(self, message):
self._errors.append(message) |
class MyArgumentParser(ArgumentParser):
def __init__(self, **kwargs):
pass
def error(self, message):
pass | 3 | 0 | 3 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 2 | 1 | 2 | 52 | 7 | 1 | 6 | 4 | 3 | 0 | 6 | 4 | 3 | 1 | 3 | 0 | 2 |
15,858 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/parser_exceptions.py | gooey.python_bindings.parser_exceptions.ArgumentError | class ArgumentError(Exception):
"""Thrown when the parser is supplied with an incorrect argument format"""
pass | class ArgumentError(Exception):
'''Thrown when the parser is supplied with an incorrect argument format'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 3 | 0 | 2 | 1 | 1 | 1 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,859 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/parser_exceptions.py | gooey.python_bindings.parser_exceptions.ParserError | class ParserError(Exception):
"""Thrown when the parser can't find argparse functions the client code"""
pass | class ParserError(Exception):
'''Thrown when the parser can't find argparse functions the client code'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 3 | 0 | 2 | 1 | 1 | 1 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,860 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.BasicField | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class BasicField(TypedDict):
id: str
type: str
error: Optional[str]
enabled: bool
visible: bool |
class BasicField(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33 | 1 | 0 | 0 | 13 | 0 | 0 | 0 | 0 | 8 | 0 | 6 | 1 | 5 | 2 | 6 | 1 | 5 | 0 | 1 | 0 | 0 |
15,861 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Checkbox | class Checkbox(BasicField):
checked: bool | class Checkbox(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 2 | 0 | 0 |
15,862 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Chooser | class Chooser(BasicField):
btn_label: str
value: str | class Chooser(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,863 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.ColourChooser | class ColourChooser(Chooser):
pass | class ColourChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,864 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Command | class Command(BasicField):
value: str
placeholder: str | class Command(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,865 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.CommandDetails | from dataclasses import dataclass
from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
@dataclass(frozen=True, eq=True)
class CommandDetails:
target: str
subcommand: str
positionals: List[FieldValue]
optionals: List[FieldValue] | @dataclass(frozen=True, eq=True)
class CommandDetails:
pass | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 1 | 4 | 0 | 5 | 1 | 4 | 0 | 0 | 0 | 0 |
15,866 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.CommandPieces | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from dataclasses import dataclass
@dataclass(frozen=True, eq=True)
class CommandPieces:
target: str
subcommand: str
positionals: List[str]
optionals: List[str]
ignoreFlag: str | @dataclass(frozen=True, eq=True)
class CommandPieces:
pass | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 1 | 5 | 0 | 6 | 1 | 5 | 0 | 0 | 0 | 0 |
15,867 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Counter | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class Counter(BasicField):
selected: int
choices: List[str] |
class Counter(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,868 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.DateChooser | class DateChooser(Chooser):
pass | class DateChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,869 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.DecimalField | class DecimalField(BasicField):
value: float
min: float
max: float | class DecimalField(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 2 | 0 | 0 |
15,870 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.DirChooser | class DirChooser(Chooser):
pass | class DirChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,871 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Dropdown | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class Dropdown(BasicField):
selected: int
choices: List[str] |
class Dropdown(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,872 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.DropdownFilterable | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class DropdownFilterable(BasicField):
value: str
choices: List[str] |
class DropdownFilterable(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,873 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.EnrichedItem | class EnrichedItem(Item):
"""
An argparse item paired with its associated Gooey form
field and current state.
"""
field: FormField | class EnrichedItem(Item):
'''
An argparse item paired with its associated Gooey form
field and current state.
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 2 | 1 | 1 | 4 | 2 | 1 | 1 | 0 | 2 | 0 | 0 |
15,874 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Failure | from dataclasses import dataclass
@dataclass(frozen=True, eq=True)
class Failure:
error: Exception
def map(self, f):
return Failure(self.error)
def flatmap(self, f):
return Failure(self.error)
def onSuccess(self, f):
return self
def onError(self, f):
f(self.error... | @dataclass(frozen=True, eq=True)
class Failure:
def map(self, f):
pass
def flatmap(self, f):
pass
def onSuccess(self, f):
pass
def onError(self, f):
pass
def isSuccess(self):
pass
def getOrThrow(self):
pass | 8 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 6 | 16 | 1 | 15 | 7 | 8 | 0 | 15 | 7 | 8 | 1 | 0 | 0 | 6 |
15,875 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.FieldValue | from typing_extensions import TypedDict
from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class FieldValue(TypedDict):
"""
The current value of a widget in the UI.
TODO: Why are things like cmd and cli type tracked IN the
UI and returned as part of the getValue() cal... |
class FieldValue(TypedDict):
'''
The current value of a widget in the UI.
TODO: Why are things like cmd and cli type tracked IN the
UI and returned as part of the getValue() call?
What the hell, young me?
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0.46 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 19 | 0 | 13 | 1 | 12 | 6 | 13 | 1 | 12 | 0 | 1 | 0 | 0 |
15,876 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.FileChooser | class FileChooser(Chooser):
pass | class FileChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,877 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.FileSaver | class FileSaver(Chooser):
pass | class FileSaver(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,878 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.GooeyParams | from typing_extensions import TypedDict
from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class GooeyParams(TypedDict):
show_preview_warning: bool
suppress_gooey_flag: bool
advanced: bool
language: str
target: Optional[str]
program_name: Optional[str]
pro... |
class GooeyParams(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 73 | 5 | 62 | 1 | 61 | 7 | 62 | 1 | 61 | 0 | 1 | 0 | 0 |
15,879 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Group | from typing_extensions import TypedDict
from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class Group(TypedDict):
name: str
items: List['Item']
groups: List['Group']
description: str
options: Dict[Any, Any] |
class Group(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 1 | 5 | 0 | 6 | 1 | 5 | 0 | 1 | 0 | 0 |
15,880 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.IntegerField | class IntegerField(BasicField):
value: str
min: int
max: int | class IntegerField(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 2 | 0 | 0 |
15,881 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.InvalidChoiceException | class InvalidChoiceException(ValueError):
pass | class InvalidChoiceException(ValueError):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 4 | 0 | 0 |
15,882 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Item | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class Item(TypedDict):
id: str
type: str
cli_type: str
group_name: str
required: bool
options: Dict[Any, Any]
data: 'ItemData' |
class Item(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 | 0 | 8 | 1 | 7 | 0 | 8 | 1 | 7 | 0 | 1 | 0 | 0 |
15,883 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Listbox | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class Listbox(BasicField):
selected: List[str]
choices: List[str] |
class Listbox(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,884 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.MenuAboutDialog | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class MenuAboutDialog(TypedDict):
type: str
menuTitle: str
name: Optional[str]
description: Optional[str]
version: Optional[str]
copyright: Optional[str]
license: Op... |
class MenuAboutDialog(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 0 | 10 | 1 | 9 | 0 | 10 | 1 | 9 | 0 | 1 | 0 | 0 |
15,885 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.MenuHtmlDialog | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class MenuHtmlDialog(TypedDict):
type: str
menuTitle: str
caption: Optional[str]
html: str |
class MenuHtmlDialog(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 1 | 4 | 0 | 5 | 1 | 4 | 0 | 1 | 0 | 0 |
15,886 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.MenuLink | from typing_extensions import TypedDict
class MenuLink(TypedDict):
type: str
menuTitle: str
url: str |
class MenuLink(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 1 | 0 | 0 |
15,887 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.MenuMessageDialog | from typing_extensions import TypedDict
from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class MenuMessageDialog(TypedDict):
type: str
menuTitle: str
message: str
caption: Optional[str] |
class MenuMessageDialog(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 1 | 4 | 0 | 5 | 1 | 4 | 0 | 1 | 0 | 0 |
15,888 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.MultiDirChooser | class MultiDirChooser(Chooser):
pass | class MultiDirChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,889 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.MultiFileChooser | class MultiFileChooser(Chooser):
pass | class MultiFileChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,890 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.PasswordField | class PasswordField(TextField):
pass | class PasswordField(TextField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
15,891 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.PublicGooeyState | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class PublicGooeyState(TypedDict):
"""
A minimal representation of Gooey's current UI state
"""
active_form: List[FormField] |
class PublicGooeyState(TypedDict):
'''
A minimal representation of Gooey's current UI state
'''
pass | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 2 | 1 | 1 | 3 | 2 | 1 | 1 | 0 | 1 | 0 | 0 |
15,892 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.RadioData | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class RadioData(TypedDict):
commands: List[List[str]]
widgets: List[Item] |
class RadioData(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 1 | 0 | 0 |
15,893 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.RadioGroup | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
class RadioGroup(BasicField):
selected: Optional[int]
options: List['FormField'] |
class RadioGroup(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,894 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Slider | class Slider(BasicField):
value: float
min: float
max: float | class Slider(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 1 | 3 | 0 | 4 | 1 | 3 | 0 | 2 | 0 | 0 |
15,895 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.StandardData | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from typing_extensions import TypedDict
class StandardData(TypedDict):
display_name: str
help: str
required: bool
nargs: str
commands: List[str]
choices: List[str]
default: Union[str, List[str]]
dest: ... |
class StandardData(TypedDict):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 | 0 | 9 | 1 | 8 | 0 | 9 | 1 | 8 | 0 | 1 | 0 | 0 |
15,896 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Success | from typing import Optional, Tuple, List, Union, Mapping, Any, TypeVar, Generic, Dict
from dataclasses import dataclass
@dataclass(frozen=True, eq=True)
class Success(Generic[A]):
value: A
def map(self, f):
return Success(f(self.value))
def flatmap(self, f):
return f(self.value)
def ... | @dataclass(frozen=True, eq=True)
class Success(Generic[A]):
def map(self, f):
pass
def flatmap(self, f):
pass
def onSuccess(self, f):
pass
def onError(self, f):
pass
def isSuccess(self):
pass
def getOrThrow(self):
pass | 8 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 | 0 | 6 | 8 | 16 | 1 | 15 | 7 | 8 | 0 | 15 | 7 | 8 | 1 | 1 | 0 | 6 |
15,897 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.TextField | class TextField(BasicField):
value: str
placeholder: str | class TextField(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,898 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.Textarea | class Textarea(BasicField):
value: float
height: int | class Textarea(BasicField):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 2 | 0 | 0 |
15,899 | chriskiehl/Gooey | chriskiehl_Gooey/gooey/python_bindings/types.py | gooey.python_bindings.types.TimeChooser | class TimeChooser(Chooser):
pass | class TimeChooser(Chooser):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 1 | 1 | 0 | 3 | 0 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.