happyscript 0.0.28__tar.gz → 0.0.34__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.
- {happyscript-0.0.28 → happyscript-0.0.34}/PKG-INFO +2 -1
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/__init__.py +1 -1
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/matplotlib_chart.py +1 -16
- happyscript-0.0.34/happyscript/splashmenu/exit.png +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/userpanel/userpanel.py +19 -19
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript.egg-info/PKG-INFO +2 -1
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript.egg-info/SOURCES.txt +1 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript.egg-info/requires.txt +1 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/pyproject.toml +7 -4
- {happyscript-0.0.28 → happyscript-0.0.34}/README.md +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/__init__.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/chart.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/histogram_chart.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/histogram_series.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/panel_charts.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/scatter_chart.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/scatter_series.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/time_chart.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/charts/time_series.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/form_askchoice.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/form_askimage.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/form_main.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/form_ontestfailure.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/form_serials.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/form_stop.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/forms/formsbase.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/imglib.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/panels/panel_log.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/panels/panel_messages.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/panels/panel_scripts2.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/panels/panel_tests.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/panels/panelsbase.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptartwork.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptcontrol.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptexceptions.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptgui.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptinfo.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptmanager.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptparams.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptreader.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/scriptrunner.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/splashmenu/forms.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/splashmenu/splashmenuform.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/splashmenu/splashmenumain.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/testlog/global_log_handler.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/testlog/log_to_text.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/testlog/logtoxml.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/testlog/printredirect.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/userpanel/userpaneltimer.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript/userpanel/userpanelvalue.py +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript.egg-info/dependency_links.txt +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/happyscript.egg-info/top_level.txt +0 -0
- {happyscript-0.0.28 → happyscript-0.0.34}/setup.cfg +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: happyscript
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.34
|
|
4
4
|
Summary: Framework for running scripts
|
|
5
5
|
Requires-Python: >=3.5
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Requires-Dist: wxpython
|
|
8
|
+
Requires-Dist: numpy
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
More info coming soon...
|
|
@@ -17,24 +17,9 @@ try:
|
|
|
17
17
|
HAVE_MATPLOTLIB = True
|
|
18
18
|
except ImportError:
|
|
19
19
|
HAVE_MATPLOTLIB = False
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# fig_canvas_toolbar = dict()
|
|
23
|
-
#
|
|
24
|
-
# old_panels = dict()
|
|
25
20
|
|
|
26
21
|
class MatPlotLibChart(wx.Panel):
|
|
27
22
|
|
|
28
|
-
# @classmethod
|
|
29
|
-
# def create(cls, parent_control, name):
|
|
30
|
-
#
|
|
31
|
-
# if not name in old_panels:
|
|
32
|
-
# panel = MatPlotLibChart(parent_control, name)
|
|
33
|
-
# old_panels[name] = panel
|
|
34
|
-
#
|
|
35
|
-
# return old_panels[name]
|
|
36
|
-
|
|
37
|
-
|
|
38
23
|
def __init__(self, parent_control, name):
|
|
39
24
|
'''
|
|
40
25
|
Constructor
|
|
@@ -83,7 +68,7 @@ class MatPlotLibChart(wx.Panel):
|
|
|
83
68
|
return self.__name
|
|
84
69
|
|
|
85
70
|
@property
|
|
86
|
-
def figure(self) -> Figure:
|
|
71
|
+
def figure(self) -> 'Figure':
|
|
87
72
|
return self.__figure
|
|
88
73
|
|
|
89
74
|
def configure(self, /, x_label=None, y_label=None, title=None,
|
|
Binary file
|
|
@@ -118,25 +118,25 @@ class UserPanel(wx.Panel):
|
|
|
118
118
|
self.__insert_button("Set", lambda *args: smart_input.set(), 0)
|
|
119
119
|
return smart_input
|
|
120
120
|
|
|
121
|
-
def add_timer_control(self, default, min, max, interval_callback, *args, **kwargs):
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
121
|
+
# def add_timer_control(self, default, min, max, interval_callback, *args, **kwargs):
|
|
122
|
+
# """allows the user to periodically trigger a callback
|
|
123
|
+
# the timer interval is set with a spin control
|
|
124
|
+
# pressing start or stop will (re)start or stop the interval timer
|
|
125
|
+
|
|
126
|
+
# Arguments:
|
|
127
|
+
# default -- inverval default value
|
|
128
|
+
# min -- interval minimum value
|
|
129
|
+
# max -- interval maximum value
|
|
130
|
+
# interval_callback -- callback to be triggered each interval. any number of arguments can be passed via *args and **kwargs (interval_callback(*args, **kwargs))
|
|
131
|
+
# """
|
|
132
|
+
# self.__current_sub_box = self.__create_boxsizer(wx.HORIZONTAL, 0)
|
|
133
|
+
# self.__insert_label("Interval (s)", 0)
|
|
134
|
+
# spin_obj = self.__insert_spin_control(default, min, max, 1)
|
|
135
|
+
|
|
136
|
+
# timer = UserPanelTimer(UserPanelValue(spin_obj), interval_callback, *args, **kwargs)
|
|
137
|
+
# self.__timers.append(timer)
|
|
138
|
+
# self.__insert_button("Start", lambda *args: timer.restart(), 0)
|
|
139
|
+
# self.__insert_button("Stop", lambda *args: timer.stop(), 0)
|
|
140
140
|
|
|
141
141
|
"""
|
|
142
142
|
private methods
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: happyscript
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.34
|
|
4
4
|
Summary: Framework for running scripts
|
|
5
5
|
Requires-Python: >=3.5
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Requires-Dist: wxpython
|
|
8
|
+
Requires-Dist: numpy
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
More info coming soon...
|
|
@@ -38,6 +38,7 @@ happyscript/panels/panel_messages.py
|
|
|
38
38
|
happyscript/panels/panel_scripts2.py
|
|
39
39
|
happyscript/panels/panel_tests.py
|
|
40
40
|
happyscript/panels/panelsbase.py
|
|
41
|
+
happyscript/splashmenu/exit.png
|
|
41
42
|
happyscript/splashmenu/forms.py
|
|
42
43
|
happyscript/splashmenu/splashmenuform.py
|
|
43
44
|
happyscript/splashmenu/splashmenumain.py
|
|
@@ -17,14 +17,17 @@ build-backend = "setuptools.build_meta"
|
|
|
17
17
|
[project]
|
|
18
18
|
name = "happyscript"
|
|
19
19
|
description = "Framework for running scripts"
|
|
20
|
-
version = "0.0.
|
|
20
|
+
version = "0.0.34"
|
|
21
21
|
readme = "README.md"
|
|
22
22
|
requires-python = ">=3.5"
|
|
23
|
-
dependencies = [ "wxpython" ]
|
|
23
|
+
dependencies = [ "wxpython", "numpy" ]
|
|
24
24
|
|
|
25
|
-
[tool.setuptools]
|
|
26
|
-
include-package-data =
|
|
25
|
+
#[tool.setuptools]
|
|
26
|
+
#include-package-data = true
|
|
27
27
|
|
|
28
28
|
[tool.setuptools.packages.find]
|
|
29
29
|
include = ["happyscript*"]
|
|
30
30
|
exclude = ["artwork*","demo*","examples*"]
|
|
31
|
+
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.png"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|