easycoder 1__tar.gz → 3__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-1 → easycoder-3}/PKG-INFO +3 -2
- {easycoder-1 → easycoder-3}/README.md +1 -1
- {easycoder-1 → easycoder-3}/easycoder/__init__.py +1 -1
- {easycoder-1 → easycoder-3}/easycoder/ec_program.py +7 -1
- {easycoder-1 → easycoder-3}/pyproject.toml +6 -0
- {easycoder-1 → easycoder-3}/tests/tests.ecs +3 -1
- {easycoder-1 → easycoder-3}/LICENSE +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_classes.py +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_compiler.py +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_condition.py +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_core.py +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_handler.py +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_timestamp.py +0 -0
- {easycoder-1 → easycoder-3}/easycoder/ec_value.py +0 -0
- {easycoder-1 → easycoder-3}/plugins/ec_p100.py +0 -0
- {easycoder-1 → easycoder-3}/tests/benchmark.ecs +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version:
|
|
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
|
|
19
|
+
pip install easycoder
|
|
19
20
|
```
|
|
20
21
|
2: Write a test script, 'hello.ecs':
|
|
21
22
|
```
|
|
@@ -6,7 +6,7 @@ The JavaScript version of EasyCoder, which provides a full set of graphical feat
|
|
|
6
6
|
## Quick Start
|
|
7
7
|
1: Install EasyCoder in your Python environment:
|
|
8
8
|
```
|
|
9
|
-
pip install easycoder
|
|
9
|
+
pip install easycoder
|
|
10
10
|
```
|
|
11
11
|
2: Write a test script, 'hello.ecs':
|
|
12
12
|
```
|
|
@@ -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]')
|
|
@@ -9,6 +9,12 @@ readme = "README.md"
|
|
|
9
9
|
license = {file = "LICENSE"}
|
|
10
10
|
classifiers = ["License :: OSI Approved :: MIT License"]
|
|
11
11
|
dynamic = ["version", "description"]
|
|
12
|
+
dependencies = [
|
|
13
|
+
"pytz"
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[project.scripts]
|
|
17
|
+
easycoder = "easycoder:Main"
|
|
12
18
|
|
|
13
19
|
[project.urls]
|
|
14
20
|
Home = "https://github.com/easycoder"
|
|
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
|