rapid-router 7.4.2__py2.py3-none-any.whl → 7.4.4__py2.py3-none-any.whl
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.
- game/__init__.py +1 -1
- game/messages.py +12 -21
- game/static/game/css/game_screen.css +4 -9
- game/static/game/js/drawing.js +6 -6
- {rapid_router-7.4.2.dist-info → rapid_router-7.4.4.dist-info}/METADATA +4 -4
- {rapid_router-7.4.2.dist-info → rapid_router-7.4.4.dist-info}/RECORD +9 -9
- {rapid_router-7.4.2.dist-info → rapid_router-7.4.4.dist-info}/LICENSE.md +0 -0
- {rapid_router-7.4.2.dist-info → rapid_router-7.4.4.dist-info}/WHEEL +0 -0
- {rapid_router-7.4.2.dist-info → rapid_router-7.4.4.dist-info}/top_level.txt +0 -0
game/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.4.
|
|
1
|
+
__version__ = "7.4.4"
|
game/messages.py
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
from builtins import str
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
def video_link(url
|
|
4
|
+
def video_link(url):
|
|
5
5
|
return (
|
|
6
6
|
"<div class='popup_video'>"
|
|
7
|
-
"<
|
|
8
|
-
|
|
7
|
+
"<video controls name='media'>"
|
|
8
|
+
"<source src="
|
|
9
9
|
+ str(url)
|
|
10
|
-
+ "
|
|
11
|
-
+ "' frameborder='"
|
|
12
|
-
+ str(border)
|
|
13
|
-
+ "' allowfullscreen class='video'></iframe><br></div>"
|
|
10
|
+
+ "type='video/mp4'></video><br></div>"
|
|
14
11
|
)
|
|
15
12
|
|
|
16
13
|
|
|
@@ -478,8 +475,7 @@ def title_level19():
|
|
|
478
475
|
|
|
479
476
|
def description_level19():
|
|
480
477
|
message = video_link(
|
|
481
|
-
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FPucDWuRfzuTxeLI6IHRx%2FMahana%20explains%20repeat%20functions.mp4?alt=media&token=361c8495-dc7d-4e18-9a7f-4c07c3fd303d"
|
|
482
|
-
0,
|
|
478
|
+
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FPucDWuRfzuTxeLI6IHRx%2FMahana%20explains%20repeat%20functions.mp4?alt=media&token=361c8495-dc7d-4e18-9a7f-4c07c3fd303d"
|
|
483
479
|
)
|
|
484
480
|
message += (
|
|
485
481
|
"<div class='popup_message'>"
|
|
@@ -690,8 +686,7 @@ def title_level29():
|
|
|
690
686
|
|
|
691
687
|
def description_level29():
|
|
692
688
|
message = video_link(
|
|
693
|
-
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FmUm2VB4N62Opk2CezOFR%2FAna%20discusses%20repeat%20until%20and%20repeat%20while%20functions.mp4?alt=media&token=1add73b1-9e21-4cdb-876d-31495012bb50"
|
|
694
|
-
0,
|
|
689
|
+
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FmUm2VB4N62Opk2CezOFR%2FAna%20discusses%20repeat%20until%20and%20repeat%20while%20functions.mp4?alt=media&token=1add73b1-9e21-4cdb-876d-31495012bb50"
|
|
695
690
|
)
|
|
696
691
|
message += (
|
|
697
692
|
"<div class='popup_message'>"
|
|
@@ -776,8 +771,7 @@ def title_level33():
|
|
|
776
771
|
|
|
777
772
|
def description_level33():
|
|
778
773
|
message = video_link(
|
|
779
|
-
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2F8A63G0OQlNdxMpvLuK9j%2FChris%20and%20Matt%20introduce%20if%20statements.mp4?alt=media&token=6fc94e71-a8b1-43a4-aadd-63fcf3b5788c"
|
|
780
|
-
0,
|
|
774
|
+
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2F8A63G0OQlNdxMpvLuK9j%2FChris%20and%20Matt%20introduce%20if%20statements.mp4?alt=media&token=6fc94e71-a8b1-43a4-aadd-63fcf3b5788c"
|
|
781
775
|
)
|
|
782
776
|
message += (
|
|
783
777
|
"<div class='popup_message'>"
|
|
@@ -857,8 +851,7 @@ def title_level36():
|
|
|
857
851
|
|
|
858
852
|
def description_level36():
|
|
859
853
|
message = video_link(
|
|
860
|
-
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FsxMatN6zCvgFag8YDvK4%2FHelen%20explains%20if_else%20statements.mp4?alt=media&token=1051ab04-b02d-4b75-8278-2b63216b2985"
|
|
861
|
-
0,
|
|
854
|
+
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FsxMatN6zCvgFag8YDvK4%2FHelen%20explains%20if_else%20statements.mp4?alt=media&token=1051ab04-b02d-4b75-8278-2b63216b2985"
|
|
862
855
|
)
|
|
863
856
|
message += (
|
|
864
857
|
f"<div class='popup_message'>"
|
|
@@ -1042,8 +1035,7 @@ def title_level44():
|
|
|
1042
1035
|
|
|
1043
1036
|
def description_level44():
|
|
1044
1037
|
message = video_link(
|
|
1045
|
-
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FVDmgFe1LBpTpWI2b9EVN%2FWill%20discusses%20variables.mp4?alt=media&token=3fb3c5ca-f0d7-4f98-9274-5c4db8f64eac"
|
|
1046
|
-
0,
|
|
1038
|
+
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FVDmgFe1LBpTpWI2b9EVN%2FWill%20discusses%20variables.mp4?alt=media&token=3fb3c5ca-f0d7-4f98-9274-5c4db8f64eac"
|
|
1047
1039
|
)
|
|
1048
1040
|
message += (
|
|
1049
1041
|
"<div class='popup_message'>"
|
|
@@ -1734,8 +1726,7 @@ def title_level80():
|
|
|
1734
1726
|
|
|
1735
1727
|
def description_level80():
|
|
1736
1728
|
message = video_link(
|
|
1737
|
-
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FhwOkHWSHqONf5lm7vbc4%2FCode%20for%20Life_%20Python.mp4?alt=media&token=8b47268c-91ea-4315-80e8-05c40d84372c"
|
|
1738
|
-
0,
|
|
1729
|
+
"https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2FhwOkHWSHqONf5lm7vbc4%2FCode%20for%20Life_%20Python.mp4?alt=media&token=8b47268c-91ea-4315-80e8-05c40d84372c"
|
|
1739
1730
|
)
|
|
1740
1731
|
message += (
|
|
1741
1732
|
"As you create your program using Blockly, see what it looks like in the Python "
|
|
@@ -2691,7 +2682,7 @@ def hint_level109():
|
|
|
2691
2682
|
"Try to build up the blocks using a while loop to solve this one. Make sure that you count carefully."
|
|
2692
2683
|
"<br><br><br><br><br><br><br><br>Watch this video for more details: <br>"
|
|
2693
2684
|
"</div>"
|
|
2694
|
-
f"{video_link("https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2F3ojsv3EPh8qREqYMJBqo%2FPython%20Den%20Variable%20blocks%20demo.mp4?alt=media&token=192e4448-f16b-497f-b0d3-18163fd7d1d7"
|
|
2685
|
+
f"{video_link("https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2F3ojsv3EPh8qREqYMJBqo%2FPython%20Den%20Variable%20blocks%20demo.mp4?alt=media&token=192e4448-f16b-497f-b0d3-18163fd7d1d7")}"
|
|
2695
2686
|
"</div>",
|
|
2696
2687
|
),
|
|
2697
2688
|
lambda: "<div class='main_popup_container'>"
|
|
@@ -2699,7 +2690,7 @@ def hint_level109():
|
|
|
2699
2690
|
"Make sure that you are using the right blocks here. You must use the pink block for variables and the dark blue number block for values."
|
|
2700
2691
|
"<br><br><br><br><br><br><br><br>Watch the video here if you are unsure.<br>"
|
|
2701
2692
|
"</div>"
|
|
2702
|
-
f"{video_link("https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2F3ojsv3EPh8qREqYMJBqo%2FPython%20Den%20Variable%20blocks%20demo.mp4?alt=media&token=192e4448-f16b-497f-b0d3-18163fd7d1d7"
|
|
2693
|
+
f"{video_link("https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdCZE3FuBgH5fHsGocKGv%2Fuploads%2F3ojsv3EPh8qREqYMJBqo%2FPython%20Den%20Variable%20blocks%20demo.mp4?alt=media&token=192e4448-f16b-497f-b0d3-18163fd7d1d7")}"
|
|
2703
2694
|
"</div>",
|
|
2704
2695
|
)
|
|
2705
2696
|
|
|
@@ -87,20 +87,15 @@
|
|
|
87
87
|
margin-right: 20px;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
.video_wrapper {
|
|
92
|
-
position: relative;
|
|
90
|
+
video {
|
|
93
91
|
aspect-ratio: 16 / 9;
|
|
92
|
+
border: none;
|
|
93
|
+
height: 100%;
|
|
94
94
|
overflow: hidden;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
.video_wrapper iframe {
|
|
95
|
+
position: relative;
|
|
98
96
|
width: 100%;
|
|
99
|
-
height: 100%;
|
|
100
|
-
border: none;
|
|
101
97
|
}
|
|
102
98
|
|
|
103
|
-
|
|
104
99
|
/************/
|
|
105
100
|
/** Tables **/
|
|
106
101
|
/************/
|
game/static/game/js/drawing.js
CHANGED
|
@@ -1021,10 +1021,10 @@ ocargo.Drawing.translate = function (coordinate) {
|
|
|
1021
1021
|
|
|
1022
1022
|
// A Function used to stop the iframe video
|
|
1023
1023
|
function stopVideo() {
|
|
1024
|
-
// https://gist.github.com/cferdinandi/9044694
|
|
1025
|
-
const video = document.
|
|
1026
|
-
const
|
|
1027
|
-
video[0].src =
|
|
1024
|
+
// // https://gist.github.com/cferdinandi/9044694
|
|
1025
|
+
const video = document.getElementsByTagName("video");
|
|
1026
|
+
const videoSrc = video[0].src;
|
|
1027
|
+
video[0].src = videoSrc;
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
1030
|
/*
|
|
@@ -1064,8 +1064,8 @@ ocargo.Drawing.startPopup = function (
|
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
const
|
|
1068
|
-
if (
|
|
1067
|
+
const video = $("video")
|
|
1068
|
+
if (video) {
|
|
1069
1069
|
mascot.hide()
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: rapid-router
|
|
3
|
-
Version: 7.4.
|
|
3
|
+
Version: 7.4.4
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.12
|
|
6
6
|
Classifier: Framework :: Django
|
|
@@ -8,7 +8,7 @@ License-File: LICENSE.md
|
|
|
8
8
|
Requires-Dist: asgiref==3.8.1; python_version >= "3.8"
|
|
9
9
|
Requires-Dist: asttokens==3.0.0; python_version >= "3.8"
|
|
10
10
|
Requires-Dist: certifi==2025.1.31; python_version >= "3.6"
|
|
11
|
-
Requires-Dist: cfl-common==8.4.
|
|
11
|
+
Requires-Dist: cfl-common==8.4.10
|
|
12
12
|
Requires-Dist: charset-normalizer==3.4.1; python_version >= "3.7"
|
|
13
13
|
Requires-Dist: decorator==5.2.1; python_version >= "3.8"
|
|
14
14
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7"
|
|
@@ -61,11 +61,11 @@ Requires-Dist: asgiref==3.8.1; python_version >= "3.8" and extra == "dev"
|
|
|
61
61
|
Requires-Dist: attrs==25.3.0; python_version >= "3.8" and extra == "dev"
|
|
62
62
|
Requires-Dist: black==25.1.0; python_version >= "3.9" and extra == "dev"
|
|
63
63
|
Requires-Dist: certifi==2025.1.31; python_version >= "3.6" and extra == "dev"
|
|
64
|
-
Requires-Dist: cfl-common==8.4.
|
|
64
|
+
Requires-Dist: cfl-common==8.4.10; extra == "dev"
|
|
65
65
|
Requires-Dist: chardet==5.2.0; python_version >= "3.7" and extra == "dev"
|
|
66
66
|
Requires-Dist: charset-normalizer==3.4.1; python_version >= "3.7" and extra == "dev"
|
|
67
67
|
Requires-Dist: click==8.1.8; python_version >= "3.7" and extra == "dev"
|
|
68
|
-
Requires-Dist: codeforlife-portal==8.4.
|
|
68
|
+
Requires-Dist: codeforlife-portal==8.4.10; extra == "dev"
|
|
69
69
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7" and extra == "dev"
|
|
70
70
|
Requires-Dist: django==4.2.20; python_version >= "3.8" and extra == "dev"
|
|
71
71
|
Requires-Dist: django-classy-tags==4.1.0; python_version >= "3.8" and extra == "dev"
|
|
@@ -3,7 +3,7 @@ example_project/rapid_router_test_settings.py,sha256=zeun7ZbgaIko7lKoBFyY0JBSNLf
|
|
|
3
3
|
example_project/settings.py,sha256=LlpNO365iqVvWz7PlFOXDwqrE1OEnLSSnSaXd7x5caE,4172
|
|
4
4
|
example_project/urls.py,sha256=XHug_cpNy21yOef3E1-wWT5VkTuxpl6ZXIlCj6jDjWA,422
|
|
5
5
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
6
|
-
game/__init__.py,sha256=
|
|
6
|
+
game/__init__.py,sha256=pRP-2U3JdKe9zc7kJ_hZIi8lzbrKlyH-LTC8oC216zs,22
|
|
7
7
|
game/admin.py,sha256=BLwwaqQYuqmMdwqnvhdan19iGxdcoBX4CXFk_ROG5-M,1431
|
|
8
8
|
game/app_settings.py,sha256=mlg-1AiP7AR5JNOHAXXLuCrYWaZMmSihvSYk9c2c8YY,857
|
|
9
9
|
game/cache.py,sha256=dtOiFl6Z4I2Q9-8Hz24ZI-5C0asXYSQhF2Be5q74N8g,2227
|
|
@@ -11,7 +11,7 @@ game/character.py,sha256=bdJ74jDN9zZnj-XaNYbCWmM8XiZY5q4zpqmHLcvE-ts,2397
|
|
|
11
11
|
game/decor.py,sha256=VDY-kadOd0TSDo5znI5P3YzB3BFADCotIlp1g_eDOwQ,10096
|
|
12
12
|
game/forms.py,sha256=7J9Ivn97qw4FC5B7WonDzi4Q5WHhF1I62eQWorUDv_o,2143
|
|
13
13
|
game/level_management.py,sha256=wAKbu8JAVTHoM6YD6L3c7tPityKtWLGRNG32OX5SYRw,6289
|
|
14
|
-
game/messages.py,sha256=
|
|
14
|
+
game/messages.py,sha256=7XLfcikFDxuR0LVCc9P8GhuLrWzxiquhhDdHSAAU95w,102526
|
|
15
15
|
game/models.py,sha256=h_NS_6LL8uFoKVjg2CCZ53sE-FBv9QWM_dhCh4fIr5E,11446
|
|
16
16
|
game/permissions.py,sha256=KYzCQS4jytmOEKORY61Z-h0PtuC4P_pkIe9tUrk5Ihc,7793
|
|
17
17
|
game/python_den_urls.py,sha256=fO2U06_woa3dkdmWhYg6zR9hrqFyP2Cp9e5l-5dUEmc,637
|
|
@@ -141,7 +141,7 @@ game/static/game/css/dataTables.fixedColumns.css,sha256=GyCgx04LPn0g6ANEzHzZA7TQ
|
|
|
141
141
|
game/static/game/css/dataTables.jqueryui.css,sha256=RAit_2fXj0zOXq_IDQ94uKa3Q1pL_VntvloiurxN-ZU,28493
|
|
142
142
|
game/static/game/css/dropdown.css,sha256=2S8AdwZ1rw6vKKHfuAiJflOm9j7669P-mCebJ7z2JlI,828
|
|
143
143
|
game/static/game/css/game.css,sha256=kE3F1PzEzKZxbc38Q4d16lMUB2bZ_LQTbzK8YwdyI4s,6156
|
|
144
|
-
game/static/game/css/game_screen.css,sha256=
|
|
144
|
+
game/static/game/css/game_screen.css,sha256=GPUDNIXWiXnJEE63d7fc3xf24XvZCR8AX2Nyjux3_cg,10174
|
|
145
145
|
game/static/game/css/input.css,sha256=Ej7rAUydL38qmAOwGT15hamazDBcsjMcLG3x6yoLhvA,211
|
|
146
146
|
game/static/game/css/jquery.dataTables.css,sha256=jPik27AcAooW6y2Fq_JvGs7jtF4FzgftCRYR7K2OqQk,25867
|
|
147
147
|
game/static/game/css/level_editor.css,sha256=LFsFtvPXNA2AymRwX9_DnXhsxhue2nAWB3WYZTO81wY,6275
|
|
@@ -340,7 +340,7 @@ game/static/game/js/coordinate.js,sha256=pazIB-UtnAQMW4ibtPZt3GBRiby8-Km_rKkw0ao
|
|
|
340
340
|
game/static/game/js/cow.js,sha256=EZYFmNKIM7-B6BpwaRwzGH11TI3ejcKGYPVHjDCUwJE,2004
|
|
341
341
|
game/static/game/js/dataTables.fixedColumns.js,sha256=uaUCmQEzXC17dp9Mrv4pBnQI1U9htUxE-QdEPT_mQ-w,40932
|
|
342
342
|
game/static/game/js/destination.js,sha256=9QJCvoIwiwWokxV3bUq1hTjASxnJPzcwfCPpUWf1c3M,221
|
|
343
|
-
game/static/game/js/drawing.js,sha256=
|
|
343
|
+
game/static/game/js/drawing.js,sha256=4VpHIWBtUbyscKynzecrACaMV6wpUUP-NvjxpUyZ2Zs,37091
|
|
344
344
|
game/static/game/js/drawingConstants.js,sha256=U0BbcFBzNhBOIr-PiiKaRS4AtdOOk6NvB0boxvJQTSA,68
|
|
345
345
|
game/static/game/js/event.js,sha256=VUGrUWxu1aWEk4AJFkzi7yZpXrIA6-9z4RIra3fhdvE,401
|
|
346
346
|
game/static/game/js/fpsmeter.js,sha256=b6D2ZDaxxYEqMgrdy8gAE_wEJbndLCTRaM7kTVkA0Uw,8835
|
|
@@ -800,8 +800,8 @@ game/views/level_selection.py,sha256=UI345nDv5iTRQ7VttiLKLzezJlaSlaKOnhlALZgMU9Q
|
|
|
800
800
|
game/views/level_solutions.py,sha256=lfwLFvw4gFuptTkL2J_ibhnuiysl3Yao15sn2qoQlcE,97194
|
|
801
801
|
game/views/scoreboard.py,sha256=Lxy7XtoG7VwWpTb-c22BGC6eN8uCmmOnQ2qjY-oXA3k,16914
|
|
802
802
|
game/views/scoreboard_csv.py,sha256=yx4tOwx5QsHyU1S1BUPUqRBWIh5idq8QVtBID-NqZto,1768
|
|
803
|
-
rapid_router-7.4.
|
|
804
|
-
rapid_router-7.4.
|
|
805
|
-
rapid_router-7.4.
|
|
806
|
-
rapid_router-7.4.
|
|
807
|
-
rapid_router-7.4.
|
|
803
|
+
rapid_router-7.4.4.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
804
|
+
rapid_router-7.4.4.dist-info/METADATA,sha256=ndNHyJ7AG-MBa01AfLbC9wb7ToORqPsGZBTPRUiSAZE,8858
|
|
805
|
+
rapid_router-7.4.4.dist-info/WHEEL,sha256=Kol19cahXavY536r5Aj6aAgK_6CmctrOu3bgNJMSNJA,109
|
|
806
|
+
rapid_router-7.4.4.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
|
|
807
|
+
rapid_router-7.4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|