scratch-syntax 0.4.0__tar.gz → 0.5.0__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.4.0 → scratch_syntax-0.5.0}/PKG-INFO +4 -3
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/README.md +3 -2
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/pyproject.toml +1 -1
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/scratch_syntax/core.py +8 -0
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/scratch_syntax.egg-info/PKG-INFO +4 -3
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/LICENSE +0 -0
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/scratch_syntax/__init__.py +0 -0
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/scratch_syntax.egg-info/SOURCES.txt +0 -0
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/scratch_syntax.egg-info/dependency_links.txt +0 -0
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/scratch_syntax.egg-info/top_level.txt +0 -0
- {scratch_syntax-0.4.0 → scratch_syntax-0.5.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scratch_syntax
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
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
|
|
@@ -50,10 +50,11 @@ pip install --upgrade scratch_syntax
|
|
|
50
50
|
|
|
51
51
|
I also added Github Respitory
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
# Update 0.5.0
|
|
54
|
+
* Added new wait_until() function
|
|
54
55
|
|
|
55
56
|
# All Functions
|
|
56
57
|
|
|
57
58
|
```bash
|
|
58
|
-
say(), ask(), wait(), pick_random_number_from(), stop_all(), add_to_list(), insert_in_list(), delete_from_list(), delete_all_from_list(), replace_from_list(), answer(), say_for_seconds()
|
|
59
|
+
say(), ask(), wait(), pick_random_number_from(), stop_all(), add_to_list(), insert_in_list(), delete_from_list(), delete_all_from_list(), replace_from_list(), answer(), say_for_seconds(), wait_until()
|
|
59
60
|
```
|
|
@@ -36,10 +36,11 @@ pip install --upgrade scratch_syntax
|
|
|
36
36
|
|
|
37
37
|
I also added Github Respitory
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
# Update 0.5.0
|
|
40
|
+
* Added new wait_until() function
|
|
40
41
|
|
|
41
42
|
# All Functions
|
|
42
43
|
|
|
43
44
|
```bash
|
|
44
|
-
say(), ask(), wait(), pick_random_number_from(), stop_all(), add_to_list(), insert_in_list(), delete_from_list(), delete_all_from_list(), replace_from_list(), answer(), say_for_seconds()
|
|
45
|
+
say(), ask(), wait(), pick_random_number_from(), stop_all(), add_to_list(), insert_in_list(), delete_from_list(), delete_all_from_list(), replace_from_list(), answer(), say_for_seconds(), wait_until()
|
|
45
46
|
```
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import sys
|
|
2
|
+
|
|
3
|
+
__lazy_modules__ = ["random", "time"]
|
|
4
|
+
|
|
2
5
|
from random import randint
|
|
3
6
|
from time import sleep
|
|
4
7
|
|
|
@@ -55,4 +58,9 @@ def replace_in_list(listname, index, item):
|
|
|
55
58
|
listname[index] = item
|
|
56
59
|
|
|
57
60
|
|
|
61
|
+
def wait_until(varibab, condit):
|
|
62
|
+
while varibab != condit:
|
|
63
|
+
sleep(1)
|
|
64
|
+
|
|
65
|
+
|
|
58
66
|
# For anyone reading the code, I skipped the forever and repeat functions not because I wanted to but because it doesnt work: Cade
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scratch_syntax
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
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
|
|
@@ -50,10 +50,11 @@ pip install --upgrade scratch_syntax
|
|
|
50
50
|
|
|
51
51
|
I also added Github Respitory
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
# Update 0.5.0
|
|
54
|
+
* Added new wait_until() function
|
|
54
55
|
|
|
55
56
|
# All Functions
|
|
56
57
|
|
|
57
58
|
```bash
|
|
58
|
-
say(), ask(), wait(), pick_random_number_from(), stop_all(), add_to_list(), insert_in_list(), delete_from_list(), delete_all_from_list(), replace_from_list(), answer(), say_for_seconds()
|
|
59
|
+
say(), ask(), wait(), pick_random_number_from(), stop_all(), add_to_list(), insert_in_list(), delete_from_list(), delete_all_from_list(), replace_from_list(), answer(), say_for_seconds(), wait_until()
|
|
59
60
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|