PyKubeGrader 0.1.8__tar.gz → 0.1.9__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pykubegrader-0.1.8/src/PyKubeGrader.egg-info → pykubegrader-0.1.9}/PKG-INFO +1 -1
- {pykubegrader-0.1.8 → pykubegrader-0.1.9/src/PyKubeGrader.egg-info}/PKG-INFO +1 -1
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/initialize.py +6 -7
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/.coveragerc +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/.github/workflows/main.yml +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/.gitignore +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/.readthedocs.yml +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/AUTHORS.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/CHANGELOG.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/CONTRIBUTING.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/LICENSE.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/README.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/Makefile +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/_static/Drexel_blue_Logo_square_Dark.png +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/_static/Drexel_blue_Logo_square_Light.png +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/_static/custom.css +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/authors.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/changelog.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/conf.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/contributing.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/index.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/license.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/readme.rst +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/docs/requirements.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/examples/.responses.json +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/examples/true_false.ipynb +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/pyproject.toml +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/setup.cfg +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/setup.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/PyKubeGrader.egg-info/SOURCES.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/PyKubeGrader.egg-info/dependency_links.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/PyKubeGrader.egg-info/entry_points.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/PyKubeGrader.egg-info/not-zip-safe +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/PyKubeGrader.egg-info/requires.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/PyKubeGrader.egg-info/top_level.txt +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/__init__.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/build/build_folder.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/telemetry.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/utils.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/validate.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/__init__.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/multiple_choice.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/reading_question.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/select_many.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/student_info.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/style.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/true_false.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets/types_question.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets_base/__init__.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets_base/multi_select.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets_base/reading.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/src/pykubegrader/widgets_base/select.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/tests/conftest.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/tests/import_test.py +0 -0
- {pykubegrader-0.1.8 → pykubegrader-0.1.9}/tox.ini +0 -0
@@ -24,19 +24,18 @@ def initialize_assignment(name: str) -> None:
|
|
24
24
|
print("Setup unsuccessful. Are you on JupyterHub?")
|
25
25
|
return
|
26
26
|
|
27
|
-
pn.extension(silent=True)
|
28
|
-
|
29
27
|
try:
|
30
|
-
|
28
|
+
update_responses(key="assignment", value=name)
|
29
|
+
update_responses(key="jhub_user", value=jhub_user)
|
31
30
|
|
32
|
-
seed =
|
33
|
-
|
34
|
-
new_seed = hash(jhub_user) % 1000
|
35
|
-
responses = update_responses(key="seed", value=new_seed)
|
31
|
+
seed = hash(jhub_user) % 1000
|
32
|
+
update_responses(key="seed", value=seed)
|
36
33
|
except (TypeError, json.JSONDecodeError) as e:
|
37
34
|
print(f"Failed to initialize assignment: {e}")
|
38
35
|
return
|
39
36
|
|
37
|
+
pn.extension(silent=True)
|
38
|
+
|
40
39
|
print("Assignment successfully initialized")
|
41
40
|
print(f"Assignment: {name}")
|
42
41
|
print(f"Username: {jhub_user}")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|