easycoder 1__py2.py3-none-any.whl → 3__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__ = "1"
12
+ __version__ = "3"
easycoder/ec_program.py CHANGED
@@ -22,7 +22,7 @@ class Program:
22
22
  else:
23
23
  sys.path.append(args[0][0:idx])
24
24
  module=args[0][idx+1:]
25
- module = importlib.import_module(module)
25
+ module = importlib.import_module(module.replace('/','.').replace('.py',''))
26
26
  myClass = getattr(module, args[1])
27
27
  domains.append(myClass)
28
28
  else:
@@ -300,3 +300,9 @@ class Program:
300
300
  if v1 < v2:
301
301
  return -1
302
302
  return 0
303
+
304
+ def Main():
305
+ if (len(sys.argv) > 1):
306
+ Program(sys.argv[1:])
307
+ else:
308
+ print('Syntax: easycoder <scriptname> [plugins]')
@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: easycoder
3
- Version: 1
3
+ Version: 3
4
4
  Summary: EasyCoder for Python
5
5
  Author-email: Graham Trott <gtanyware@gmail.com>
6
6
  Description-Content-Type: text/markdown
7
7
  Classifier: License :: OSI Approved :: MIT License
8
+ Requires-Dist: pytz
8
9
  Project-URL: Home, https://github.com/easycoder
9
10
 
10
11
  # Introduction
@@ -15,7 +16,7 @@ The JavaScript version of EasyCoder, which provides a full set of graphical feat
15
16
  ## Quick Start
16
17
  1: Install EasyCoder in your Python environment:
17
18
  ```
18
- pip install easycoder@git+https://github.com/easycoder/easycoder.git
19
+ pip install easycoder
19
20
  ```
20
21
  2: Write a test script, 'hello.ecs':
21
22
  ```
@@ -1,13 +1,14 @@
1
- easycoder/__init__.py,sha256=mpv1kWMMPFilGEN7AjxNVnmbGJlZD7LhaUfTGWOem3I,255
1
+ easycoder/__init__.py,sha256=8udLj9oFMSl2tmdLQwmJFY_iv3L6D5sRpq7z45ZUmKI,255
2
2
  easycoder/ec_classes.py,sha256=onBKF6Lj8BZKNuJKacx4HyhOrVLXsoHdzl6RnMf77uM,1413
3
3
  easycoder/ec_compiler.py,sha256=ByWwWA4GTzDX1kljgNbBwzfvvUuR34FRQSEpRVtRo5s,4670
4
4
  easycoder/ec_condition.py,sha256=s7xKM3ZeOOiSgZv16RnWznAikHZaJRp1UHwrliebpUE,748
5
5
  easycoder/ec_core.py,sha256=_PnwCJcxa7vD5MouuM9COTAC9RnGvzSZ9022Tlqzh5M,74591
6
6
  easycoder/ec_handler.py,sha256=WDDIz0awD3vSQZ149rgbUWsClt6zXqED8ByXQJ5p1Ds,2200
7
- easycoder/ec_program.py,sha256=oO6jLtlRbw_YiA1MZ3Gkgj2hgVrLIdShLOOC972mjs8,7378
7
+ easycoder/ec_program.py,sha256=a6Zib880NyeihwlnETvtMb8tzfGpn8bHjIlP-y3eHd0,7534
8
8
  easycoder/ec_timestamp.py,sha256=_3QFJPzIWZ9Rzk3SQOQJ-gwmvB07pg78k23SPntoZtY,288
9
9
  easycoder/ec_value.py,sha256=GnHkWSfcB2InGeLj4T8x_H8U9bvbkj9lF4klEUylt38,2371
10
- easycoder-1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
11
- easycoder-1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
12
- easycoder-1.dist-info/METADATA,sha256=wK6yIGPIiCgoTgihRuZ_6BhLJziY2B2a6U--j51KSVo,2991
13
- easycoder-1.dist-info/RECORD,,
10
+ easycoder-3.dist-info/entry_points.txt,sha256=JXAZbenl0TnsIft2FcGJbJ-4qoztVu2FuT8PFmWFexM,44
11
+ easycoder-3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
+ easycoder-3.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
13
+ easycoder-3.dist-info/METADATA,sha256=eGiii219RrVU-ZO5W8zOjP6QoFN9JmcIs2T2R87JCOI,2964
14
+ easycoder-3.dist-info/RECORD,,
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ easycoder=easycoder:Main
3
+
File without changes
File without changes