easycoder 250622.2__tar.gz → 250706.1__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.
Potentially problematic release.
This version of easycoder might be problematic. Click here for more details.
- {easycoder-250622.2 → easycoder-250706.1}/PKG-INFO +3 -2
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/__init__.py +1 -1
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_core.py +17 -4
- {easycoder-250622.2 → easycoder-250706.1}/.gitignore +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/LICENSE +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/README.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/backdrop.jpg +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/README.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/README.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/boolean.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/empty.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/ends.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/even.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/exists.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/greater.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/hasProperty.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/includes.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/is.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/less.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/list.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/none.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/not.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/numeric.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/object.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/odd.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/starts.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/conditions/string.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/add.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/append.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/assert.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/begin.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/clear.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/close.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/create.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/debug.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/decrement.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/delete.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/divide.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/exit.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/file.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/fork.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/get.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/go.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/gosub.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/if.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/import.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/increment.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/index.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/init.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/input.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/load.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/lock.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/log.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/module.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/multiply.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/negate.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/on.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/open.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/pop.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/post.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/print.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/push.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/put.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/read.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/release.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/replace.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/return.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/run.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/save.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/script.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/send.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/set.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/shuffle.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/split.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/stack.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/stop.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/system.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/take.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/toggle.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/truncate.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/unlock.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/use.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/variable.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/wait.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/while.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/keywords/write.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/arg.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/args.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/cos.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/datime.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/decode.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/element.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/elements.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/empty.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/encode.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/error.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/files.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/float.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/from.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/hash.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/index.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/integer.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/json.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/keys.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/left.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/length.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/lowercase.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/memory.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/modification.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/modulo.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/newline.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/now.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/position.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/property.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/random.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/right.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/sin.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/stringify.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/tab.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/tan.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/timestamp.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/today.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/trim.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/type.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/uppercase.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/value.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/core/values/weekday.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/README.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/attach.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/close.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/create.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/ellipse.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/image.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/move.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/on.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/rectangle.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/render.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/run.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/set.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/keywords/text.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/values/attribute.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/doc/graphics/values/window.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/README.md +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_classes.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_compiler.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_condition.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_handler.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_program.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_pyside.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_timestamp.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/easycoder/ec_value.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/images/Semoigo Dawn.jpg +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/json/graphics-demo.json +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/plugins/ec_keyboard.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/plugins/ec_p100.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/plugins/ec_pyside6.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/plugins/points.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/pyproject.toml +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/benchmark.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/config.ecg +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/ec_keyboard.py +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/findxr.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/fizzbuzz.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/hello.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/points.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/test.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/scripts/tests.ecs +0 -0
- {easycoder-250622.2 → easycoder-250706.1}/testrc.py +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version:
|
|
3
|
+
Version: 250706.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
|
|
9
10
|
Requires-Dist: pytz
|
|
10
11
|
Requires-Dist: requests
|
|
11
12
|
Requires-Dist: psutil
|
|
@@ -1546,6 +1546,7 @@ class Core(Handler):
|
|
|
1546
1546
|
user = self.getRuntimeValue(command['user'])
|
|
1547
1547
|
password = self.getRuntimeValue(command['password'])
|
|
1548
1548
|
ssh = paramiko.SSHClient()
|
|
1549
|
+
target['ssh'] = ssh
|
|
1549
1550
|
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
|
1550
1551
|
ssh.connect(host, username=user, password=password)
|
|
1551
1552
|
target['sftp'] = ssh.open_sftp()
|
|
@@ -1940,10 +1941,14 @@ class Core(Handler):
|
|
|
1940
1941
|
if keyword == 'module':
|
|
1941
1942
|
value['type'] = 'module'
|
|
1942
1943
|
return value
|
|
1944
|
+
|
|
1945
|
+
if keyword == 'ssh':
|
|
1946
|
+
pass
|
|
1943
1947
|
|
|
1944
|
-
if keyword
|
|
1948
|
+
if keyword in ['ssh', 'variable']:
|
|
1945
1949
|
value['type'] = 'symbol'
|
|
1946
1950
|
return value
|
|
1951
|
+
|
|
1947
1952
|
return None
|
|
1948
1953
|
|
|
1949
1954
|
value['type'] = token
|
|
@@ -2535,9 +2540,17 @@ class Core(Handler):
|
|
|
2535
2540
|
return value
|
|
2536
2541
|
|
|
2537
2542
|
# This is used by the expression evaluator to get the value of a symbol
|
|
2538
|
-
def v_symbol(self,
|
|
2539
|
-
|
|
2543
|
+
def v_symbol(self, value):
|
|
2544
|
+
name = value['name']
|
|
2545
|
+
symbolRecord = self.program.getSymbolRecord(name)
|
|
2546
|
+
keyword = symbolRecord['keyword']
|
|
2547
|
+
if keyword == 'variable':
|
|
2540
2548
|
return self.getSymbolValue(symbolRecord)
|
|
2549
|
+
elif keyword == 'ssh':
|
|
2550
|
+
v = {}
|
|
2551
|
+
v['type'] = 'boolean'
|
|
2552
|
+
v['content'] = True if 'ssh' in symbolRecord else False
|
|
2553
|
+
return v
|
|
2541
2554
|
else:
|
|
2542
2555
|
return None
|
|
2543
2556
|
|
|
@@ -2720,7 +2733,7 @@ class Core(Handler):
|
|
|
2720
2733
|
condition.type = 'is'
|
|
2721
2734
|
condition.value2 = self.getValue()
|
|
2722
2735
|
return condition
|
|
2723
|
-
|
|
2736
|
+
|
|
2724
2737
|
if condition.value1:
|
|
2725
2738
|
# It's a boolean if
|
|
2726
2739
|
condition.type = 'boolean'
|
|
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
|
|
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
|
|
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
|
|
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
|