python-voiceio 0.2.0__tar.gz → 0.2.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.
Files changed (60) hide show
  1. {python_voiceio-0.2.0/python_voiceio.egg-info → python_voiceio-0.2.1}/PKG-INFO +8 -9
  2. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/README.md +6 -6
  3. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/pyproject.toml +2 -2
  4. {python_voiceio-0.2.0 → python_voiceio-0.2.1/python_voiceio.egg-info}/PKG-INFO +8 -9
  5. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/python_voiceio.egg-info/requires.txt +3 -3
  6. python_voiceio-0.2.1/voiceio/__init__.py +1 -0
  7. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/cli.py +3 -3
  8. python_voiceio-0.2.0/voiceio/__init__.py +0 -1
  9. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/LICENSE +0 -0
  10. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/python_voiceio.egg-info/SOURCES.txt +0 -0
  11. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/python_voiceio.egg-info/dependency_links.txt +0 -0
  12. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/python_voiceio.egg-info/entry_points.txt +0 -0
  13. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/python_voiceio.egg-info/top_level.txt +0 -0
  14. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/setup.cfg +0 -0
  15. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_app_wiring.py +0 -0
  16. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_backend_probes.py +0 -0
  17. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_config.py +0 -0
  18. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_fallback.py +0 -0
  19. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_health.py +0 -0
  20. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_ibus_typer.py +0 -0
  21. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_platform.py +0 -0
  22. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_prebuffer.py +0 -0
  23. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_recorder_integration.py +0 -0
  24. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_streaming.py +0 -0
  25. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/tests/test_transcriber.py +0 -0
  26. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/__main__.py +0 -0
  27. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/app.py +0 -0
  28. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/backends.py +0 -0
  29. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/config.py +0 -0
  30. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/feedback.py +0 -0
  31. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/health.py +0 -0
  32. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/hotkeys/__init__.py +0 -0
  33. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/hotkeys/base.py +0 -0
  34. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/hotkeys/chain.py +0 -0
  35. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/hotkeys/evdev.py +0 -0
  36. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/hotkeys/pynput_backend.py +0 -0
  37. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/hotkeys/socket_backend.py +0 -0
  38. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/ibus/__init__.py +0 -0
  39. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/ibus/engine.py +0 -0
  40. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/platform.py +0 -0
  41. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/recorder.py +0 -0
  42. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/service.py +0 -0
  43. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/sounds/__init__.py +0 -0
  44. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/sounds/commit.wav +0 -0
  45. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/sounds/start.wav +0 -0
  46. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/sounds/stop.wav +0 -0
  47. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/streaming.py +0 -0
  48. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/transcriber.py +0 -0
  49. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/tray.py +0 -0
  50. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/__init__.py +0 -0
  51. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/base.py +0 -0
  52. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/chain.py +0 -0
  53. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/clipboard.py +0 -0
  54. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/ibus.py +0 -0
  55. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/pynput_type.py +0 -0
  56. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/wtype.py +0 -0
  57. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/xdotool.py +0 -0
  58. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/typers/ydotool.py +0 -0
  59. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/wizard.py +0 -0
  60. {python_voiceio-0.2.0 → python_voiceio-0.2.1}/voiceio/worker.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-voiceio
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Push-to-talk voice-to-text for Linux. Press a hotkey, speak, press again - text appears at your cursor.
5
5
  Author: Hugo Montenegro
6
6
  License-Expression: MIT
@@ -19,8 +19,7 @@ License-File: LICENSE
19
19
  Requires-Dist: faster-whisper>=1.0.0
20
20
  Requires-Dist: sounddevice>=0.4.6
21
21
  Requires-Dist: numpy>=1.24.0
22
- Provides-Extra: linux
23
- Requires-Dist: evdev>=1.6.0; extra == "linux"
22
+ Requires-Dist: evdev>=1.6.0; sys_platform == "linux"
24
23
  Provides-Extra: x11
25
24
  Requires-Dist: pynput>=1.7.6; extra == "x11"
26
25
  Provides-Extra: mac
@@ -36,8 +35,8 @@ Dynamic: license-file
36
35
  # voiceio
37
36
 
38
37
  [![CI](https://github.com/Hugo0/voiceio/actions/workflows/ci.yml/badge.svg)](https://github.com/Hugo0/voiceio/actions/workflows/ci.yml)
39
- [![PyPI](https://img.shields.io/pypi/v/voiceio)](https://pypi.org/project/voiceio/)
40
- [![Python](https://img.shields.io/pypi/pyversions/voiceio)](https://pypi.org/project/voiceio/)
38
+ [![PyPI](https://img.shields.io/pypi/v/python-voiceio)](https://pypi.org/project/python-voiceio/)
39
+ [![Python](https://img.shields.io/pypi/pyversions/python-voiceio)](https://pypi.org/project/python-voiceio/)
41
40
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
42
41
 
43
42
  Push-to-talk voice-to-text for Linux and macOS, on any app. Press a hotkey, speak, press again - text appears at your cursor.
@@ -60,7 +59,7 @@ Push-to-talk voice-to-text for Linux and macOS, on any app. Press a hotkey, spea
60
59
  sudo apt install pipx ibus gir1.2-ibus-1.0 python3-gi portaudio19-dev
61
60
 
62
61
  # 2. Install voiceio
63
- pipx install voiceio
62
+ pipx install python-voiceio
64
63
 
65
64
  # 3. Run the setup wizard
66
65
  voiceio setup
@@ -73,7 +72,7 @@ That's it. Press **Ctrl+Alt+V** (or your chosen hotkey) to start dictating.
73
72
 
74
73
  ```bash
75
74
  sudo dnf install pipx ibus python3-gobject portaudio-devel
76
- pipx install voiceio
75
+ pipx install python-voiceio
77
76
  voiceio setup
78
77
  ```
79
78
  </details>
@@ -83,7 +82,7 @@ voiceio setup
83
82
 
84
83
  ```bash
85
84
  sudo pacman -S python-pipx ibus python-gobject portaudio
86
- pipx install voiceio
85
+ pipx install python-voiceio
87
86
  voiceio setup
88
87
  ```
89
88
  </details>
@@ -194,7 +193,7 @@ voiceio auto-detects your platform and picks the best available backends. Run `v
194
193
 
195
194
  ```bash
196
195
  voiceio uninstall # removes service, IBus, shortcuts, symlinks
197
- pipx uninstall voiceio # removes the package
196
+ pipx uninstall python-voiceio # removes the package
198
197
  ```
199
198
 
200
199
  ## TODO
@@ -1,8 +1,8 @@
1
1
  # voiceio
2
2
 
3
3
  [![CI](https://github.com/Hugo0/voiceio/actions/workflows/ci.yml/badge.svg)](https://github.com/Hugo0/voiceio/actions/workflows/ci.yml)
4
- [![PyPI](https://img.shields.io/pypi/v/voiceio)](https://pypi.org/project/voiceio/)
5
- [![Python](https://img.shields.io/pypi/pyversions/voiceio)](https://pypi.org/project/voiceio/)
4
+ [![PyPI](https://img.shields.io/pypi/v/python-voiceio)](https://pypi.org/project/python-voiceio/)
5
+ [![Python](https://img.shields.io/pypi/pyversions/python-voiceio)](https://pypi.org/project/python-voiceio/)
6
6
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
7
7
 
8
8
  Push-to-talk voice-to-text for Linux and macOS, on any app. Press a hotkey, speak, press again - text appears at your cursor.
@@ -25,7 +25,7 @@ Push-to-talk voice-to-text for Linux and macOS, on any app. Press a hotkey, spea
25
25
  sudo apt install pipx ibus gir1.2-ibus-1.0 python3-gi portaudio19-dev
26
26
 
27
27
  # 2. Install voiceio
28
- pipx install voiceio
28
+ pipx install python-voiceio
29
29
 
30
30
  # 3. Run the setup wizard
31
31
  voiceio setup
@@ -38,7 +38,7 @@ That's it. Press **Ctrl+Alt+V** (or your chosen hotkey) to start dictating.
38
38
 
39
39
  ```bash
40
40
  sudo dnf install pipx ibus python3-gobject portaudio-devel
41
- pipx install voiceio
41
+ pipx install python-voiceio
42
42
  voiceio setup
43
43
  ```
44
44
  </details>
@@ -48,7 +48,7 @@ voiceio setup
48
48
 
49
49
  ```bash
50
50
  sudo pacman -S python-pipx ibus python-gobject portaudio
51
- pipx install voiceio
51
+ pipx install python-voiceio
52
52
  voiceio setup
53
53
  ```
54
54
  </details>
@@ -159,7 +159,7 @@ voiceio auto-detects your platform and picks the best available backends. Run `v
159
159
 
160
160
  ```bash
161
161
  voiceio uninstall # removes service, IBus, shortcuts, symlinks
162
- pipx uninstall voiceio # removes the package
162
+ pipx uninstall python-voiceio # removes the package
163
163
  ```
164
164
 
165
165
  ## TODO
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-voiceio"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "Push-to-talk voice-to-text for Linux. Press a hotkey, speak, press again - text appears at your cursor."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -23,10 +23,10 @@ dependencies = [
23
23
  "faster-whisper>=1.0.0",
24
24
  "sounddevice>=0.4.6",
25
25
  "numpy>=1.24.0",
26
+ "evdev>=1.6.0; sys_platform == 'linux'",
26
27
  ]
27
28
 
28
29
  [project.optional-dependencies]
29
- linux = ["evdev>=1.6.0"]
30
30
  x11 = ["pynput>=1.7.6"]
31
31
  mac = ["pynput>=1.7.6"]
32
32
  tray = ["pystray>=0.19", "Pillow>=10.0"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-voiceio
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Push-to-talk voice-to-text for Linux. Press a hotkey, speak, press again - text appears at your cursor.
5
5
  Author: Hugo Montenegro
6
6
  License-Expression: MIT
@@ -19,8 +19,7 @@ License-File: LICENSE
19
19
  Requires-Dist: faster-whisper>=1.0.0
20
20
  Requires-Dist: sounddevice>=0.4.6
21
21
  Requires-Dist: numpy>=1.24.0
22
- Provides-Extra: linux
23
- Requires-Dist: evdev>=1.6.0; extra == "linux"
22
+ Requires-Dist: evdev>=1.6.0; sys_platform == "linux"
24
23
  Provides-Extra: x11
25
24
  Requires-Dist: pynput>=1.7.6; extra == "x11"
26
25
  Provides-Extra: mac
@@ -36,8 +35,8 @@ Dynamic: license-file
36
35
  # voiceio
37
36
 
38
37
  [![CI](https://github.com/Hugo0/voiceio/actions/workflows/ci.yml/badge.svg)](https://github.com/Hugo0/voiceio/actions/workflows/ci.yml)
39
- [![PyPI](https://img.shields.io/pypi/v/voiceio)](https://pypi.org/project/voiceio/)
40
- [![Python](https://img.shields.io/pypi/pyversions/voiceio)](https://pypi.org/project/voiceio/)
38
+ [![PyPI](https://img.shields.io/pypi/v/python-voiceio)](https://pypi.org/project/python-voiceio/)
39
+ [![Python](https://img.shields.io/pypi/pyversions/python-voiceio)](https://pypi.org/project/python-voiceio/)
41
40
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
42
41
 
43
42
  Push-to-talk voice-to-text for Linux and macOS, on any app. Press a hotkey, speak, press again - text appears at your cursor.
@@ -60,7 +59,7 @@ Push-to-talk voice-to-text for Linux and macOS, on any app. Press a hotkey, spea
60
59
  sudo apt install pipx ibus gir1.2-ibus-1.0 python3-gi portaudio19-dev
61
60
 
62
61
  # 2. Install voiceio
63
- pipx install voiceio
62
+ pipx install python-voiceio
64
63
 
65
64
  # 3. Run the setup wizard
66
65
  voiceio setup
@@ -73,7 +72,7 @@ That's it. Press **Ctrl+Alt+V** (or your chosen hotkey) to start dictating.
73
72
 
74
73
  ```bash
75
74
  sudo dnf install pipx ibus python3-gobject portaudio-devel
76
- pipx install voiceio
75
+ pipx install python-voiceio
77
76
  voiceio setup
78
77
  ```
79
78
  </details>
@@ -83,7 +82,7 @@ voiceio setup
83
82
 
84
83
  ```bash
85
84
  sudo pacman -S python-pipx ibus python-gobject portaudio
86
- pipx install voiceio
85
+ pipx install python-voiceio
87
86
  voiceio setup
88
87
  ```
89
88
  </details>
@@ -194,7 +193,7 @@ voiceio auto-detects your platform and picks the best available backends. Run `v
194
193
 
195
194
  ```bash
196
195
  voiceio uninstall # removes service, IBus, shortcuts, symlinks
197
- pipx uninstall voiceio # removes the package
196
+ pipx uninstall python-voiceio # removes the package
198
197
  ```
199
198
 
200
199
  ## TODO
@@ -2,13 +2,13 @@ faster-whisper>=1.0.0
2
2
  sounddevice>=0.4.6
3
3
  numpy>=1.24.0
4
4
 
5
+ [:sys_platform == "linux"]
6
+ evdev>=1.6.0
7
+
5
8
  [dev]
6
9
  pytest>=7.0
7
10
  pytest-mock
8
11
 
9
- [linux]
10
- evdev>=1.6.0
11
-
12
12
  [mac]
13
13
  pynput>=1.7.6
14
14
 
@@ -0,0 +1 @@
1
+ __version__ = "0.2.1"
@@ -436,7 +436,7 @@ def _cmd_uninstall() -> None:
436
436
  try:
437
437
  subprocess.run(["pipx", "uninstall", "voiceio"], timeout=30)
438
438
  except (FileNotFoundError, subprocess.TimeoutExpired):
439
- print("Failed. Run manually: pipx uninstall voiceio")
439
+ print("Failed. Run manually: pipx uninstall python-voiceio")
440
440
  else:
441
441
  # Dev install or pip install: check if voiceio is still reachable
442
442
  voiceio_bin = shutil.which("voiceio")
@@ -444,10 +444,10 @@ def _cmd_uninstall() -> None:
444
444
  print(f"\nNote: 'voiceio' is still available at {voiceio_bin}")
445
445
  if ".venv" in str(voiceio_bin) or "site-packages" in str(voiceio_bin):
446
446
  print("This is a development install. To fully remove:")
447
- print(" pip uninstall voiceio")
447
+ print(" pip uninstall python-voiceio")
448
448
  else:
449
449
  print("To fully remove the package:")
450
- print(" pip uninstall voiceio")
450
+ print(" pip uninstall python-voiceio")
451
451
  else:
452
452
  print("\nvoiceio fully removed.")
453
453
 
@@ -1 +0,0 @@
1
- __version__ = "0.2.0"
File without changes
File without changes