4 Commits

Author SHA1 Message Date
e20695a174 update README with AUR info 2026-02-16 21:30:34 +01:00
50ae850433 add PGKBUILD 2026-02-16 21:01:24 +01:00
shv187
be89c511f9 Fix deps on non-Windows platforms. 2026-02-15 13:56:28 +01:00
Szymon
e48ed5370a Add secure password storing (#4)
* Added xdg-compliant path for Linux and macOS

Created config.py

Moved system path logic to config.py

* Added secure password storing with keyring

* fixed not showing login screen if no password is saved

* Update readme with new config info

* add pywin32 lib
2026-02-15 13:21:23 +01:00
3 changed files with 51 additions and 4 deletions

31
PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: <szymon_jozef@proton.me>
_pkgname="zutui"
pkgname="$_pkgname-git"
pkgver=1.0.0
pkgrel=1
pkgdesc="TUI for accessing edziekanat of ZUT university"
arch=("any")
url="https://github.com/shv187/zutui"
license=("MIT")
depends=("python" "python-keyring" "python-textual")
makedepends=("git" "python-build" "python-installer" "python-wheel" "python-setuptools")
provides=("zutui")
conflicts=("zutui")
source=("$_pkgname::git+${url}.git")
sha256sums=("SKIP")
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

View File

@@ -10,15 +10,31 @@
<img width="100%" height="auto" alt="Grades Page" src="https://github.com/user-attachments/assets/6536c74d-13a5-436e-af3d-5522216ce8c1" /> <img width="100%" height="auto" alt="Grades Page" src="https://github.com/user-attachments/assets/6536c74d-13a5-436e-af3d-5522216ce8c1" />
# Usage # Usage
### 1. Download: ## 1. Download:
### On Windows:
``` ```
pip install git+https://github.com/shv187/zutui.git pip install git+https://github.com/shv187/zutui.git
``` ```
### 2. Start: ### Arch Linux:
You can use PKGBUILD. Just run:
```bash
makepkg -si
```
or if you want to, you can use AUR helper of your choice. For example:
```bash
yay -S zutui-git
```
### MacOs and other Linux distros:
Most distros environments are externally managed by the system package manager, so the most straightforward way would be using something like `pipx`.
```bash
pipx install git+https://github.com/shv187/zutui.git
```
## 2. Start:
``` ```
zutui zutui
``` ```
### 3. Enjoy :) ## 3. Enjoy :)
# Bindings # Bindings
`j` - Down `j` - Down

View File

@@ -9,7 +9,7 @@ setup(
"beautifulsoup4", "beautifulsoup4",
"textual", "textual",
"keyring", "keyring",
"pywin32" "pywin32; sys_platform == 'win32'"
], ],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [