lauschkiste-plugins 0.1.0a7__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 (67) hide show
  1. lauschkiste_plugins-0.1.0a7/.gitignore +55 -0
  2. lauschkiste_plugins-0.1.0a7/LICENSE +22 -0
  3. lauschkiste_plugins-0.1.0a7/PKG-INFO +65 -0
  4. lauschkiste_plugins-0.1.0a7/README.md +25 -0
  5. lauschkiste_plugins-0.1.0a7/interfaces/audiobookshelf.json +54 -0
  6. lauschkiste_plugins-0.1.0a7/interfaces/device_pc_box.json +15 -0
  7. lauschkiste_plugins-0.1.0a7/interfaces/device_pc_test.json +12 -0
  8. lauschkiste_plugins-0.1.0a7/interfaces/podcast_directories.json +11 -0
  9. lauschkiste_plugins-0.1.0a7/interfaces/radio_directories.json +11 -0
  10. lauschkiste_plugins-0.1.0a7/interfaces/rfid_generic_nfcpy.json +11 -0
  11. lauschkiste_plugins-0.1.0a7/interfaces/rfid_generic_usb.json +11 -0
  12. lauschkiste_plugins-0.1.0a7/interfaces/rfid_mfrc522_i2c.json +14 -0
  13. lauschkiste_plugins-0.1.0a7/interfaces/rfid_pn532_i2c_py532.json +14 -0
  14. lauschkiste_plugins-0.1.0a7/interfaces/rfid_rc522_spi.json +15 -0
  15. lauschkiste_plugins-0.1.0a7/interfaces/rfid_rdm6300_serial.json +11 -0
  16. lauschkiste_plugins-0.1.0a7/interfaces/samba.json +119 -0
  17. lauschkiste_plugins-0.1.0a7/pyproject.toml +85 -0
  18. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/__init__.py +118 -0
  19. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/client.py +73 -0
  20. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/ledger.py +76 -0
  21. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/provider.py +41 -0
  22. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/source.py +371 -0
  23. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/translations/de.json +26 -0
  24. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_audiobookshelf/translations/en.json +26 -0
  25. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_device_pc/__init__.py +33 -0
  26. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_device_pc/translations/de.json +12 -0
  27. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_device_pc/translations/en.json +12 -0
  28. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_directories/__init__.py +141 -0
  29. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_directories/directories.py +167 -0
  30. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_directories/translations/de.json +134 -0
  31. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_directories/translations/en.json +134 -0
  32. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/__init__.py +57 -0
  33. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/configure.py +289 -0
  34. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_nfcpy/README.md +3 -0
  35. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_nfcpy/description.py +3 -0
  36. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_nfcpy/generic_nfcpy.py +128 -0
  37. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_nfcpy/setup.inc.sh +42 -0
  38. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_usb/README.md +3 -0
  39. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_usb/description.py +1 -0
  40. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/generic_usb/generic_usb.py +214 -0
  41. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/inputminus.py +84 -0
  42. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/mfrc522_i2c/README.md +3 -0
  43. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/mfrc522_i2c/description.py +2 -0
  44. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/mfrc522_i2c/mfrc522_i2c.py +83 -0
  45. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/mfrc522_i2c/setup.inc.sh +9 -0
  46. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/pn532_i2c_py532/README.md +3 -0
  47. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/pn532_i2c_py532/description.py +3 -0
  48. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/pn532_i2c_py532/pn532_i2c_py532.py +65 -0
  49. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/pn532_i2c_py532/setup.inc.sh +9 -0
  50. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/README.md +3 -0
  51. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/description.py +2 -0
  52. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/pirc522/LICENSE.md +22 -0
  53. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/pirc522/__init__.py +8 -0
  54. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/pirc522/rfid.py +576 -0
  55. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/pirc522/util.py +154 -0
  56. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/pirc522/version.py +1 -0
  57. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/rc522_spi.py +160 -0
  58. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rc522_spi/setup.inc.sh +8 -0
  59. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rdm6300_serial/README.md +3 -0
  60. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rdm6300_serial/description.py +2 -0
  61. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rdm6300_serial/rdm6300_serial.py +158 -0
  62. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/rdm6300_serial/setup.inc.sh +9 -0
  63. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/translations/de.json +28 -0
  64. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_rfid_readers/translations/en.json +28 -0
  65. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_samba/__init__.py +102 -0
  66. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_samba/translations/de.json +8 -0
  67. lauschkiste_plugins-0.1.0a7/src/lauschkiste_plugin_samba/translations/en.json +8 -0
