vappman 0.9.2__tar.gz → 0.9.4__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.
- vappman-0.9.4/.gitignore +6 -0
- {vappman-0.9.2/src/vappman.egg-info → vappman-0.9.4}/PKG-INFO +9 -10
- vappman-0.9.4/deploy +7 -0
- vappman-0.9.4/images/screen-2024-06-23-v0.7.mkv +0 -0
- vappman-0.9.4/images/vappman-with-filter.png +0 -0
- vappman-0.9.4/pyproject.toml +30 -0
- {vappman-0.9.2/src → vappman-0.9.4}/vappman/main.py +2 -1
- vappman-0.9.2/PKG-INFO +0 -90
- vappman-0.9.2/pyproject.toml +0 -96
- vappman-0.9.2/setup.cfg +0 -4
- vappman-0.9.2/src/vappman.egg-info/SOURCES.txt +0 -12
- vappman-0.9.2/src/vappman.egg-info/dependency_links.txt +0 -1
- vappman-0.9.2/src/vappman.egg-info/entry_points.txt +0 -2
- vappman-0.9.2/src/vappman.egg-info/requires.txt +0 -4
- vappman-0.9.2/src/vappman.egg-info/top_level.txt +0 -1
- {vappman-0.9.2 → vappman-0.9.4}/LICENSE +0 -0
- {vappman-0.9.2 → vappman-0.9.4}/README.md +0 -0
- {vappman-0.9.2/src → vappman-0.9.4}/vappman/PowerWindow.py +0 -0
- {vappman-0.9.2/src → vappman-0.9.4}/vappman/__init__.py +0 -0
vappman-0.9.4/.gitignore
ADDED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: vappman
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.4
|
|
4
4
|
Summary: A visual wrapper for appman
|
|
5
|
-
Author-email: Joe Defen <joedef@google.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/joedefen/vappman
|
|
8
|
-
Project-URL: Bug Tracker, https://github.com/joedefen/vappman/issues
|
|
9
5
|
Keywords: app,installer,manager,appimages
|
|
6
|
+
Author-email: Joe Defen <joedef@google.com>
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
10
9
|
Classifier: Programming Language :: Python :: 3
|
|
11
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
12
11
|
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
-
Requires-Python: >=3.8
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
12
|
License-File: LICENSE
|
|
16
|
-
Requires-Dist: importlib-metadata; python_version
|
|
17
|
-
|
|
13
|
+
Requires-Dist: importlib-metadata; python_version<"3.8"
|
|
14
|
+
Project-URL: Bug Tracker, https://github.com/joedefen/vappman/issues
|
|
15
|
+
Project-URL: Homepage, https://github.com/joedefen/vappman
|
|
18
16
|
|
|
19
17
|
# vappman
|
|
20
18
|
`vappman` presents a visual (curses) interface to `appman`.
|
|
@@ -88,3 +86,4 @@ NOTES: in this example:
|
|
|
88
86
|
|
|
89
87
|
## Screen Recording (Intro to vappman based on v0.9)
|
|
90
88
|
[](https://www.youtube.com/watch?v=fC2EYMMcMQk)
|
|
89
|
+
|
vappman-0.9.4/deploy
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["flit_core>=3.4"]
|
|
3
|
+
build-backend = "flit_core.buildapi"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "vappman"
|
|
7
|
+
version = "0.9.4"
|
|
8
|
+
description = "A visual wrapper for appman"
|
|
9
|
+
authors = [
|
|
10
|
+
{ name = "Joe Defen", email = "joedef@google.com" }
|
|
11
|
+
]
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
license = { text = "MIT" }
|
|
14
|
+
requires-python = ">=3.8"
|
|
15
|
+
keywords = ["app", "installer", "manager", "appimages"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: POSIX :: Linux"
|
|
20
|
+
]
|
|
21
|
+
dependencies = [
|
|
22
|
+
'importlib-metadata; python_version<"3.8"',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
"Homepage" = "https://github.com/joedefen/vappman"
|
|
27
|
+
"Bug Tracker" = "https://github.com/joedefen/vappman/issues"
|
|
28
|
+
|
|
29
|
+
[project.scripts]
|
|
30
|
+
vappman = "vappman.main:main"
|
|
@@ -80,7 +80,8 @@ class Vappman:
|
|
|
80
80
|
command = cmd.split()
|
|
81
81
|
# Run the command and capture the output
|
|
82
82
|
try:
|
|
83
|
-
result = subprocess.run(command, stdout=subprocess.PIPE,
|
|
83
|
+
result = subprocess.run(command, stdout=subprocess.PIPE,
|
|
84
|
+
text=True, encoding='utf-8', errors='ignore', check=False)
|
|
84
85
|
except Exception as exc:
|
|
85
86
|
Window.stop_curses()
|
|
86
87
|
print(f'FAILED: {command}: {exc}')
|
vappman-0.9.2/PKG-INFO
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: vappman
|
|
3
|
-
Version: 0.9.2
|
|
4
|
-
Summary: A visual wrapper for appman
|
|
5
|
-
Author-email: Joe Defen <joedef@google.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Project-URL: Homepage, https://github.com/joedefen/vappman
|
|
8
|
-
Project-URL: Bug Tracker, https://github.com/joedefen/vappman/issues
|
|
9
|
-
Keywords: app,installer,manager,appimages
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
-
Requires-Python: >=3.8
|
|
14
|
-
Description-Content-Type: text/markdown
|
|
15
|
-
License-File: LICENSE
|
|
16
|
-
Requires-Dist: importlib-metadata; python_version < "3.8"
|
|
17
|
-
Requires-Dist: psutil>=5.9
|
|
18
|
-
|
|
19
|
-
# vappman
|
|
20
|
-
`vappman` presents a visual (curses) interface to `appman`.
|
|
21
|
-
|
|
22
|
-
* Install `vappman` using `pipx install vappman`, or however you do so.
|
|
23
|
-
* Prerequisites: install [ivan-hc/AppMan: AppImage package manager to install, update (for real) and manage ALL of them locally thanks to "AM", the ever-growing AUR-inspired database listing (for now) 1900+ portable apps and programs for GNU/Linux. Manage your AppImages with the ease of APT and the power of PacMan.](https://github.com/ivan-hc/AppMan) and all of its prerequisites.
|
|
24
|
-
|
|
25
|
-
NOTE: `vappman` covers many capabilities of appman:
|
|
26
|
-
* implicitly, (-f) files (or show installed), (-l) list available apps,
|
|
27
|
-
and (-q) search the app list
|
|
28
|
-
* (-i) installing uninstalled apps
|
|
29
|
-
* (-r) removing installed apps
|
|
30
|
-
* (-b) backup / (-o) overwrite of installed apps
|
|
31
|
-
* (-a) about (i.e., more info) for all apps
|
|
32
|
-
* (-c) clean to remove unneeded files and directories
|
|
33
|
-
* (-u) update installed apps; and `vappman` uses "U" for update
|
|
34
|
-
all installed apps
|
|
35
|
-
|
|
36
|
-
But it does NOT cover:
|
|
37
|
-
* (-d) download install script
|
|
38
|
-
* (-h) help or full help for appman
|
|
39
|
-
* (-H) home or set $HOME directory for apps
|
|
40
|
-
* (-t) template for custom install template
|
|
41
|
-
* (-v) version of appman
|
|
42
|
-
* --force-latest to get the most recent stable release AND
|
|
43
|
-
all other options and unmentioned commands.
|
|
44
|
-
|
|
45
|
-
## Usage
|
|
46
|
-
* Run `vappman` from the command line.
|
|
47
|
-
* It presents some keys available on the top line.
|
|
48
|
-
* Use '?' to learn the navigation keys (e.g., you can use the mouse wheel,
|
|
49
|
-
arrow keys, and many `vi`-like keys)
|
|
50
|
-
* '?' also elaborates the meaning of the available keys for operations.
|
|
51
|
-
* NOTE: `ENTER` acts differently based on context:
|
|
52
|
-
* In help, it returns to the main menu.
|
|
53
|
-
* On an uninstalled app, it installs it.
|
|
54
|
-
* On an installed app, it uninstalls it.
|
|
55
|
-
* Then `vappman` presents a list of installed apps, followed by available/uninstalled apps.
|
|
56
|
-
* Installed apps have prefix '✔✔✔' (i.e., three checks).
|
|
57
|
-
* Uninstalled apps have prefix '◆' (i.e., a solid diamond).
|
|
58
|
-
* Enter `/` to enter a "filter" for installed/uninstalled apps, if you wish.
|
|
59
|
-
* If you enter plain ole "words", then those words must match:
|
|
60
|
-
* the start of words on the apps line (in order, but not contiguously) and/or
|
|
61
|
-
* the start of the remainder of the previous word match
|
|
62
|
-
(i.e., `/bit fight` matches `bitfighter`).
|
|
63
|
-
* Or you can enter an regular expression acceptable to python; e.g.,
|
|
64
|
-
* `^` matches the line starting with the app name
|
|
65
|
-
* `\b` matches a word boundary; and so forth.
|
|
66
|
-
* NOTES:
|
|
67
|
-
* `ESC` clears the filter and jumps to the top of the listing.
|
|
68
|
-
* Each time the filter is changed, the position jumps to the top of the listing.
|
|
69
|
-
* Use `i` to install apps, and `r` to remove apps. When you install or remove an app, `appman` drops out of `curses` mode, runs the `appman` command so you can see the result, and then prompts your to hit ENTER to return to `vappman.
|
|
70
|
-
* Use `t` to "test" an installed app. This launches a terminal emulator and then the app so you can see issues. This is not for daily use obviously, but for after install or when having unknown issues and you wish to start the investigation.
|
|
71
|
-
|
|
72
|
-
## Example Screenshot (of v0.9 ... current release will vary slightly)
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
NOTES: in this example:
|
|
78
|
-
* keys to the left of `❚` apply to the highlighted app; keys to the right apply globally.
|
|
79
|
-
* the filter is `card` so it shows app lines with words starting with `card`.
|
|
80
|
-
* the reverse video, current position is on `glabels`;
|
|
81
|
-
thus if `i` (or ENTER) is typed, `appman install glabels` is run.
|
|
82
|
-
* if the horizontal line (second line show) has no decorations, then you are looking
|
|
83
|
-
all the filtered apps; otherwise, the decoration suggests where you are in the
|
|
84
|
-
partial view of the filtered apps.
|
|
85
|
-
* the matching installed app has the '✔✔✔' prefix.
|
|
86
|
-
* the fixed top line shows mos of the available action keys (e.g., `q` quits the app)
|
|
87
|
-
* use `?` to open the help screen describing all keys (including navigation)
|
|
88
|
-
|
|
89
|
-
## Screen Recording (Intro to vappman based on v0.9)
|
|
90
|
-
[](https://www.youtube.com/watch?v=fC2EYMMcMQk)
|
vappman-0.9.2/pyproject.toml
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
# HOW TO DEVELOP
|
|
2
|
-
|
|
3
|
-
#
|
|
4
|
-
# Prep Work (ensure need modules are up-to-date):
|
|
5
|
-
# sudo apt install python3-pip
|
|
6
|
-
# sudo apt install python3-pip-whl
|
|
7
|
-
# pip install build --break-system-packages
|
|
8
|
-
# sudo apt install twine
|
|
9
|
-
# -- antiquated way
|
|
10
|
-
# sudo pacman -Syu python-pip
|
|
11
|
-
# sudo pacman -Syu python-build
|
|
12
|
-
# sudo pacman -Syu python-twine
|
|
13
|
-
# -- antiquated way
|
|
14
|
-
# python3 -m pip install --upgrade pip
|
|
15
|
-
# python3 -m pip install --upgrade build
|
|
16
|
-
# python3 -m pip install --upgrade twine
|
|
17
|
-
#
|
|
18
|
-
# Optionally, `python3 -m venv venv`, and then
|
|
19
|
-
# - source env/bin/activate # to activate
|
|
20
|
-
# - deactivate # to deactivate
|
|
21
|
-
#
|
|
22
|
-
# rm -rf ./dist && python3 -m build && pip install -e . --break-system-packages
|
|
23
|
-
#
|
|
24
|
-
# -OR-
|
|
25
|
-
# python3 -m vappman.main
|
|
26
|
-
#
|
|
27
|
-
# -OR-
|
|
28
|
-
# cd src/vappman && ./main.py
|
|
29
|
-
#
|
|
30
|
-
# -OR-
|
|
31
|
-
# src/vappman/main.py
|
|
32
|
-
|
|
33
|
-
# HOW TO PUBLISH...
|
|
34
|
-
# PUBLIC Build and deploy (from project directory):
|
|
35
|
-
# ## BUMP the version (below in [project])
|
|
36
|
-
# rm -rf dist; python3 -m build; ls dist/.
|
|
37
|
-
# python3 -m twine upload dist/* # keyring --disable # may be required
|
|
38
|
-
# ## Enter __token__ and the saved TOKEN (in bitwarden)
|
|
39
|
-
# pipx upgrade vappman || pipx install vappman # >= python3.11
|
|
40
|
-
# --OR-- sudo python3 -m pip install vappman # <= python3.10
|
|
41
|
-
# ## VISIT https://pypi.org/project/vappman and delete old versions
|
|
42
|
-
#
|
|
43
|
-
# TEST Build and test (from project directory):
|
|
44
|
-
# ## BUMP the version (below in [project])
|
|
45
|
-
# rm -r dist; python3 -m build
|
|
46
|
-
# python3 -m twine upload --repository testpypi dist/* # keyring --disable # may be required
|
|
47
|
-
# ## Enter __token__ and the saved TOKEN (in bitwarden)
|
|
48
|
-
# sudo python3 -m pip install --upgrade --index-url https://test.pypi.org/simple/ --no-deps --break-system-packages vappman
|
|
49
|
-
# ## VISIT https://test.pypi.org/project/vappman and delete old versions
|
|
50
|
-
|
|
51
|
-
[build-system]
|
|
52
|
-
requires = ["setuptools>=42", "wheel"]
|
|
53
|
-
build-backend = "setuptools.build_meta"
|
|
54
|
-
|
|
55
|
-
[project]
|
|
56
|
-
name = "vappman"
|
|
57
|
-
version = "0.9.2"
|
|
58
|
-
description = "A visual wrapper for appman"
|
|
59
|
-
authors = [
|
|
60
|
-
{ name = "Joe Defen", email = "joedef@google.com" }
|
|
61
|
-
]
|
|
62
|
-
readme = "README.md"
|
|
63
|
-
license = { text = "MIT" }
|
|
64
|
-
requires-python = ">=3.8"
|
|
65
|
-
|
|
66
|
-
keywords = ["app", "installer", "manager", "appimages", ]
|
|
67
|
-
|
|
68
|
-
classifiers = [
|
|
69
|
-
"Programming Language :: Python :: 3",
|
|
70
|
-
"License :: OSI Approved :: MIT License",
|
|
71
|
-
"Operating System :: POSIX :: Linux"
|
|
72
|
-
]
|
|
73
|
-
dependencies = [
|
|
74
|
-
'importlib-metadata; python_version<"3.8"',
|
|
75
|
-
'psutil>=5.9',
|
|
76
|
-
]
|
|
77
|
-
|
|
78
|
-
[project.urls]
|
|
79
|
-
"Homepage" = "https://github.com/joedefen/vappman"
|
|
80
|
-
"Bug Tracker" = "https://github.com/joedefen/vappman/issues"
|
|
81
|
-
|
|
82
|
-
[project.scripts]
|
|
83
|
-
vappman = "vappman.main:main"
|
|
84
|
-
|
|
85
|
-
[tool.setuptools]
|
|
86
|
-
package-dir = {"" = "src"}
|
|
87
|
-
|
|
88
|
-
[tool.setuptools.packages.find]
|
|
89
|
-
where = ["src"]
|
|
90
|
-
|
|
91
|
-
[tool.setuptools.package-data]
|
|
92
|
-
|
|
93
|
-
exclude = [
|
|
94
|
-
"__pycache__",
|
|
95
|
-
]
|
|
96
|
-
|
vappman-0.9.2/setup.cfg
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
LICENSE
|
|
2
|
-
README.md
|
|
3
|
-
pyproject.toml
|
|
4
|
-
src/vappman/PowerWindow.py
|
|
5
|
-
src/vappman/__init__.py
|
|
6
|
-
src/vappman/main.py
|
|
7
|
-
src/vappman.egg-info/PKG-INFO
|
|
8
|
-
src/vappman.egg-info/SOURCES.txt
|
|
9
|
-
src/vappman.egg-info/dependency_links.txt
|
|
10
|
-
src/vappman.egg-info/entry_points.txt
|
|
11
|
-
src/vappman.egg-info/requires.txt
|
|
12
|
-
src/vappman.egg-info/top_level.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
vappman
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|