wrkmon 1.0.1__tar.gz → 1.2.0__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.
Files changed (55) hide show
  1. {wrkmon-1.0.1/wrkmon.egg-info → wrkmon-1.2.0}/PKG-INFO +170 -166
  2. {wrkmon-1.0.1 → wrkmon-1.2.0}/README.md +0 -0
  3. {wrkmon-1.0.1 → wrkmon-1.2.0}/pyproject.toml +6 -2
  4. {wrkmon-1.0.1 → wrkmon-1.2.0}/setup.cfg +4 -4
  5. {wrkmon-1.0.1 → wrkmon-1.2.0}/tests/test_core.py +0 -0
  6. {wrkmon-1.0.1 → wrkmon-1.2.0}/tests/test_utils.py +0 -0
  7. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/__init__.py +1 -1
  8. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/__main__.py +0 -0
  9. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/app.py +297 -3
  10. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/cli.py +100 -0
  11. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/core/__init__.py +0 -0
  12. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/core/cache.py +0 -0
  13. wrkmon-1.2.0/wrkmon/core/media_keys.py +377 -0
  14. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/core/player.py +0 -0
  15. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/core/queue.py +55 -0
  16. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/core/youtube.py +102 -0
  17. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/data/__init__.py +0 -0
  18. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/data/database.py +120 -0
  19. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/data/migrations.py +26 -0
  20. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/data/models.py +0 -0
  21. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/__init__.py +0 -0
  22. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/components.py +0 -0
  23. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/screens/__init__.py +0 -0
  24. wrkmon-1.2.0/wrkmon/ui/screens/help.py +80 -0
  25. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/screens/history.py +0 -0
  26. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/screens/player.py +0 -0
  27. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/screens/playlist.py +0 -0
  28. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/screens/search.py +0 -0
  29. wrkmon-1.2.0/wrkmon/ui/theme.py +583 -0
  30. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/views/search.py +168 -12
  31. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/widgets/header.py +31 -1
  32. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/widgets/player_bar.py +40 -7
  33. wrkmon-1.2.0/wrkmon/ui/widgets/thumbnail.py +230 -0
  34. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/utils/__init__.py +0 -0
  35. wrkmon-1.2.0/wrkmon/utils/ascii_art.py +408 -0
  36. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/utils/config.py +85 -4
  37. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/utils/stealth.py +0 -0
  38. wrkmon-1.2.0/wrkmon/utils/updater.py +311 -0
  39. {wrkmon-1.0.1 → wrkmon-1.2.0/wrkmon.egg-info}/PKG-INFO +170 -166
  40. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon.egg-info/SOURCES.txt +6 -1
  41. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon.egg-info/dependency_links.txt +0 -0
  42. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon.egg-info/entry_points.txt +0 -0
  43. wrkmon-1.2.0/wrkmon.egg-info/requires.txt +19 -0
  44. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon.egg-info/top_level.txt +0 -0
  45. wrkmon-1.0.1/wrkmon/ui/theme.py +0 -326
  46. wrkmon-1.0.1/wrkmon.egg-info/requires.txt +0 -11
  47. {wrkmon-1.0.1 → wrkmon-1.2.0}/LICENSE +0 -0
  48. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/messages.py +0 -0
  49. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/views/__init__.py +0 -0
  50. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/views/history.py +0 -0
  51. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/views/playlists.py +0 -0
  52. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/views/queue.py +0 -0
  53. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/widgets/__init__.py +0 -0
  54. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/ui/widgets/result_item.py +0 -0
  55. {wrkmon-1.0.1 → wrkmon-1.2.0}/wrkmon/utils/mpv_installer.py +0 -0
