learnlog 0.7__tar.gz → 0.8__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.
learnlog-0.8/PKG-INFO ADDED
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.4
2
+ Name: learnlog
3
+ Version: 0.8
4
+ Summary: Automatic logging of student code development and test runs
5
+ License-Expression: MIT
6
+ License-File: LICENSE
7
+ Author: Daniel Bosk
8
+ Author-email: daniel@bosk.se
9
+ Maintainer: Daniel Bosk
10
+ Maintainer-email: dbosk@kth.se
11
+ Requires-Python: >=3.9
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Intended Audience :: Education
16
+ Classifier: Topic :: Education
17
+ Requires-Dist: typer (>=0.9.0)
18
+ Project-URL: Bug Tracker, https://github.com/dbosk/learnlog/issues
19
+ Project-URL: Repository, https://github.com/dbosk/learnlog
20
+ Description-Content-Type: text/markdown
21
+
22
+ # learnlog
23
+
24
+ A Python package that automatically logs code development and program runs.
25
+
26
+ By adding `import learnlog` as the first import in a Python file, every
27
+ program run is recorded transparently: source code changes, command-line
28
+ arguments, standard input/output/error, and unhandled exceptions. The data is
29
+ stored in a hidden local Git repository.
30
+
31
+ ## Use cases
32
+
33
+ - **Sharing live-coding sessions.**
34
+ A teacher adds `import learnlog` to demonstration scripts during a lecture
35
+ or tutorial. After the session the teacher pushes the log to a remote
36
+ repository:
37
+
38
+ ```bash
39
+ learnlog set-remote git@gitlab.kth.se:dbosk/lecture01.git
40
+ learnlog push
41
+ ```
42
+
43
+ Students clone the log and replay it step by step:
44
+
45
+ ```bash
46
+ learnlog clone git@gitlab.kth.se:dbosk/lecture01.git
47
+ learnlog play
48
+ ```
49
+
50
+ Alternatively, when a shared Git remote is not available, the teacher can
51
+ export the log as a portable bundle file:
52
+
53
+ ```bash
54
+ learnlog export -o lecture01.bundle
55
+ ```
56
+
57
+ The teacher distributes the file (e.g. via a course page) and students
58
+ replay it directly:
59
+
60
+ ```bash
61
+ learnlog play lecture01.bundle
62
+ ```
63
+
64
+ - **Studying how students code.**
65
+ A researcher creates an empty Git repository for each student. Each student
66
+ adds `import learnlog` to their programs and pushes the log:
67
+
68
+ ```bash
69
+ learnlog set-remote git@gitlab.kth.se:dbosk/alice-log.git
70
+ learnlog push
71
+ ```
72
+
73
+ The researcher then clones each student's repository to analyse the
74
+ development data:
75
+
76
+ ```bash
77
+ learnlog clone git@gitlab.kth.se:dbosk/alice-log.git
78
+ learnlog play
79
+ ```
80
+
81
+ Alternatively, the student can export the log as a bundle and submit it
82
+ through the course platform:
83
+
84
+ ```bash
85
+ learnlog export -o alice-log.bundle
86
+ ```
87
+
88
+ The researcher then replays it directly:
89
+
90
+ ```bash
91
+ learnlog play alice-log.bundle
92
+ ```
93
+
94
+ This gives a complete timeline of how students develop and debug their
95
+ code — for research purposes or to help students refine their debugging
96
+ techniques.
97
+
learnlog-0.8/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # learnlog
2
+
3
+ A Python package that automatically logs code development and program runs.
4
+
5
+ By adding `import learnlog` as the first import in a Python file, every
6
+ program run is recorded transparently: source code changes, command-line
7
+ arguments, standard input/output/error, and unhandled exceptions. The data is
8
+ stored in a hidden local Git repository.
9
+
10
+ ## Use cases
11
+
12
+ - **Sharing live-coding sessions.**
13
+ A teacher adds `import learnlog` to demonstration scripts during a lecture
14
+ or tutorial. After the session the teacher pushes the log to a remote
15
+ repository:
16
+
17
+ ```bash
18
+ learnlog set-remote git@gitlab.kth.se:dbosk/lecture01.git
19
+ learnlog push
20
+ ```
21
+
22
+ Students clone the log and replay it step by step:
23
+
24
+ ```bash
25
+ learnlog clone git@gitlab.kth.se:dbosk/lecture01.git
26
+ learnlog play
27
+ ```
28
+
29
+ Alternatively, when a shared Git remote is not available, the teacher can
30
+ export the log as a portable bundle file:
31
+
32
+ ```bash
33
+ learnlog export -o lecture01.bundle
34
+ ```
35
+
36
+ The teacher distributes the file (e.g. via a course page) and students
37
+ replay it directly:
38
+
39
+ ```bash
40
+ learnlog play lecture01.bundle
41
+ ```
42
+
43
+ - **Studying how students code.**
44
+ A researcher creates an empty Git repository for each student. Each student
45
+ adds `import learnlog` to their programs and pushes the log:
46
+
47
+ ```bash
48
+ learnlog set-remote git@gitlab.kth.se:dbosk/alice-log.git
49
+ learnlog push
50
+ ```
51
+
52
+ The researcher then clones each student's repository to analyse the
53
+ development data:
54
+
55
+ ```bash
56
+ learnlog clone git@gitlab.kth.se:dbosk/alice-log.git
57
+ learnlog play
58
+ ```
59
+
60
+ Alternatively, the student can export the log as a bundle and submit it
61
+ through the course platform:
62
+
63
+ ```bash
64
+ learnlog export -o alice-log.bundle
65
+ ```
66
+
67
+ The researcher then replays it directly:
68
+
69
+ ```bash
70
+ learnlog play alice-log.bundle
71
+ ```
72
+
73
+ This gives a complete timeline of how students develop and debug their
74
+ code — for research purposes or to help students refine their debugging
75
+ techniques.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "learnlog"
3
- version = "0.7"
3
+ version = "0.8"
4
4
  description = "Automatic logging of student code development and test runs"
