rapid-router 7.4.4__py2.py3-none-any.whl → 7.4.6__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "7.4.4"
1
+ __version__ = "7.4.6"
@@ -188,6 +188,18 @@ ocargo.Game.prototype.reset = function () {
188
188
  }
189
189
 
190
190
  ocargo.Game.prototype.runProgramAndPrepareAnimation = function (blocks) {
191
+ if (window.location.href.startsWith("https://www.codeforlife.education")) {
192
+ if (window.location.href.includes("/pythonden/")) {
193
+ gtag("event", "python-den:level:play", {
194
+ levelId: LEVEL_NAME - 1000,
195
+ });
196
+ } else if (window.location.href.includes("/rapidrouter/")) {
197
+ gtag("event", "rapid-router:level:play", {
198
+ levelId: LEVEL_NAME,
199
+ });
200
+ }
201
+ }
202
+
191
203
  this.reset()
192
204
  let code = ocargo.pythonControl.getCode()
193
205
  ocargo.event.sendEvent('PlayButtonPressed', {
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: rapid-router
3
- Version: 7.4.4
3
+ Version: 7.4.6
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.10
11
+ Requires-Dist: cfl-common==8.5.0
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.10; extra == "dev"
64
+ Requires-Dist: cfl-common==8.5.0; 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.10; extra == "dev"
68
+ Requires-Dist: codeforlife-portal==8.5.0; 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"
@@ -89,7 +89,7 @@ Requires-Dist: execnet==2.1.1; python_version >= "3.8" and extra == "dev"
89
89
  Requires-Dist: h11==0.14.0; python_version >= "3.7" and extra == "dev"
90
90
  Requires-Dist: idna==3.10; python_version >= "3.6" and extra == "dev"
91
91
  Requires-Dist: importlib-metadata==4.13.0; python_version >= "3.7" and extra == "dev"
92
- Requires-Dist: iniconfig==2.0.0; python_version >= "3.7" and extra == "dev"
92
+ Requires-Dist: iniconfig==2.1.0; python_version >= "3.8" and extra == "dev"
93
93
  Requires-Dist: isort==6.0.1; python_full_version >= "3.9.0" and extra == "dev"
94
94
  Requires-Dist: libsass==0.23.0; python_version >= "3.8" and extra == "dev"
95
95
  Requires-Dist: more-itertools==8.7.0; python_version >= "3.5" and extra == "dev"
@@ -102,7 +102,7 @@ Requires-Dist: pathspec==0.12.1; python_version >= "3.8" and extra == "dev"
102
102
  Requires-Dist: pgeocode==0.4.0; python_version >= "3.8" and extra == "dev"
103
103
  Requires-Dist: phonenumbers==8.12.12; extra == "dev"
104
104
  Requires-Dist: pillow==11.1.0; python_version >= "3.9" and extra == "dev"
105
- Requires-Dist: platformdirs==4.3.6; python_version >= "3.8" and extra == "dev"
105
+ Requires-Dist: platformdirs==4.3.7; python_version >= "3.9" and extra == "dev"
106
106
  Requires-Dist: pluggy==1.5.0; python_version >= "3.8" and extra == "dev"
107
107
  Requires-Dist: pyjwt==2.6.0; python_version >= "3.7" and extra == "dev"
108
108
  Requires-Dist: pypng==0.20220715.0; extra == "dev"
@@ -133,5 +133,6 @@ Requires-Dist: websocket-client==1.8.0; python_version >= "3.8" and extra == "de
133
133
  Requires-Dist: wsproto==1.2.0; python_full_version >= "3.7.0" and extra == "dev"
134
134
  Requires-Dist: zipp==3.21.0; python_version >= "3.9" and extra == "dev"
135
135
  Dynamic: classifier
136
+ Dynamic: license-file
136
137
  Dynamic: provides-extra
137
138
  Dynamic: requires-dist
@@ -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=pRP-2U3JdKe9zc7kJ_hZIi8lzbrKlyH-LTC8oC216zs,22
6
+ game/__init__.py,sha256=pKE4abdw3O6H_E0ti7YG6SgI_ZPmvVYyKSDsnFQLWnk,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
@@ -344,7 +344,7 @@ game/static/game/js/drawing.js,sha256=4VpHIWBtUbyscKynzecrACaMV6wpUUP-NvjxpUyZ2Z
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
347
- game/static/game/js/game.js,sha256=3E9pWompMOfMnQ_iWWz5U-zWuz41si0cvAsafzUnPNg,37995
347
+ game/static/game/js/game.js,sha256=6RGJ2SyWOPOV90E5cAc3Dij7F5wh-zjRNAjay81uDzU,38386
348
348
  game/static/game/js/handlebars.runtime-v4.7.7.js,sha256=OCETUDXXzC9KlTyEGgRDrOYiUaDKp4s2vTXMHWx-I6Q,52216
349
349
  game/static/game/js/howler.js,sha256=sCHcRrx0ngqmGAgXUAQK0cRRRFdnmXoWAjBP3rAQeaI,12089
350
350
  game/static/game/js/jquery.dataTables.min.js,sha256=FZGH2eJrS9A_b3nlOUQxLOIXYfhrM9LK7hsOxzyYXiI,87104
@@ -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.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,,
803
+ rapid_router-7.4.6.dist-info/licenses/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
804
+ rapid_router-7.4.6.dist-info/METADATA,sha256=ak7RkpQHNmUrkhvCWdhhW8FI1yBJgwRnfzt75jPRDV0,8877
805
+ rapid_router-7.4.6.dist-info/WHEEL,sha256=aoLN90hLOL0c0qxXMxWYUM3HA3WmFGZQqEJHX1V_OJE,109
806
+ rapid_router-7.4.6.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
807
+ rapid_router-7.4.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.1.0)
2
+ Generator: setuptools (77.0.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any