scratch-syntax 0.6.0__tar.gz → 0.6.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.
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/PKG-INFO +6 -4
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/README.md +5 -3
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/pyproject.toml +1 -1
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax/core.py +3 -4
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax.egg-info/PKG-INFO +6 -4
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/LICENSE +0 -0
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/setup.cfg +0 -0
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax/__init__.py +0 -0
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax.egg-info/SOURCES.txt +0 -0
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax.egg-info/dependency_links.txt +0 -0
- {scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scratch_syntax
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: A syntax library designed to help scratch users transition to python
|
|
5
5
|
Author-email: Cade <cadey.matignas@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/cadeymatignas-source/scratch_syntax
|
|
@@ -16,7 +16,7 @@ Dynamic: license-file
|
|
|
16
16
|
|
|
17
17
|
## This is a custom Python library designed make python syntax more like scratch.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
# Installation
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
|
|
@@ -55,15 +55,17 @@ pip install --upgrade scratch_syntax
|
|
|
55
55
|
|
|
56
56
|
## Update 0.6.0. ReRun's UPDATE!!!
|
|
57
57
|
* The return of classic repeats... in a different way!!!
|
|
58
|
-
* Added new
|
|
58
|
+
* Added new repeat_until() function!!!
|
|
59
59
|
* Now needs the lambda function. etc:
|
|
60
60
|
```bash
|
|
61
61
|
|
|
62
62
|
repeat(lambda: say("hello!"), 5)
|
|
63
|
+
forever(lambda: say("hiya!"))
|
|
64
|
+
repeat_until(lambda: say("do you like this?"), condition())
|
|
63
65
|
|
|
64
66
|
```
|
|
65
67
|
|
|
66
|
-
|
|
68
|
+
Also btw don't forget to put from scratch_syntax import * so the functions run correctly as is
|
|
67
69
|
|
|
68
70
|
# All Functions
|
|
69
71
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## This is a custom Python library designed make python syntax more like scratch.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
|
|
@@ -41,15 +41,17 @@ pip install --upgrade scratch_syntax
|
|
|
41
41
|
|
|
42
42
|
## Update 0.6.0. ReRun's UPDATE!!!
|
|
43
43
|
* The return of classic repeats... in a different way!!!
|
|
44
|
-
* Added new
|
|
44
|
+
* Added new repeat_until() function!!!
|
|
45
45
|
* Now needs the lambda function. etc:
|
|
46
46
|
```bash
|
|
47
47
|
|
|
48
48
|
repeat(lambda: say("hello!"), 5)
|
|
49
|
+
forever(lambda: say("hiya!"))
|
|
50
|
+
repeat_until(lambda: say("do you like this?"), condition())
|
|
49
51
|
|
|
50
52
|
```
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
Also btw don't forget to put from scratch_syntax import * so the functions run correctly as is
|
|
53
55
|
|
|
54
56
|
# All Functions
|
|
55
57
|
|
|
@@ -74,8 +74,7 @@ def forever(actiono):
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
def repeat_until(actionon, condition):
|
|
77
|
-
while
|
|
77
|
+
while True:
|
|
78
78
|
actionon()
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
# For anyone reading the code, I skipped the forever and repeat functions not because I wanted to but because it doesnt work: Cade
|
|
79
|
+
if condition():
|
|
80
|
+
break
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scratch_syntax
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: A syntax library designed to help scratch users transition to python
|
|
5
5
|
Author-email: Cade <cadey.matignas@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/cadeymatignas-source/scratch_syntax
|
|
@@ -16,7 +16,7 @@ Dynamic: license-file
|
|
|
16
16
|
|
|
17
17
|
## This is a custom Python library designed make python syntax more like scratch.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
# Installation
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
|
|
@@ -55,15 +55,17 @@ pip install --upgrade scratch_syntax
|
|
|
55
55
|
|
|
56
56
|
## Update 0.6.0. ReRun's UPDATE!!!
|
|
57
57
|
* The return of classic repeats... in a different way!!!
|
|
58
|
-
* Added new
|
|
58
|
+
* Added new repeat_until() function!!!
|
|
59
59
|
* Now needs the lambda function. etc:
|
|
60
60
|
```bash
|
|
61
61
|
|
|
62
62
|
repeat(lambda: say("hello!"), 5)
|
|
63
|
+
forever(lambda: say("hiya!"))
|
|
64
|
+
repeat_until(lambda: say("do you like this?"), condition())
|
|
63
65
|
|
|
64
66
|
```
|
|
65
67
|
|
|
66
|
-
|
|
68
|
+
Also btw don't forget to put from scratch_syntax import * so the functions run correctly as is
|
|
67
69
|
|
|
68
70
|
# All Functions
|
|
69
71
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scratch_syntax-0.6.0 → scratch_syntax-0.6.1}/src/scratch_syntax.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|