5
5
  license = "MIT"
6
6
  readme = "README.md"
learnlog-0.7/PKG-INFO DELETED
@@ -1,42 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: learnlog
3
- Version: 0.7
4
- Summary: Automatic logging of student code development and test runs
5
- License-Expression: MIT
6
- License-File: LICENSE
7
- Author: Daniel Bosk
8
- Author-email: daniel@bosk.se
9
- Maintainer: Daniel Bosk
10
- Maintainer-email: dbosk@kth.se
11
- Requires-Python: >=3.9
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: License :: OSI Approved :: MIT License
14
- Classifier: Operating System :: OS Independent
15
- Classifier: Intended Audience :: Education
16
- Classifier: Topic :: Education
17
- Requires-Dist: typer (>=0.9.0)
18
- Project-URL: Bug Tracker, https://github.com/dbosk/learnlog/issues
19
- Project-URL: Repository, https://github.com/dbosk/learnlog
20
- Description-Content-Type: text/markdown
21
-
22
- # learnlog
23
-
24
- A Python package that automatically logs code development and program runs.
25
-
26
- By adding `import learnlog` as the first import in a Python file, every
27
- program run is recorded transparently: source code changes, command-line
28
- arguments, standard input/output/error, and unhandled exceptions. The data is
29
- stored in a hidden local Git repository.
30
-
31
- ## Use cases
32
-
33
- - **Studying how students code.**
34
- Have students add `import learnlog` to their programs. The teacher can then
35
- study students' development process — for research purposes or to help
36
- students refine their debugging techniques.
37
-
38
- - **Sharing live-coding sessions.**
39
- A teacher adds `import learnlog` to demonstration scripts during a lecture
40
- or tutorial. After the session, run `learnlog export` to create a portable
41
- bundle that students can replay step by step with `learnlog play`.
42
-
learnlog-0.7/README.md DELETED
@@ -1,20 +0,0 @@
1
- # learnlog
2
-
3
- A Python package that automatically logs code development and program runs.
4
-
5
- By adding `import learnlog` as the first import in a Python file, every
6
- program run is recorded transparently: source code changes, command-line
7
- arguments, standard input/output/error, and unhandled exceptions. The data is
8
- stored in a hidden local Git repository.
9
-
10
- ## Use cases
11
-
12
- - **Studying how students code.**
13
- Have students add `import learnlog` to their programs. The teacher can then
14
- study students' development process — for research purposes or to help
15
- students refine their debugging techniques.
16
-
17
- - **Sharing live-coding sessions.**
18
- A teacher adds `import learnlog` to demonstration scripts during a lecture
19
- or tutorial. After the session, run `learnlog export` to create a portable
20
- bundle that students can replay step by step with `learnlog play`.
File without changes