happyscript 0.0.40__tar.gz → 0.0.41__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. {happyscript-0.0.40 → happyscript-0.0.41}/PKG-INFO +1 -1
  2. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/__init__.py +2 -1
  3. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/form_main.py +4 -4
  4. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/formsbase.py +660 -660
  5. happyscript-0.0.41/happyscript/modulereader.py +129 -0
  6. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/panels/panelsbase.py +506 -506
  7. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptartwork.py +2 -1
  8. happyscript-0.0.41/happyscript/scriptmanager.py +51 -0
  9. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptreader.py +0 -1
  10. happyscript-0.0.40/happyscript/scriptmanager.py → happyscript-0.0.41/happyscript/staticscriptmanager.py +24 -47
  11. happyscript-0.0.41/happyscript/testloghandler.py +31 -0
  12. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/userpanel/userpanel.py +190 -190
  13. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/userpanel/userpanelvalue.py +50 -50
  14. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript.egg-info/PKG-INFO +1 -1
  15. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript.egg-info/SOURCES.txt +3 -0
  16. {happyscript-0.0.40 → happyscript-0.0.41}/pyproject.toml +1 -1
  17. {happyscript-0.0.40 → happyscript-0.0.41}/README.md +0 -0
  18. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/__init__.py +0 -0
  19. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/chart.py +0 -0
  20. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/histogram_chart.py +0 -0
  21. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/histogram_series.py +0 -0
  22. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/matplotlib_chart.py +0 -0
  23. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/panel_charts.py +0 -0
  24. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/scatter_chart.py +0 -0
  25. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/scatter_series.py +0 -0
  26. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/time_chart.py +0 -0
  27. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/charts/time_series.py +0 -0
  28. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/form_askchoice.py +0 -0
  29. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/form_askimage.py +0 -0
  30. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/form_ontestfailure.py +0 -0
  31. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/form_serials.py +0 -0
  32. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/forms/form_stop.py +0 -0
  33. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/imglib.py +0 -0
  34. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/panels/panel_log.py +0 -0
  35. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/panels/panel_messages.py +0 -0
  36. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/panels/panel_scripts2.py +0 -0
  37. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/panels/panel_tests.py +0 -0
  38. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptcontrol.py +0 -0
  39. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptexceptions.py +0 -0
  40. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptgui.py +0 -0
  41. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptinfo.py +0 -0
  42. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptparams.py +0 -0
  43. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/scriptrunner.py +0 -0
  44. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/splashmenu/exit.png +0 -0
  45. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/splashmenu/forms.py +0 -0
  46. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/splashmenu/splashmenuform.py +0 -0
  47. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/splashmenu/splashmenumain.py +0 -0
  48. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/testlog/global_log_handler.py +0 -0
  49. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/testlog/log_to_text.py +0 -0
  50. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/testlog/logtoxml.py +0 -0
  51. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript/testlog/printredirect.py +0 -0
  52. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript.egg-info/dependency_links.txt +0 -0
  53. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript.egg-info/requires.txt +0 -0
  54. {happyscript-0.0.40 → happyscript-0.0.41}/happyscript.egg-info/top_level.txt +0 -0
  55. {happyscript-0.0.40 → happyscript-0.0.41}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: happyscript
3
- Version: 0.0.40
3
+ Version: 0.0.41
4
4
  Summary: Framework for running scripts
5
5
  Requires-Python: >=3.5
6
6
  Description-Content-Type: text/markdown
@@ -1,12 +1,13 @@
1
1
  """HappyScript - handy script launcher"""
2
2
 
3
- __version__ = "0.0.40"
3
+ __version__ = "0.0.41"
4
4
 
5
5
  # With these statements, after doing 'import happyscript' you can do 'xxx = happyscript.ScriptManager()'
6
6
  #from .scriptmanager import ScriptManager
7
7
  #from .pytestsupport import *
8
8
 
9
9
  from .scriptmanager import ScriptManager
10
+ from .staticscriptmanager import StaticScriptManager
10
11
  from .splashmenu.splashmenumain import SplashMenu
11
12
 
12
13
  from .scriptcontrol import ScriptControl as Ctrl
@@ -151,7 +151,7 @@ class FormMain(FormMain_Base):
151
151
  if user is None: # if no user given, take last user from ini-file
152
152
  ini = configparser.ConfigParser()
153
153
  ini.read( ["happyscript.ini"] )
154
- user = ini.get("varia", "CurrentUser", fallback="ENGINEER" )
154
+ user = ini.get("varia", "CurrentUser", fallback="OPERATOR" )
155
155
  if user not in self.VALID_OPERATORS:
156
156
  user = "OPERATOR"
157
157
 
@@ -176,10 +176,10 @@ class FormMain(FormMain_Base):
176
176
  center = self.msgArea
177
177
  enable_buttons = list()
178
178
  elif self.current_user=="TECHNICIAN":
179
- hide_panels = [self.logPane, self._nbk_scripts, self._shell_window, self.chartsPane]
179
+ hide_panels = [self._shell_window, self.chartsPane]
180
180
  bitmap = ScriptArtwork.GetBitmap("user_technician")
181
- center = self.msgArea
182
- enable_buttons = [ self.m_btnControls ]
181
+ center = self.logPane
182
+ enable_buttons = [ self.m_btnControls, self.m_btnScripts, self.m_btnLogging, self.m_btnMessages]
183
183
  elif self.current_user=="ENGINEER":
184
184
  hide_panels = list()
185
185
  bitmap = ScriptArtwork.GetBitmap("user_engineer")