scratch-syntax 0.8.1__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.
@@ -1,9 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scratch_syntax
3
- Version: 0.8.1
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 Respitory
45
+ - I also added Github Repository
47
46
 
48
47
  ## Update 0.5.0
49
48
 
@@ -88,10 +87,15 @@ Also btw don't forget to put from `scratch_syntax import *`so the functions run
88
87
 
89
88
  - I just fixed the changelog... thats it.
90
89
 
90
+ ## Update 0.9.0
91
+
92
+ - I added the `length_of()` function;
93
+ - I removed the github repo.
94
+
91
95
  ## All Functions
92
96
 
93
97
  ```bash
94
- 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()
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()
95
99
  ```
96
100
 
97
101
  Also heres an example code
@@ -114,6 +118,7 @@ say("done!")
114
118
  say("now it is time for us to part!")
115
119
  repeat_until(lambda: ask("would you like to leave?"), lambda: answer() == "yes")
116
120
  wait(1)
121
+ print(length_of("apple"))
117
122
  say("press any key to exit")
118
123
  if when_key_pressed_any():
119
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 Respitory
31
+ - I also added Github Repository
32
32
 
33
33
  ## Update 0.5.0
34
34
 
@@ -73,10 +73,15 @@ Also btw don't forget to put from `scratch_syntax import *`so the functions run
73
73
 
74
74
  - I just fixed the changelog... thats it.
75
75
 
76
+ ## Update 0.9.0
77
+
78
+ - I added the `length_of()` function;
79
+ - I removed the github repo.
80
+
76
81
  ## All Functions
77
82
 
78
83
  ```bash
79
- 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()
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()
80
85
  ```
81
86
 
82
87
  Also heres an example code
@@ -99,6 +104,7 @@ say("done!")
99
104
  say("now it is time for us to part!")
100
105
  repeat_until(lambda: ask("would you like to leave?"), lambda: answer() == "yes")
101
106
  wait(1)
107
+ print(length_of("apple"))
102
108
  say("press any key to exit")
103
109
  if when_key_pressed_any():
104
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.8.1"
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
+ ]
@@ -102,3 +102,7 @@ def when_key_pressed_any():
102
102
  sleep(0.01)
103
103
  return True
104
104
  return False
105
+
106
+
107
+ def length_of(lenth):
108
+ return len(lenth)
@@ -1,9 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scratch_syntax
3
- Version: 0.8.1
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 Respitory
45
+ - I also added Github Repository
47
46
 
48
47
  ## Update 0.5.0
49
48
 
@@ -88,10 +87,15 @@ Also btw don't forget to put from `scratch_syntax import *`so the functions run
88
87
 
89
88
  - I just fixed the changelog... thats it.
90
89
 
90
+ ## Update 0.9.0
91
+
92
+ - I added the `length_of()` function;
93
+ - I removed the github repo.
94
+
91
95
  ## All Functions
92
96
 
93
97
  ```bash
94
- 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()
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()
95
99
  ```
96
100
 
97
101
  Also heres an example code
@@ -114,6 +118,7 @@ say("done!")
114
118
  say("now it is time for us to part!")
115
119
  repeat_until(lambda: ask("would you like to leave?"), lambda: answer() == "yes")
116
120
  wait(1)
121
+ print(length_of("apple"))
117
122
  say("press any key to exit")
118
123
  if when_key_pressed_any():
119
124
  stop_all()
File without changes
File without changes