@@ -1,166 +1,170 @@
1
- Metadata-Version: 2.4
2
- Name: wrkmon
3
- Version: 1.0.1
4
- Summary: Stealth TUI YouTube audio player - stream music while looking productive
5
- Author-email: Umar Khan Yousafzai <umerfarooqkhan325@gmail.com>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube
8
- Project-URL: Documentation, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube#readme
9
- Project-URL: Repository, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube
10
- Project-URL: Issues, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube/issues
11
- Keywords: youtube,audio,player,tui,music,stealth,productivity,terminal
12
- Classifier: Development Status :: 4 - Beta
13
- Classifier: Environment :: Console
14
- Classifier: Intended Audience :: Developers
15
- Classifier: Intended Audience :: End Users/Desktop
16
- Classifier: Operating System :: OS Independent
17
- Classifier: Operating System :: Microsoft :: Windows
18
- Classifier: Operating System :: POSIX :: Linux
19
- Classifier: Operating System :: MacOS
20
- Classifier: Programming Language :: Python :: 3
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.11
23
- Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Topic :: Multimedia :: Sound/Audio :: Players
25
- Requires-Python: >=3.10
26
- Description-Content-Type: text/markdown
27
- License-File: LICENSE
28
- Requires-Dist: textual>=0.50.0
29
- Requires-Dist: typer>=0.9.0
30
- Requires-Dist: yt-dlp>=2024.0.0
31
- Requires-Dist: rich>=13.0.0
32
- Requires-Dist: pywin32>=306; sys_platform == "win32"
33
- Provides-Extra: dev
34
- Requires-Dist: pytest>=8.0.0; extra == "dev"
35
- Requires-Dist: ruff>=0.3.0; extra == "dev"
36
- Dynamic: license-file
37
-
38
- # wrkmon
39
-
40
- **Terminal-based YouTube Music Player** - Listen to music right from your terminal!
41
-
42
- A beautiful TUI (Terminal User Interface) for streaming YouTube audio. No browser needed, just your terminal.
43
-
44
- ![License](https://img.shields.io/badge/license-MIT-blue.svg)
45
- ![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)
46
- ![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)
47
- ![PyPI](https://img.shields.io/pypi/v/wrkmon.svg)
48
-
49
- ## Features
50
-
51
- - Search and stream YouTube audio
52
- - Beautiful terminal interface
53
- - Queue management with shuffle/repeat
54
- - Play history and playlists
55
- - Keyboard-driven controls
56
- - Cross-platform (Windows, macOS, Linux)
57
-
58
- ## Installation
59
-
60
- ### pip (Recommended)
61
-
62
- ```bash
63
- pip install wrkmon
64
- ```
65
-
66
- > **Note:** You also need mpv installed:
67
- > - Windows: `winget install mpv`
68
- > - macOS: `brew install mpv`
69
- > - Linux: `sudo apt install mpv`
70
-
71
- ### Quick Install Scripts
72
-
73
- **Windows (PowerShell):**
74
- ```powershell
75
- irm https://raw.githubusercontent.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube/main/install.ps1 | iex
76
- ```
77
-
78
- **macOS / Linux:**
79
- ```bash
80
- curl -sSL https://raw.githubusercontent.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube/main/install.sh | bash
81
- ```
82
-
83
- ### Package Managers
84
-
85
- ```powershell
86
- # Windows (Chocolatey)
87
- choco install wrkmon
88
-
89
- # macOS (Homebrew) - coming soon
90
- brew install wrkmon
91
-
92
- # Linux (Snap) - coming soon
93
- sudo snap install wrkmon
94
- ```
95
-
96
- ## Usage
97
-
98
- ```bash
99
- wrkmon # Launch the TUI
100
- wrkmon search "q" # Quick search
101
- wrkmon play <id> # Play a video
102
- wrkmon history # View history
103
- ```
104
-
105
- ## Keyboard Controls
106
-
107
- | Key | Action |
108
- |-----|--------|
109
- | `F1` | Search view |
110
- | `F2` | Queue view |
111
- | `F3` | History view |
112
- | `F4` | Playlists view |
113
- | `F5` | Play / Pause |
114
- | `F6` | Volume down |
115
- | `F7` | Volume up |
116
- | `F8` | Next track |
117
- | `F9` | Stop |
118
- | `F10` | Add to queue |
119
- | `/` | Focus search |
120
- | `Enter` | Play selected |
121
- | `a` | Add to queue |
122
- | `Ctrl+C` | Quit |
123
-
124
- ## Screenshots
125
-
126
- ```
127
- ┌─────────────────────────────────────────────────────────┐
128
- │ wrkmon [Search] │
129
- ├─────────────────────────────────────────────────────────┤
130
- │ Search: lofi beats │
131
- ├─────────────────────────────────────────────────────────┤
132
- # Title Channel Duration
133
- │ 1 Lofi Hip Hop Radio ChilledCow 3:24:15│
134
- 2 Jazz Lofi Beats Lofi Girl 2:45:00
135
- │ 3 Study Music Playlist Study 1:30:22│
136
- ├─────────────────────────────────────────────────────────┤
137
- Now Playing: Lofi Beats advancement █████░░░░░ 1:23:45
138
- F1 Search F2 Queue F5 Play/Pause F9 Stop
139
- └─────────────────────────────────────────────────────────┘
140
- ```
141
-
142
- ## Requirements
143
-
144
- - Python 3.10+
145
- - mpv media player
146
-
147
- ## Development
148
-
149
- ```bash
150
- git clone https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube.git
151
- cd Wrkmon-TUI-Youtube
152
- pip install -e ".[dev]"
153
- pytest
154
- ```
155
-
156
- ## License
157
-
158
- MIT License - see [LICENSE](LICENSE) for details.
159
-
160
- ## Author
161
-
162
- **Umar Khan Yousafzai**
163
-
164
- ---
165
-
166
- *Enjoy your music!*
1
+ Metadata-Version: 2.4
2
+ Name: wrkmon
3
+ Version: 1.2.0
4
+ Summary: Stealth TUI YouTube audio player - stream music while looking productive
5
+ Author-email: Umar Khan Yousafzai <umerfarooqkhan325@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube
8
+ Project-URL: Documentation, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube#readme
9
+ Project-URL: Repository, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube
10
+ Project-URL: Issues, https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube/issues
11
+ Keywords: youtube,audio,player,tui,music,stealth,productivity,terminal
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: End Users/Desktop
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Operating System :: Microsoft :: Windows
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Operating System :: MacOS
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players
25
+ Requires-Python: >=3.10
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Requires-Dist: textual>=0.50.0
29
+ Requires-Dist: typer>=0.9.0
30
+ Requires-Dist: yt-dlp>=2025.1.0
31
+ Requires-Dist: rich>=13.0.0
32
+ Requires-Dist: packaging>=21.0
33
+ Requires-Dist: Pillow>=9.0.0
34
+ Requires-Dist: pywin32>=306; sys_platform == "win32"
35
+ Requires-Dist: dbus-next>=0.2.3; sys_platform == "linux"
36
+ Requires-Dist: pynput>=1.7.6; sys_platform == "win32" or sys_platform == "darwin"
37
+ Provides-Extra: dev
38
+ Requires-Dist: pytest>=8.0.0; extra == "dev"
39
+ Requires-Dist: ruff>=0.3.0; extra == "dev"
40
+ Dynamic: license-file
41
+
42
+ # wrkmon
43
+
44
+ **Terminal-based YouTube Music Player** - Listen to music right from your terminal!
45
+
46
+ A beautiful TUI (Terminal User Interface) for streaming YouTube audio. No browser needed, just your terminal.
47
+
48
+ ![License](https://img.shields.io/badge/license-MIT-blue.svg)
49
+ ![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)
50
+ ![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)
51
+ ![PyPI](https://img.shields.io/pypi/v/wrkmon.svg)
52
+
53
+ ## Features
54
+
55
+ - Search and stream YouTube audio
56
+ - Beautiful terminal interface
57
+ - Queue management with shuffle/repeat
58
+ - Play history and playlists
59
+ - Keyboard-driven controls
60
+ - Cross-platform (Windows, macOS, Linux)
61
+
62
+ ## Installation
63
+
64
+ ### pip (Recommended)
65
+
66
+ ```bash
67
+ pip install wrkmon
68
+ ```
69
+
70
+ > **Note:** You also need mpv installed:
71
+ > - Windows: `winget install mpv`
72
+ > - macOS: `brew install mpv`
73
+ > - Linux: `sudo apt install mpv`
74
+
75
+ ### Quick Install Scripts
76
+
77
+ **Windows (PowerShell):**
78
+ ```powershell
79
+ irm https://raw.githubusercontent.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube/main/install.ps1 | iex
80
+ ```
81
+
82
+ **macOS / Linux:**
83
+ ```bash
84
+ curl -sSL https://raw.githubusercontent.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube/main/install.sh | bash
85
+ ```
86
+
87
+ ### Package Managers
88
+
89
+ ```powershell
90
+ # Windows (Chocolatey)
91
+ choco install wrkmon
92
+
93
+ # macOS (Homebrew) - coming soon
94
+ brew install wrkmon
95
+
96
+ # Linux (Snap) - coming soon
97
+ sudo snap install wrkmon
98
+ ```
99
+
100
+ ## Usage
101
+
102
+ ```bash
103
+ wrkmon # Launch the TUI
104
+ wrkmon search "q" # Quick search
105
+ wrkmon play <id> # Play a video
106
+ wrkmon history # View history
107
+ ```
108
+
109
+ ## Keyboard Controls
110
+
111
+ | Key | Action |
112
+ |-----|--------|
113
+ | `F1` | Search view |
114
+ | `F2` | Queue view |
115
+ | `F3` | History view |
116
+ | `F4` | Playlists view |
117
+ | `F5` | Play / Pause |
118
+ | `F6` | Volume down |
119
+ | `F7` | Volume up |
120
+ | `F8` | Next track |
121
+ | `F9` | Stop |
122
+ | `F10` | Add to queue |
123
+ | `/` | Focus search |
124
+ | `Enter` | Play selected |
125
+ | `a` | Add to queue |
126
+ | `Ctrl+C` | Quit |
127
+
128
+ ## Screenshots
129
+
130
+ ```
131
+ ┌─────────────────────────────────────────────────────────┐
132
+ wrkmon [Search]
133
+ ├─────────────────────────────────────────────────────────┤
134
+ Search: lofi beats
135
+ ├─────────────────────────────────────────────────────────┤
136
+ │ # Title Channel Duration│
137
+ 1 Lofi Hip Hop Radio ChilledCow 3:24:15
138
+ 2 Jazz Lofi Beats Lofi Girl 2:45:00
139
+ │ 3 Study Music Playlist Study 1:30:22│
140
+ ├─────────────────────────────────────────────────────────┤
141
+ │ ▶ Now Playing: Lofi Beats advancement █████░░░░░ 1:23:45 │
142
+ │ F1 Search F2 Queue F5 Play/Pause F9 Stop │
143
+ └─────────────────────────────────────────────────────────┘
144
+ ```
145
+
146
+ ## Requirements
147
+
148
+ - Python 3.10+
149
+ - mpv media player
150
+
151
+ ## Development
152
+
153
+ ```bash
154
+ git clone https://github.com/Umar-Khan-Yousafzai/Wrkmon-TUI-Youtube.git
155
+ cd Wrkmon-TUI-Youtube
156
+ pip install -e ".[dev]"
157
+ pytest
158
+ ```
159
+
160
+ ## License
161
+
162
+ MIT License - see [LICENSE](LICENSE) for details.
163
+
164
+ ## Author
165
+
166
+ **Umar Khan Yousafzai**
167
+
168
+ ---
169
+
170
+ *Enjoy your music!*
File without changes
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "wrkmon"
7
- version = "1.0.1"
7
+ version = "1.2.0"
8
8
  description = "Stealth TUI YouTube audio player - stream music while looking productive"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -31,9 +31,13 @@ classifiers = [
31
31
  dependencies = [
32
32
  "textual>=0.50.0",
33
33
  "typer>=0.9.0",
34
- "yt-dlp>=2024.0.0",
34
+ "yt-dlp>=2025.1.0",
35
35
  "rich>=13.0.0",
36
+ "packaging>=21.0",
37
+ "Pillow>=9.0.0",
36
38
  "pywin32>=306; sys_platform == 'win32'",
39
+ "dbus-next>=0.2.3; sys_platform == 'linux'",
40
+ "pynput>=1.7.6; sys_platform == 'win32' or sys_platform == 'darwin'",
37
41
  ]
38
42
 
39
43
  [project.optional-dependencies]
@@ -1,4 +1,4 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  """wrkmon - Work Monitor: A developer productivity tool."""
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "1.2.0"
4
4
  __app_name__ = "wrkmon"
File without changes