bdalabb 0.20__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.
bdalabb-0.20/PKG-INFO ADDED
@@ -0,0 +1,89 @@
1
+ Metadata-Version: 2.4
2
+ Name: bdalabb
3
+ Version: 0.20
4
+ Summary: QuickPad-style hotkey overlay for Hadoop lab programs
5
+ Classifier: Environment :: X11 Applications
6
+ Classifier: Operating System :: Microsoft :: Windows
7
+ Classifier: Operating System :: POSIX :: Linux
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3 :: Only
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ Requires-Dist: python-xlib>=0.33; platform_system == "Linux"
13
+ Provides-Extra: dev
14
+ Requires-Dist: build>=1.2; extra == "dev"
15
+
16
+ # BDA Lab
17
+
18
+ BDA Lab keeps Hadoop lab programs and their related source, commands, and input
19
+ files together in a small desktop overlay. The window and file previews use a
20
+ black theme.
21
+
22
+ ## Ubuntu
23
+
24
+ The application runs in an Ubuntu desktop session. Install Tk and virtual
25
+ environment support, then install BDA Lab in a dedicated virtual environment:
26
+
27
+ ```bash
28
+ sudo apt update
29
+ sudo apt install python3-tk python3-venv
30
+ python3 -m venv "$HOME/.local/share/bdalabb/venv"
31
+ "$HOME/.local/share/bdalabb/venv/bin/pip" install --upgrade bdalabb
32
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" install
33
+ ```
34
+
35
+ The service installer adds a systemd **user** service and a desktop autostart
36
+ entry. It starts the overlay when the desktop session starts, restarts it after
37
+ an unexpected failure, and stops it when that session ends or the computer
38
+ shuts down. Locking the screen does not end the session. To inspect or stop it:
39
+
40
+ ```bash
41
+ systemctl --user status bdalabb.service
42
+ journalctl --user -u bdalabb.service -f
43
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" stop
44
+ ```
45
+
46
+ To remove the service and its autostart entry:
47
+
48
+ ```bash
49
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" uninstall
50
+ ```
51
+
52
+ Global Numpad Minus show/hide and pin shortcuts are supported in Ubuntu Xorg
53
+ sessions. Wayland restricts applications from capturing global keystrokes; in a
54
+ Wayland session BDA Lab opens visibly and remains usable as a normal window. To
55
+ enable the overlay hotkey, choose **Ubuntu on Xorg** from the login-screen
56
+ session menu.
57
+
58
+ Hold Numpad Minus to peek at the overlay; tap it three times quickly to pin or
59
+ unpin. Press **Ctrl+Shift+Q** to exit. Closing the window hides it so the
60
+ background service can keep running.
61
+
62
+ ## Windows
63
+
64
+ On Windows, install Python 3.10 or later with Tcl/Tk and run:
65
+
66
+ ```powershell
67
+ py -m pip install --upgrade bdalabb
68
+ bdalabb
69
+ ```
70
+
71
+ The same Numpad Minus and Ctrl+Shift+Q shortcuts are available.
72
+
73
+ ## Included program files
74
+
75
+ The package includes the Matrix Multiplication MapReduce lab with its Java
76
+ source, run commands, and two input files. Use **Add program folder** to add
77
+ other complete programs; imported files are copied into the per-user data
78
+ directory and the originals are left unchanged.
79
+
80
+ ## Development
81
+
82
+ ```bash
83
+ python -m venv .venv
84
+ . .venv/bin/activate
85
+ python -m pip install --upgrade pip build
86
+ python -m pip install -e ".[dev]"
87
+ python -m unittest discover -s tests -v
88
+ python -m build
89
+ ```
bdalabb-0.20/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # BDA Lab
2
+
3
+ BDA Lab keeps Hadoop lab programs and their related source, commands, and input
4
+ files together in a small desktop overlay. The window and file previews use a
5
+ black theme.
6
+
7
+ ## Ubuntu
8
+
9
+ The application runs in an Ubuntu desktop session. Install Tk and virtual
10
+ environment support, then install BDA Lab in a dedicated virtual environment:
11
+
12
+ ```bash
13
+ sudo apt update
14
+ sudo apt install python3-tk python3-venv
15
+ python3 -m venv "$HOME/.local/share/bdalabb/venv"
16
+ "$HOME/.local/share/bdalabb/venv/bin/pip" install --upgrade bdalabb
17
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" install
18
+ ```
19
+
20
+ The service installer adds a systemd **user** service and a desktop autostart
21
+ entry. It starts the overlay when the desktop session starts, restarts it after
22
+ an unexpected failure, and stops it when that session ends or the computer
23
+ shuts down. Locking the screen does not end the session. To inspect or stop it:
24
+
25
+ ```bash
26
+ systemctl --user status bdalabb.service
27
+ journalctl --user -u bdalabb.service -f
28
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" stop
29
+ ```
30
+
31
+ To remove the service and its autostart entry:
32
+
33
+ ```bash
34
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" uninstall
35
+ ```
36
+
37
+ Global Numpad Minus show/hide and pin shortcuts are supported in Ubuntu Xorg
38
+ sessions. Wayland restricts applications from capturing global keystrokes; in a
39
+ Wayland session BDA Lab opens visibly and remains usable as a normal window. To
40
+ enable the overlay hotkey, choose **Ubuntu on Xorg** from the login-screen
41
+ session menu.
42
+
43
+ Hold Numpad Minus to peek at the overlay; tap it three times quickly to pin or
44
+ unpin. Press **Ctrl+Shift+Q** to exit. Closing the window hides it so the
45
+ background service can keep running.
46
+
47
+ ## Windows
48
+
49
+ On Windows, install Python 3.10 or later with Tcl/Tk and run:
50
+
51
+ ```powershell
52
+ py -m pip install --upgrade bdalabb
53
+ bdalabb
54
+ ```
55
+
56
+ The same Numpad Minus and Ctrl+Shift+Q shortcuts are available.
57
+
58
+ ## Included program files
59
+
60
+ The package includes the Matrix Multiplication MapReduce lab with its Java
61
+ source, run commands, and two input files. Use **Add program folder** to add
62
+ other complete programs; imported files are copied into the per-user data
63
+ directory and the originals are left unchanged.
64
+
65
+ ## Development
66
+
67
+ ```bash
68
+ python -m venv .venv
69
+ . .venv/bin/activate
70
+ python -m pip install --upgrade pip build
71
+ python -m pip install -e ".[dev]"
72
+ python -m unittest discover -s tests -v
73
+ python -m build
74
+ ```
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "bdalabb"
7
+ version = "0.20"
8
+ description = "QuickPad-style hotkey overlay for Hadoop lab programs"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ dependencies = [
12
+ "python-xlib>=0.33; platform_system == 'Linux'",
13
+ ]
14
+ classifiers = [
15
+ "Environment :: X11 Applications",
16
+ "Operating System :: Microsoft :: Windows",
17
+ "Operating System :: POSIX :: Linux",
18
+ "Programming Language :: Python :: 3",
19
+ "Programming Language :: Python :: 3 :: Only",
20
+ ]
21
+
22
+ [project.optional-dependencies]
23
+ dev = ["build>=1.2"]
24
+
25
+ [project.gui-scripts]
26
+ bdalabb = "labprograms.app:main"
27
+
28
+ [project.scripts]
29
+ bdalabb-service = "labprograms.service:main"
30
+
31
+ [tool.setuptools.packages.find]
32
+ where = ["src"]
33
+
34
+ [tool.setuptools.package-data]
35
+ labprograms = ["programs/**/*"]
bdalabb-0.20/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,89 @@
1
+ Metadata-Version: 2.4
2
+ Name: bdalabb
3
+ Version: 0.20
4
+ Summary: QuickPad-style hotkey overlay for Hadoop lab programs
5
+ Classifier: Environment :: X11 Applications
6
+ Classifier: Operating System :: Microsoft :: Windows
7
+ Classifier: Operating System :: POSIX :: Linux
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3 :: Only
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ Requires-Dist: python-xlib>=0.33; platform_system == "Linux"
13
+ Provides-Extra: dev
14
+ Requires-Dist: build>=1.2; extra == "dev"
15
+
16
+ # BDA Lab
17
+
18
+ BDA Lab keeps Hadoop lab programs and their related source, commands, and input
19
+ files together in a small desktop overlay. The window and file previews use a
20
+ black theme.
21
+
22
+ ## Ubuntu
23
+
24
+ The application runs in an Ubuntu desktop session. Install Tk and virtual
25
+ environment support, then install BDA Lab in a dedicated virtual environment:
26
+
27
+ ```bash
28
+ sudo apt update
29
+ sudo apt install python3-tk python3-venv
30
+ python3 -m venv "$HOME/.local/share/bdalabb/venv"
31
+ "$HOME/.local/share/bdalabb/venv/bin/pip" install --upgrade bdalabb
32
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" install
33
+ ```
34
+
35
+ The service installer adds a systemd **user** service and a desktop autostart
36
+ entry. It starts the overlay when the desktop session starts, restarts it after
37
+ an unexpected failure, and stops it when that session ends or the computer
38
+ shuts down. Locking the screen does not end the session. To inspect or stop it:
39
+
40
+ ```bash
41
+ systemctl --user status bdalabb.service
42
+ journalctl --user -u bdalabb.service -f
43
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" stop
44
+ ```
45
+
46
+ To remove the service and its autostart entry:
47
+
48
+ ```bash
49
+ "$HOME/.local/share/bdalabb/venv/bin/bdalabb-service" uninstall
50
+ ```
51
+
52
+ Global Numpad Minus show/hide and pin shortcuts are supported in Ubuntu Xorg
53
+ sessions. Wayland restricts applications from capturing global keystrokes; in a
54
+ Wayland session BDA Lab opens visibly and remains usable as a normal window. To
55
+ enable the overlay hotkey, choose **Ubuntu on Xorg** from the login-screen
56
+ session menu.
57
+
58
+ Hold Numpad Minus to peek at the overlay; tap it three times quickly to pin or
59
+ unpin. Press **Ctrl+Shift+Q** to exit. Closing the window hides it so the
60
+ background service can keep running.
61
+
62
+ ## Windows
63
+
64
+ On Windows, install Python 3.10 or later with Tcl/Tk and run:
65
+
66
+ ```powershell
67
+ py -m pip install --upgrade bdalabb
68
+ bdalabb
69
+ ```
70
+
71
+ The same Numpad Minus and Ctrl+Shift+Q shortcuts are available.
72
+
73
+ ## Included program files
74
+
75
+ The package includes the Matrix Multiplication MapReduce lab with its Java
76
+ source, run commands, and two input files. Use **Add program folder** to add
77
+ other complete programs; imported files are copied into the per-user data
78
+ directory and the originals are left unchanged.
79
+
80
+ ## Development
81
+
82
+ ```bash
83
+ python -m venv .venv
84
+ . .venv/bin/activate
85
+ python -m pip install --upgrade pip build
86
+ python -m pip install -e ".[dev]"
87
+ python -m unittest discover -s tests -v
88
+ python -m build
89
+ ```
@@ -0,0 +1,23 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/bdalabb.egg-info/PKG-INFO
4
+ src/bdalabb.egg-info/SOURCES.txt
5
+ src/bdalabb.egg-info/dependency_links.txt
6
+ src/bdalabb.egg-info/entry_points.txt
7
+ src/bdalabb.egg-info/requires.txt
8
+ src/bdalabb.egg-info/top_level.txt
9
+ src/labprograms/__init__.py
10
+ src/labprograms/__main__.py
11
+ src/labprograms/app.py
12
+ src/labprograms/catalog.py
13
+ src/labprograms/hotkeys.py
14
+ src/labprograms/preview.py
15
+ src/labprograms/service.py
16
+ src/labprograms/programs/program1-matrix-multiplication/MatrixMulti.java
17
+ src/labprograms/programs/program1-matrix-multiplication/RUN_COMMANDS.txt
18
+ src/labprograms/programs/program1-matrix-multiplication/input1.txt
19
+ src/labprograms/programs/program1-matrix-multiplication/input2.txt
20
+ src/labprograms/programs/program1-matrix-multiplication/program.json
21
+ tests/test_catalog.py
22
+ tests/test_hotkeys.py
23
+ tests/test_service.py
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ bdalabb-service = labprograms.service:main
3
+
4
+ [gui_scripts]
5
+ bdalabb = labprograms.app:main
@@ -0,0 +1,6 @@
1
+
2
+ [:platform_system == "Linux"]
3
+ python-xlib>=0.33
4
+
5
+ [dev]
6
+ build>=1.2
@@ -0,0 +1 @@
1
+ labprograms
@@ -0,0 +1,3 @@
1
+ """Lab Program Library desktop package."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,5 @@
1
+ from .app import main
2
+
3
+
4
+ if __name__ == "__main__":
5
+ raise SystemExit(main())