scratch-syntax 0.8.0__tar.gz → 0.9.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.8.0/src/scratch_syntax.egg-info → scratch_syntax-0.9.0}/PKG-INFO +16 -6
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/README.md +15 -4
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/pyproject.toml +2 -4
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax/core.py +4 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0/src/scratch_syntax.egg-info}/PKG-INFO +16 -6
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/LICENSE +0 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/setup.cfg +0 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax/__init__.py +0 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax.egg-info/SOURCES.txt +0 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax.egg-info/dependency_links.txt +0 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax.egg-info/requires.txt +0 -0
- {scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax.egg-info/top_level.txt +0 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scratch_syntax
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.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
|
-
Project-URL: Homepage, https://github.com/cadeymatignas-source/scratch_syntax
|
|
7
6
|
Classifier: Programming Language :: Python :: 3
|
|
8
7
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
8
|
Classifier: Operating System :: OS Independent
|
|
@@ -43,7 +42,7 @@ pip install --upgrade scratch_syntax
|
|
|
43
42
|
|
|
44
43
|
- Added new say_for_seconds() function
|
|
45
44
|
|
|
46
|
-
- I also added Github
|
|
45
|
+
- I also added Github Repository
|
|
47
46
|
|
|
48
47
|
## Update 0.5.0
|
|
49
48
|
|
|
@@ -77,16 +76,26 @@ Also btw don't forget to put from `scratch_syntax import *`so the functions run
|
|
|
77
76
|
|
|
78
77
|
## UPDATE 0.7.4: minor fixes
|
|
79
78
|
|
|
80
|
-
- Fixed the `wait_unti()`
|
|
79
|
+
- Fixed the `wait_unti()` a bitl
|
|
81
80
|
|
|
82
81
|
## Update 0.8.0: New function
|
|
83
82
|
|
|
84
|
-
- I added the `
|
|
83
|
+
- I added the `when_key_pressed_any()` function
|
|
84
|
+
- I fixed the `wait_until()` function a bit
|
|
85
|
+
|
|
86
|
+
## Update 0.8.1: Minor fix
|
|
87
|
+
|
|
88
|
+
- I just fixed the changelog... thats it.
|
|
89
|
+
|
|
90
|
+
## Update 0.9.0
|
|
91
|
+
|
|
92
|
+
- I added the `length_of()` function;
|
|
93
|
+
- I removed the github repo.
|
|
85
94
|
|
|
86
95
|
## All Functions
|
|
87
96
|
|
|
88
97
|
```bash
|
|
89
|
-
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(), repeat(), forever(), repeat_until(), when_key_pressed(),
|
|
98
|
+
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(), repeat(), forever(), repeat_until(), when_key_pressed(), when_key_pressed_any(), length_of()
|
|
90
99
|
```
|
|
91
100
|
|
|
92
101
|
Also heres an example code
|
|
@@ -109,6 +118,7 @@ say("done!")
|
|
|
109
118
|
say("now it is time for us to part!")
|
|
110
119
|
repeat_until(lambda: ask("would you like to leave?"), lambda: answer() == "yes")
|
|
111
120
|
wait(1)
|
|
121
|
+
print(length_of("apple"))
|
|
112
122
|
say("press any key to exit")
|
|
113
123
|
if when_key_pressed_any():
|
|
114
124
|
stop_all()
|
|
@@ -28,7 +28,7 @@ pip install --upgrade scratch_syntax
|
|
|
28
28
|
|
|
29
29
|
- Added new say_for_seconds() function
|
|
30
30
|
|
|
31
|
-
- I also added Github
|
|
31
|
+
- I also added Github Repository
|
|
32
32
|
|
|
33
33
|
## Update 0.5.0
|
|
34
34
|
|
|
@@ -62,16 +62,26 @@ Also btw don't forget to put from `scratch_syntax import *`so the functions run
|
|
|
62
62
|
|
|
63
63
|
## UPDATE 0.7.4: minor fixes
|
|
64
64
|
|
|
65
|
-
- Fixed the `wait_unti()`
|
|
65
|
+
- Fixed the `wait_unti()` a bitl
|
|
66
66
|
|
|
67
67
|
## Update 0.8.0: New function
|
|
68
68
|
|
|
69
|
-
- I added the `
|
|
69
|
+
- I added the `when_key_pressed_any()` function
|
|
70
|
+
- I fixed the `wait_until()` function a bit
|
|
71
|
+
|
|
72
|
+
## Update 0.8.1: Minor fix
|
|
73
|
+
|
|
74
|
+
- I just fixed the changelog... thats it.
|
|
75
|
+
|
|
76
|
+
## Update 0.9.0
|
|
77
|
+
|
|
78
|
+
- I added the `length_of()` function;
|
|
79
|
+
- I removed the github repo.
|
|
70
80
|
|
|
71
81
|
## All Functions
|
|
72
82
|
|
|
73
83
|
```bash
|
|
74
|
-
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(), repeat(), forever(), repeat_until(), when_key_pressed(),
|
|
84
|
+
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(), repeat(), forever(), repeat_until(), when_key_pressed(), when_key_pressed_any(), length_of()
|
|
75
85
|
```
|
|
76
86
|
|
|
77
87
|
Also heres an example code
|
|
@@ -94,6 +104,7 @@ say("done!")
|
|
|
94
104
|
say("now it is time for us to part!")
|
|
95
105
|
repeat_until(lambda: ask("would you like to leave?"), lambda: answer() == "yes")
|
|
96
106
|
wait(1)
|
|
107
|
+
print(length_of("apple"))
|
|
97
108
|
say("press any key to exit")
|
|
98
109
|
if when_key_pressed_any():
|
|
99
110
|
stop_all()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scratch_syntax"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.9.0"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Cade", email="cadey.matignas@gmail.com" },
|
|
10
10
|
]
|
|
@@ -19,6 +19,4 @@ classifiers = [
|
|
|
19
19
|
|
|
20
20
|
dependencies = [
|
|
21
21
|
"keyboard>=0.1.0",
|
|
22
|
-
]
|
|
23
|
-
[project.urls]
|
|
24
|
-
Homepage = "https://github.com/cadeymatignas-source/scratch_syntax"
|
|
22
|
+
]
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scratch_syntax
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.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
|
-
Project-URL: Homepage, https://github.com/cadeymatignas-source/scratch_syntax
|
|
7
6
|
Classifier: Programming Language :: Python :: 3
|
|
8
7
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
8
|
Classifier: Operating System :: OS Independent
|
|
@@ -43,7 +42,7 @@ pip install --upgrade scratch_syntax
|
|
|
43
42
|
|
|
44
43
|
- Added new say_for_seconds() function
|
|
45
44
|
|
|
46
|
-
- I also added Github
|
|
45
|
+
- I also added Github Repository
|
|
47
46
|
|
|
48
47
|
## Update 0.5.0
|
|
49
48
|
|
|
@@ -77,16 +76,26 @@ Also btw don't forget to put from `scratch_syntax import *`so the functions run
|
|
|
77
76
|
|
|
78
77
|
## UPDATE 0.7.4: minor fixes
|
|
79
78
|
|
|
80
|
-
- Fixed the `wait_unti()`
|
|
79
|
+
- Fixed the `wait_unti()` a bitl
|
|
81
80
|
|
|
82
81
|
## Update 0.8.0: New function
|
|
83
82
|
|
|
84
|
-
- I added the `
|
|
83
|
+
- I added the `when_key_pressed_any()` function
|
|
84
|
+
- I fixed the `wait_until()` function a bit
|
|
85
|
+
|
|
86
|
+
## Update 0.8.1: Minor fix
|
|
87
|
+
|
|
88
|
+
- I just fixed the changelog... thats it.
|
|
89
|
+
|
|
90
|
+
## Update 0.9.0
|
|
91
|
+
|
|
92
|
+
- I added the `length_of()` function;
|
|
93
|
+
- I removed the github repo.
|
|
85
94
|
|
|
86
95
|
## All Functions
|
|
87
96
|
|
|
88
97
|
```bash
|
|
89
|
-
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(), repeat(), forever(), repeat_until(), when_key_pressed(),
|
|
98
|
+
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(), repeat(), forever(), repeat_until(), when_key_pressed(), when_key_pressed_any(), length_of()
|
|
90
99
|
```
|
|
91
100
|
|
|
92
101
|
Also heres an example code
|
|
@@ -109,6 +118,7 @@ say("done!")
|
|
|
109
118
|
say("now it is time for us to part!")
|
|
110
119
|
repeat_until(lambda: ask("would you like to leave?"), lambda: answer() == "yes")
|
|
111
120
|
wait(1)
|
|
121
|
+
print(length_of("apple"))
|
|
112
122
|
say("press any key to exit")
|
|
113
123
|
if when_key_pressed_any():
|
|
114
124
|
stop_all()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scratch_syntax-0.8.0 → scratch_syntax-0.9.0}/src/scratch_syntax.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|