easycoder 250706.1__py2.py3-none-any.whl → 250714.1__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of easycoder might be problematic. Click here for more details.

easycoder/__init__.py CHANGED
@@ -9,4 +9,4 @@ from .ec_program import *
9
9
  from .ec_timestamp import *
10
10
  from .ec_value import *
11
11
 
12
- __version__ = "250706.1"
12
+ __version__ = "250714.1"
easycoder/ec_core.py CHANGED
@@ -1941,9 +1941,6 @@ class Core(Handler):
1941
1941
  if keyword == 'module':
1942
1942
  value['type'] = 'module'
1943
1943
  return value
1944
-
1945
- if keyword == 'ssh':
1946
- pass
1947
1944
 
1948
1945
  if keyword in ['ssh', 'variable']:
1949
1946
  value['type'] = 'symbol'
easycoder/ec_pyside.py CHANGED
@@ -326,10 +326,9 @@ class Graphics(Handler):
326
326
  if self.peek() == 'title':
327
327
  self.nextToken()
328
328
  title = self.nextValue()
329
- elif self.peek() == 'layout':
329
+ elif self.peek() == 'type':
330
330
  self.nextToken()
331
- if self.nextIsSymbol():
332
- command['layout'] = self.getSymbolRecord()['name']
331
+ command['type'] = self.nextToken()
333
332
  else: break
334
333
  command['title'] = title
335
334
  self.add(command)
@@ -462,14 +461,18 @@ class Graphics(Handler):
462
461
  return self.nextPC()
463
462
 
464
463
  def r_createDialog(self, command, record):
465
- layout = self.getVariable(command['layout'])['widget']
466
464
  dialog = QDialog()
465
+ mainLayout = QVBoxLayout(dialog)
467
466
  dialog.setWindowTitle(self.getRuntimeValue(command['title']))
467
+ dialogType = command['type']
468
+ if dialogType in ['lineinput']:
469
+ if dialogType == 'lineinput':
470
+ input = QLineEdit()
471
+ mainLayout.addWidget(input)
468
472
  dialog.buttonBox = QDialogButtonBox((QDialogButtonBox.Ok | QDialogButtonBox.Cancel))
469
473
  dialog.buttonBox.accepted.connect(dialog.accept)
470
474
  dialog.buttonBox.rejected.connect(dialog.reject)
471
- layout.addWidget(dialog.buttonBox)
472
- dialog.setLayout(layout)
475
+ mainLayout.addWidget(dialog.buttonBox, alignment=Qt.AlignHCenter)
473
476
  record['dialog'] = dialog
474
477
  return self.nextPC()
475
478
 
@@ -948,7 +951,8 @@ class Graphics(Handler):
948
951
  window.show()
949
952
  elif 'dialog' in command:
950
953
  dialog = self.getVariable(command['dialog'])['dialog']
951
- dialog.exec()
954
+ result = dialog.exec()
955
+ # TODO: Finish the dialog box for getting the request relay name
952
956
  return self.nextPC()
953
957
 
954
958
  # Start the graphics
@@ -1,12 +1,11 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.3
2
2
  Name: easycoder
3
- Version: 250706.1
3
+ Version: 250714.1
4
4
  Summary: Rapid scripting in English
5
5
  Keywords: compiler,scripting,prototyping,programming,coding,python,low code,hypertalk,computer language,learn to code
6
6
  Author-email: Graham Trott <gtanyware@gmail.com>
7
7
  Description-Content-Type: text/markdown
8
8
  Classifier: License :: OSI Approved :: MIT License
9
- License-File: LICENSE
10
9
  Requires-Dist: pytz
11
10
  Requires-Dist: requests
12
11
  Requires-Dist: psutil
@@ -1,16 +1,16 @@
1
1
  easycoder/README.md,sha256=BVXmYphcTJ6q6RN_9L6HtQukgCnOjSLVIsTM3lk-9aM,587
2
- easycoder/__init__.py,sha256=Zq-XYXsV_437d00UR-7ZjY1YyVGTP76aq7miy9ih5NQ,262
2
+ easycoder/__init__.py,sha256=YXMrF9XJdrVE65FsvptHPpqon4WNYMFRLcCzGO89FQM,262
3
3
  easycoder/ec_classes.py,sha256=PWPaJuTfaWD4-tgT-2WWOgeFV_jXxlxyKCxvXyylCUU,1824
4
4
  easycoder/ec_compiler.py,sha256=9byLqJZgMHAyFFyD8eGhY77oTsY1GY1aVcVrU4JAbd4,5287
5
5
  easycoder/ec_condition.py,sha256=YXvSBQKEzKGCcgUGo3Qp8iHolXmm2BpEm0NimSDszIM,785
6
- easycoder/ec_core.py,sha256=VF0ON4HSFgsJdkk5m7qi_dzBVT8R4XoyyXIb5kkkhio,99624
6
+ easycoder/ec_core.py,sha256=UHqQtG9LGVP8mfWY3OIr_jdphPB8R9kExiG7ycNYeTk,99557
7
7
  easycoder/ec_handler.py,sha256=ohf3xUuWw_Qb5SZnulGtDhvCb11kvWtYfgbQTiOXpIY,2261
8
8
  easycoder/ec_program.py,sha256=IDpfq9oghFJMJyRD9uab31VOP5MOF4M7kcUVfDn7d4I,9992
9
- easycoder/ec_pyside.py,sha256=-EHV8TBIw5jwlufzYcy8mcPXmfYC82Pf7Ep4_cvbceM,40240
9
+ easycoder/ec_pyside.py,sha256=kmMJgRbpIwC7sQlvaAXhl_NpFGCKwjkUACkfbE0XM7k,40440
10
10
  easycoder/ec_timestamp.py,sha256=myQnnF-mT31_1dpQKv2VEAu4BCcbypvMdzq7_DUi1xc,277
11
11
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
12
- easycoder-250706.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
13
- easycoder-250706.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
14
- easycoder-250706.1.dist-info/WHEEL,sha256=Dyt6SBfaasWElUrURkknVFAZDHSTwxg3PaTza7RSbkY,100
15
- easycoder-250706.1.dist-info/METADATA,sha256=tBTOgrA0Je5whSBvMo0B8ZsyzlZqeMBeJi3Kgd1kriA,6897
16
- easycoder-250706.1.dist-info/RECORD,,
12
+ easycoder-250714.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
13
+ easycoder-250714.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
14
+ easycoder-250714.1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
15
+ easycoder-250714.1.dist-info/METADATA,sha256=mny4_cyzq7IRs9KXImnQ-EnfAVi8a4bNu9x_CwdEYiA,6875
16
+ easycoder-250714.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.12.0
2
+ Generator: flit 3.10.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any