lazyios 0.1.1__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.
- lazyios-0.1.1/.gitattributes +3 -0
- lazyios-0.1.1/.github/workflows/ci.yml +22 -0
- lazyios-0.1.1/.github/workflows/release.yml +89 -0
- lazyios-0.1.1/.gitignore +11 -0
- lazyios-0.1.1/LICENSE +674 -0
- lazyios-0.1.1/PKG-INFO +149 -0
- lazyios-0.1.1/README.md +116 -0
- lazyios-0.1.1/docs/screenshot.svg +205 -0
- lazyios-0.1.1/docs/social-preview.png +0 -0
- lazyios-0.1.1/install.ps1 +26 -0
- lazyios-0.1.1/install.sh +21 -0
- lazyios-0.1.1/packaging/entry.py +4 -0
- lazyios-0.1.1/packaging/lazyios.spec +33 -0
- lazyios-0.1.1/pyproject.toml +66 -0
- lazyios-0.1.1/src/lazyios/__init__.py +1 -0
- lazyios-0.1.1/src/lazyios/__main__.py +84 -0
- lazyios-0.1.1/src/lazyios/app.py +164 -0
- lazyios-0.1.1/src/lazyios/app.tcss +222 -0
- lazyios-0.1.1/src/lazyios/art.py +35 -0
- lazyios-0.1.1/src/lazyios/backend.py +131 -0
- lazyios-0.1.1/src/lazyios/device.py +438 -0
- lazyios-0.1.1/src/lazyios/fake.py +305 -0
- lazyios-0.1.1/src/lazyios/opener.py +35 -0
- lazyios-0.1.1/src/lazyios/parsing.py +120 -0
- lazyios-0.1.1/src/lazyios/screens.py +84 -0
- lazyios-0.1.1/src/lazyios/status.py +45 -0
- lazyios-0.1.1/src/lazyios/tabs/__init__.py +0 -0
- lazyios-0.1.1/src/lazyios/tabs/apps.py +36 -0
- lazyios-0.1.1/src/lazyios/tabs/base.py +129 -0
- lazyios-0.1.1/src/lazyios/tabs/logs.py +138 -0
- lazyios-0.1.1/src/lazyios/tabs/network.py +205 -0
- lazyios-0.1.1/src/lazyios/tabs/overview.py +105 -0
- lazyios-0.1.1/src/lazyios/tabs/processes.py +75 -0
- lazyios-0.1.1/src/lazyios/tabs/tools.py +169 -0
- lazyios-0.1.1/src/lazyios/theme.py +49 -0
- lazyios-0.1.1/src/lazyios/usbmuxd.py +88 -0
- lazyios-0.1.1/tests/conftest.py +6 -0
- lazyios-0.1.1/tests/test_app.py +340 -0
- lazyios-0.1.1/tests/test_parsing.py +146 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
test:
|
|
9
|
+
strategy:
|
|
10
|
+
fail-fast: false
|
|
11
|
+
matrix:
|
|
12
|
+
os: [ubuntu-latest, windows-latest]
|
|
13
|
+
runs-on: ${{ matrix.os }}
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.12"
|
|
19
|
+
- run: pip install -e ".[dev]"
|
|
20
|
+
- run: ruff check
|
|
21
|
+
- run: ruff format --check
|
|
22
|
+
- run: pytest
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
dist:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.12"
|
|
19
|
+
- run: pip install build
|
|
20
|
+
- run: python -m build
|
|
21
|
+
- uses: actions/upload-artifact@v4
|
|
22
|
+
with:
|
|
23
|
+
name: dist
|
|
24
|
+
path: dist/
|
|
25
|
+
|
|
26
|
+
# runs only once the trusted publisher is set up on PyPI and PYPI_PUBLISH=true is set
|
|
27
|
+
pypi:
|
|
28
|
+
needs: dist
|
|
29
|
+
if: vars.PYPI_PUBLISH == 'true'
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
environment: pypi
|
|
32
|
+
permissions:
|
|
33
|
+
id-token: write
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/download-artifact@v4
|
|
36
|
+
with:
|
|
37
|
+
name: dist
|
|
38
|
+
path: dist/
|
|
39
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
40
|
+
|
|
41
|
+
binaries:
|
|
42
|
+
strategy:
|
|
43
|
+
fail-fast: false
|
|
44
|
+
matrix:
|
|
45
|
+
include:
|
|
46
|
+
- os: windows-latest
|
|
47
|
+
built: dist/lazyios.exe
|
|
48
|
+
asset: lazyios-windows-x64.exe
|
|
49
|
+
- os: macos-latest
|
|
50
|
+
built: dist/lazyios
|
|
51
|
+
asset: lazyios-macos-arm64
|
|
52
|
+
- os: ubuntu-latest
|
|
53
|
+
built: dist/lazyios
|
|
54
|
+
asset: lazyios-linux-x64
|
|
55
|
+
runs-on: ${{ matrix.os }}
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/checkout@v4
|
|
58
|
+
- uses: actions/setup-python@v5
|
|
59
|
+
with:
|
|
60
|
+
python-version: "3.12"
|
|
61
|
+
- run: pip install . pyinstaller
|
|
62
|
+
- run: pyinstaller packaging/lazyios.spec --noconfirm
|
|
63
|
+
- run: cp ${{ matrix.built }} ${{ matrix.asset }}
|
|
64
|
+
shell: bash
|
|
65
|
+
- run: ./${{ matrix.asset }} --version
|
|
66
|
+
shell: bash
|
|
67
|
+
- run: ./${{ matrix.asset }} --selftest
|
|
68
|
+
shell: bash
|
|
69
|
+
- uses: actions/upload-artifact@v4
|
|
70
|
+
with:
|
|
71
|
+
name: bin-${{ matrix.os }}
|
|
72
|
+
path: ${{ matrix.asset }}
|
|
73
|
+
|
|
74
|
+
release:
|
|
75
|
+
needs: binaries
|
|
76
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
77
|
+
runs-on: ubuntu-latest
|
|
78
|
+
permissions:
|
|
79
|
+
contents: write
|
|
80
|
+
steps:
|
|
81
|
+
- uses: actions/download-artifact@v4
|
|
82
|
+
with:
|
|
83
|
+
pattern: bin-*
|
|
84
|
+
merge-multiple: true
|
|
85
|
+
path: out/
|
|
86
|
+
- run: cd out && sha256sum lazyios-* > SHA256SUMS
|
|
87
|
+
- uses: softprops/action-gh-release@v2
|
|
88
|
+
with:
|
|
89
|
+
files: out/*
|