easycoder 250209.1__py2.py3-none-any.whl → 250210.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__ = "250209.1"
12
+ __version__ = "250210.1"
easycoder/ec_core.py CHANGED
@@ -1999,6 +1999,10 @@ class Core(Handler):
1999
1999
  base64_bytes = content.encode('ascii')
2000
2000
  message_bytes = base64.b64decode(base64_bytes)
2001
2001
  value['content'] = message_bytes.decode('ascii')
2002
+ elif self.encoding == 'hex':
2003
+ hex_bytes = content.encode('utf-8')
2004
+ message_bytes = binascii.unhexlify(hex_bytes)
2005
+ value['content'] = message_bytes.decode('utf-8')
2002
2006
  else:
2003
2007
  value = v
2004
2008
  return value
@@ -2042,6 +2046,10 @@ class Core(Handler):
2042
2046
  data_bytes = content.encode('ascii')
2043
2047
  base64_bytes = base64.b64encode(data_bytes)
2044
2048
  value['content'] = base64_bytes.decode('ascii')
2049
+ elif self.encoding == 'hex':
2050
+ data_bytes = content.encode('utf-8')
2051
+ hex_bytes = binascii.hexlify(data_bytes)
2052
+ value['content'] = hex_bytes.decode('utf-8')
2045
2053
  else:
2046
2054
  value = v
2047
2055
  return value
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: easycoder
3
- Version: 250209.1
3
+ Version: 250210.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>
@@ -1,17 +1,17 @@
1
1
  easycoder/README.md,sha256=BVXmYphcTJ6q6RN_9L6HtQukgCnOjSLVIsTM3lk-9aM,587
2
- easycoder/__init__.py,sha256=ThnKzPLXjQ6pK6rxAGX10BuDnVxM5LyWwr38WrzSGmw,262
2
+ easycoder/__init__.py,sha256=YspQLjTQ3whwCu_q14qOpSkxVrmHY4zhYFoKZLeiJ-Q,262
3
3
  easycoder/ec_classes.py,sha256=xnWBNak8oKydkFoxHLlq9wo3lIsB3aMnTDrqbtCfoWo,1512
4
4
  easycoder/ec_compiler.py,sha256=dFJEA_uOhD-HeSiAdBzmmA6q3LHThUVoJpSETanmSHs,4800
5
5
  easycoder/ec_condition.py,sha256=WSbONo4zs2sX1icOVpscZDFSCAEFmTsquoc2RGcLx_k,763
6
- easycoder/ec_core.py,sha256=qx-4xxzqmpiv_Mny3PUCLHo9Dog1FVjL5RxRbQXrzAQ,87359
6
+ easycoder/ec_core.py,sha256=ESs-at9iRXSMIhYh3C5NGPoB45ytciSa-HcsPTtkZJM,87759
7
7
  easycoder/ec_graphics.py,sha256=K44SbPb81KBGCe4wpl6VR4lt93AAGOZysFO2tkUuilY,13380
8
8
  easycoder/ec_gutils.py,sha256=BHDsRgXR5XTO2nYhdBbC4OQW-9xU0czyFyee0tZ595E,6096
9
9
  easycoder/ec_handler.py,sha256=IJvxcrJJSR53d6DS_8H5qPHKhp9y5-GV4WXAjhZxu_o,2250
10
10
  easycoder/ec_program.py,sha256=R8zMukA-pfRsOpcy9WqTw7fE_190dQfrMt2la23Yrs4,9904
11
11
  easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
12
12
  easycoder/ec_value.py,sha256=zgDJTJhIg3yOvmnnKIfccIizmIhGbtvL_ghLTL1T5fg,2516
13
- easycoder-250209.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
14
- easycoder-250209.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- easycoder-250209.1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
16
- easycoder-250209.1.dist-info/METADATA,sha256=lkwTOwGfCo-S5bcD8OJOJkUt66UrVXlzYYvBklfgzVU,6162
17
- easycoder-250209.1.dist-info/RECORD,,
13
+ easycoder-250210.1.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
14
+ easycoder-250210.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ easycoder-250210.1.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
16
+ easycoder-250210.1.dist-info/METADATA,sha256=53M2wkLlEc1e2t4HKzG3jYSafGYHetGMBY4aJEkFDEw,6162
17
+ easycoder-250210.1.dist-info/RECORD,,