@@ -0,0 +1,55 @@
1
+ # Shared folder
2
+ /shared/library/*
3
+ /shared/logs/*
4
+ /shared/playlists/*
5
+ /shared/settings/*
6
+ /shared/logs/*.log*
7
+ /shared/*.*
8
+ /shared/*
9
+ /packages/webapp/public/cover-cache/*.*
10
+ /packages/webapp/test-results/
11
+ /packages/lauschkiste/src/lauschkiste/webapp/
12
+ /dist/
13
+ /packages/webapp/playwright-report/
14
+
15
+ # Byte-compiled / optimized / DLL files
16
+ __pycache__/
17
+ *.py[cod]
18
+
19
+ .git
20
+ .venv
21
+ *~
22
+ *.*~
23
+ *.pyc
24
+ *.idea
25
+ *.vscode
26
+ .DS_Store
27
+ **/.mypy_cache
28
+
29
+ # Keep folders with .gitkeep
30
+ !/**/.gitkeep
31
+
32
+ # Development Scratchpads
33
+ /**/scratch
34
+ /**/scratch_*
35
+
36
+ # Local debug/build artifacts
37
+ /app.log
38
+ /*.tar.gz
39
+
40
+ # bam local cache and test reports
41
+ /.bam/
42
+ /.reports/
43
+ /.coverage
44
+ /coverage.xml
45
+
46
+ # Local secrets for tests and scripts (never committed)
47
+ .env
48
+ .env.local
49
+
50
+ # Documentation site (generated from documentation/ by site/scripts/sync-docs.mjs)
51
+ /site/node_modules/
52
+ /site/dist/
53
+ /site/.astro/
54
+ /site/src/content/docs/
55
+ /site/public/screenshots/
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Micz Flor
4
+ Copyright (c) 2026 the Lauschkiste contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.5
2
+ Name: lauschkiste-plugins
3
+ Version: 0.1.0a7
4
+ Summary: Lauschkiste plugins: computers as devices, RFID readers, Samba, Audiobookshelf, podcast and radio directories
5
+ Project-URL: Homepage, https://github.com/ladidadida/lauschkiste
6
+ Project-URL: Documentation, https://github.com/ladidadida/lauschkiste/tree/main/documentation
7
+ Project-URL: Issues, https://github.com/ladidadida/lauschkiste/issues
8
+ Project-URL: Changelog, https://github.com/ladidadida/lauschkiste/releases
9
+ Author: the Lauschkiste contributors
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: audiobookshelf,lauschkiste,nfc,plugin,rfid,samba
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: End Users/Desktop
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Home Automation
22
+ Classifier: Topic :: System :: Hardware
23
+ Requires-Python: >=3.11
24
+ Requires-Dist: lauschkiste-core==0.1.0a7
25
+ Requires-Dist: lauschkiste==0.1.0a7
26
+ Requires-Dist: requests
27
+ Provides-Extra: generic-nfcpy
28
+ Requires-Dist: nfcpy; extra == 'generic-nfcpy'
29
+ Provides-Extra: mfrc522-i2c
30
+ Requires-Dist: mfrc522-i2c; extra == 'mfrc522-i2c'
31
+ Provides-Extra: pn532-i2c-py532
32
+ Requires-Dist: py532lib; extra == 'pn532-i2c-py532'
33
+ Provides-Extra: rc522-spi
34
+ Requires-Dist: gpiozero; extra == 'rc522-spi'
35
+ Requires-Dist: lgpio; (platform_machine == 'armv6l' or platform_machine == 'armv7l' or platform_machine == 'aarch64') and extra == 'rc522-spi'
36
+ Requires-Dist: spidev; extra == 'rc522-spi'
37
+ Provides-Extra: rdm6300-serial
38
+ Requires-Dist: pyserial; extra == 'rdm6300-serial'
39
+ Description-Content-Type: text/markdown
40
+
41
+ # lauschkiste-plugins
42
+
43
+ The general plugins of [Lauschkiste](https://github.com/ladidadida/lauschkiste), an open-source RFID audio player for kids. The
44
+ bundle holds, one plugin each:
45
+
46
+ - devices for an ordinary computer: `device_pc_test` (just trying it out, changes nothing outside Lauschkiste) and
47
+ `device_pc_box` (a computer that is a box of its own: port 80, Samba, console login, kiosk screen)
48
+ - RFID reader drivers: `rfid_generic_usb`, `rfid_rc522_spi`, `rfid_mfrc522_i2c`, `rfid_pn532_i2c_py532`,
49
+ `rfid_rdm6300_serial`, `rfid_generic_nfcpy`
50
+ - `samba`: share the library on the network
51
+ - `audiobookshelf`: audiobooks from an Audiobookshelf server
52
+ - `podcast_directories`, `radio_directories`: find podcasts and radio stations
53
+
54
+ Install it next to [`lauschkiste`](https://pypi.org/project/lauschkiste/) (same version; `install.sh` does). Installing does not
55
+ switch anything on: `lauschctl setup` proposes what fits the machine, and a plugin is switched on in the web app
56
+ (Settings → Plugins) or with:
57
+
58
+ ```bash
59
+ lauschctl plugin enable rfid_rc522_spi
60
+ ```
61
+
62
+ The libraries of a driver come with an extra, for example `lauschkiste-plugins[rc522-spi]` (the web app offers to install
63
+ them).
64
+
65
+ Documentation: [guide](https://github.com/ladidadida/lauschkiste/blob/main/documentation/en/README.md). MIT license.
@@ -0,0 +1,25 @@
1
+ # lauschkiste-plugins
2
+
3
+ The general plugins of [Lauschkiste](https://github.com/ladidadida/lauschkiste), an open-source RFID audio player for kids. The
4
+ bundle holds, one plugin each:
5
+
6
+ - devices for an ordinary computer: `device_pc_test` (just trying it out, changes nothing outside Lauschkiste) and
7
+ `device_pc_box` (a computer that is a box of its own: port 80, Samba, console login, kiosk screen)
8
+ - RFID reader drivers: `rfid_generic_usb`, `rfid_rc522_spi`, `rfid_mfrc522_i2c`, `rfid_pn532_i2c_py532`,
9
+ `rfid_rdm6300_serial`, `rfid_generic_nfcpy`
10
+ - `samba`: share the library on the network
11
+ - `audiobookshelf`: audiobooks from an Audiobookshelf server
12
+ - `podcast_directories`, `radio_directories`: find podcasts and radio stations
13
+
14
+ Install it next to [`lauschkiste`](https://pypi.org/project/lauschkiste/) (same version; `install.sh` does). Installing does not
15
+ switch anything on: `lauschctl setup` proposes what fits the machine, and a plugin is switched on in the web app
16
+ (Settings → Plugins) or with:
17
+
18
+ ```bash
19
+ lauschctl plugin enable rfid_rc522_spi
20
+ ```
21
+
22
+ The libraries of a driver come with an extra, for example `lauschkiste-plugins[rc522-spi]` (the web app offers to install
23
+ them).
24
+
25
+ Documentation: [guide](https://github.com/ladidadida/lauschkiste/blob/main/documentation/en/README.md). MIT license.
@@ -0,0 +1,54 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.2",
5
+ "kind": "plugin",
6
+ "name": "audiobookshelf",
7
+ "operations": {
8
+ "status": {
9
+ "args": {
10
+ "additionalProperties": false,
11
+ "properties": {},
12
+ "type": "object"
13
+ },
14
+ "kind": "query",
15
+ "method": "GET",
16
+ "path": "/api/v1/audiobookshelf/status",
17
+ "returns": {
18
+ "properties": {
19
+ "configured": {
20
+ "type": "boolean"
21
+ },
22
+ "error": {
23
+ "anyOf": [
24
+ {
25
+ "type": "string"
26
+ },
27
+ {
28
+ "type": "null"
29
+ }
30
+ ],
31
+ "default": null
32
+ },
33
+ "reachable": {
34
+ "type": "boolean"
35
+ },
36
+ "waiting": {
37
+ "default": 0,
38
+ "type": "integer"
39
+ }
40
+ },
41
+ "required": [
42
+ "configured",
43
+ "reachable"
44
+ ],
45
+ "type": "object"
46
+ }
47
+ }
48
+ },
49
+ "requires": {
50
+ "audiobooks": ">=4.0,<5",
51
+ "cache": ">=1.0,<2",
52
+ "player": ">=7.0,<8"
53
+ }
54
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "device_pc_box",
7
+ "operations": {},
8
+ "provides": [
9
+ "autologin",
10
+ "device",
11
+ "screen",
12
+ "system_setup"
13
+ ],
14
+ "requires": {}
15
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "device_pc_test",
7
+ "operations": {},
8
+ "provides": [
9
+ "device"
10
+ ],
11
+ "requires": {}
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.1",
5
+ "kind": "plugin",
6
+ "name": "podcast_directories",
7
+ "operations": {},
8
+ "requires": {
9
+ "podcasts": ">=4.0,<5"
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.1",
5
+ "kind": "plugin",
6
+ "name": "radio_directories",
7
+ "operations": {},
8
+ "requires": {
9
+ "radio": ">=3.0,<4"
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "rfid_generic_nfcpy",
7
+ "operations": {},
8
+ "requires": {
9
+ "rfid": ">=1.0,<2"
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "rfid_generic_usb",
7
+ "operations": {},
8
+ "requires": {
9
+ "rfid": ">=1.0,<2"
10
+ }
11
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "rfid_mfrc522_i2c",
7
+ "needs": [
8
+ "i2c"
9
+ ],
10
+ "operations": {},
11
+ "requires": {
12
+ "rfid": ">=1.0,<2"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "rfid_pn532_i2c_py532",
7
+ "needs": [
8
+ "i2c"
9
+ ],
10
+ "operations": {},
11
+ "requires": {
12
+ "rfid": ">=1.0,<2"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "rfid_rc522_spi",
7
+ "needs": [
8
+ "gpio",
9
+ "spi"
10
+ ],
11
+ "operations": {},
12
+ "requires": {
13
+ "rfid": ">=1.0,<2"
14
+ }
15
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "rfid_rdm6300_serial",
7
+ "operations": {},
8
+ "requires": {
9
+ "rfid": ">=1.0,<2"
10
+ }
11
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "events": {},
3
+ "extension_points": {},
4
+ "interface_version": "1.0",
5
+ "kind": "plugin",
6
+ "name": "samba",
7
+ "operations": {
8
+ "get_status": {
9
+ "args": {
10
+ "additionalProperties": false,
11
+ "properties": {},
12
+ "type": "object"
13
+ },
14
+ "kind": "query",
15
+ "method": "GET",
16
+ "path": "/api/v1/samba/status",
17
+ "returns": {
18
+ "properties": {
19
+ "address": {
20
+ "anyOf": [
21
+ {
22
+ "type": "string"
23
+ },
24
+ {
25
+ "type": "null"
26
+ }
27
+ ],
28
+ "default": null
29
+ },
30
+ "has_password": {
31
+ "type": "boolean"
32
+ },
33
+ "installed": {
34
+ "type": "boolean"
35
+ },
36
+ "outdated": {
37
+ "type": "boolean"
38
+ },
39
+ "path": {
40
+ "type": "string"
41
+ },
42
+ "shared": {
43
+ "type": "boolean"
44
+ },
45
+ "user": {
46
+ "type": "string"
47
+ }
48
+ },
49
+ "required": [
50
+ "installed",
51
+ "shared",
52
+ "outdated",
53
+ "has_password",
54
+ "user",
55
+ "path"
56
+ ],
57
+ "type": "object"
58
+ }
59
+ },
60
+ "set_share": {
61
+ "args": {
62
+ "additionalProperties": false,
63
+ "properties": {
64
+ "enabled": {
65
+ "default": true,
66
+ "type": "boolean"
67
+ }
68
+ },
69
+ "type": "object"
70
+ },
71
+ "kind": "action",
72
+ "method": "POST",
73
+ "path": "/api/v1/samba/share",
74
+ "returns": {
75
+ "properties": {
76
+ "address": {
77
+ "anyOf": [
78
+ {
79
+ "type": "string"
80
+ },
81
+ {
82
+ "type": "null"
83
+ }
84
+ ],
85
+ "default": null
86
+ },
87
+ "has_password": {
88
+ "type": "boolean"
89
+ },
90
+ "installed": {
91
+ "type": "boolean"
92
+ },
93
+ "outdated": {
94
+ "type": "boolean"
95
+ },
96
+ "path": {
97
+ "type": "string"
98
+ },
99
+ "shared": {
100
+ "type": "boolean"
101
+ },
102
+ "user": {
103
+ "type": "string"
104
+ }
105
+ },
106
+ "required": [
107
+ "installed",
108
+ "shared",
109
+ "outdated",
110
+ "has_password",
111
+ "user",
112
+ "path"
113
+ ],
114
+ "type": "object"
115
+ }
116
+ }
117
+ },
118
+ "requires": {}
119
+ }
@@ -0,0 +1,85 @@
1
+ [project]
2
+ name = "lauschkiste-plugins"
3
+ version = "0.1.0a7"
4
+ description = "Lauschkiste plugins: computers as devices, RFID readers, Samba, Audiobookshelf, podcast and radio directories"
5
+ license = "MIT"
6
+ requires-python = ">=3.11"
7
+ readme = "README.md"
8
+ authors = [{ name = "the Lauschkiste contributors" }]
9
+ keywords = [
10
+ "lauschkiste",
11
+ "plugin",
12
+ "rfid",
13
+ "nfc",
14
+ "audiobookshelf",
15
+ "samba",
16
+ ]
17
+ classifiers = [
18
+ "Development Status :: 3 - Alpha",
19
+ "Intended Audience :: End Users/Desktop",
20
+ "Operating System :: POSIX :: Linux",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Programming Language :: Python :: 3.14",
26
+ "Topic :: System :: Hardware",
27
+ "Topic :: Home Automation",
28
+ ]
29
+ license-files = ["LICENSE"]
30
+ dependencies = [
31
+ "lauschkiste-core==0.1.0a7",
32
+ "lauschkiste==0.1.0a7",
33
+ "requests",
34
+ ]
35
+
36
+ [project.urls]
37
+ Homepage = "https://github.com/ladidadida/lauschkiste"
38
+ Documentation = "https://github.com/ladidadida/lauschkiste/tree/main/documentation"
39
+ Issues = "https://github.com/ladidadida/lauschkiste/issues"
40
+ Changelog = "https://github.com/ladidadida/lauschkiste/releases"
41
+
42
+ [project.optional-dependencies]
43
+ # Dependencies of the individual RFID drivers; generic_usb needs none beyond the core.
44
+ # rc522_spi includes pi-rc522-gpiozero (no PyPI release); these are its dependencies.
45
+ rc522-spi = [
46
+ "gpiozero",
47
+ "spidev",
48
+ # gpiozero's pin backend on kernels >= 6.6, where /sys/class/gpio/ is gone
49
+ "lgpio; platform_machine == 'armv6l' or platform_machine == 'armv7l' or platform_machine == 'aarch64'",
50
+ ]
51
+ mfrc522-i2c = ["mfrc522_i2c"]
52
+ pn532-i2c-py532 = ["py532lib"]
53
+ rdm6300-serial = ["pyserial"]
54
+ generic-nfcpy = ["nfcpy"]
55
+
56
+ [project.entry-points."lauschkiste.plugins"]
57
+ rfid_generic_usb = "lauschkiste_plugin_rfid_readers:GenericUsb"
58
+ rfid_rdm6300_serial = "lauschkiste_plugin_rfid_readers:Rdm6300Serial"
59
+ rfid_rc522_spi = "lauschkiste_plugin_rfid_readers:Rc522Spi"
60
+ rfid_mfrc522_i2c = "lauschkiste_plugin_rfid_readers:Mfrc522I2c"
61
+ rfid_pn532_i2c_py532 = "lauschkiste_plugin_rfid_readers:Pn532I2cPy532"
62
+ rfid_generic_nfcpy = "lauschkiste_plugin_rfid_readers:GenericNfcpy"
63
+ device_pc_test = "lauschkiste_plugin_device_pc:DevicePcTest"
64
+ device_pc_box = "lauschkiste_plugin_device_pc:DevicePcBox"
65
+ samba = "lauschkiste_plugin_samba:Samba"
66
+ audiobookshelf = "lauschkiste_plugin_audiobookshelf:Audiobookshelf"
67
+ podcast_directories = "lauschkiste_plugin_directories:PodcastDirectories"
68
+ radio_directories = "lauschkiste_plugin_directories:RadioDirectories"
69
+
70
+ [tool.uv.sources]
71
+ lauschkiste-core = { workspace = true }
72
+ lauschkiste = { workspace = true }
73
+
74
+ [build-system]
75
+ requires = ["hatchling"]
76
+ build-backend = "hatchling.build"
77
+
78
+ [tool.hatch.build.targets.wheel]
79
+ packages = [
80
+ "src/lauschkiste_plugin_audiobookshelf",
81
+ "src/lauschkiste_plugin_device_pc",
82
+ "src/lauschkiste_plugin_directories",
83
+ "src/lauschkiste_plugin_rfid_readers",
84
+ "src/lauschkiste_plugin_samba",
85
+ ]