dora-keyboard 0.3.8__tar.gz → 0.3.10rc0__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.
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.2
2
+ Name: dora-keyboard
3
+ Version: 0.3.10rc0
4
+ Summary: Dora dora-keyboard
5
+ Author-email: Haixuan Xavier Tao <tao.xavier@outlook.com>, Enzo Le Van <dev@enzo-le-van.fr>
6
+ License: MIT
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: dora-rs>=0.3.6
10
+ Requires-Dist: numpy<2.0.0
11
+ Requires-Dist: pyarrow>=5.0.0
12
+ Requires-Dist: pynput>=1.6.0
13
+
14
+ # Dora Node for listening to keyboard input.
15
+
16
+ Send char only in the `char` output stream, as string, on press.
@@ -5,7 +5,7 @@ readme_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), "README.m
5
5
 
6
6
  # Read the content of the README file
7
7
  try:
8
- with open(readme_path, "r", encoding="utf-8") as f:
8
+ with open(readme_path, encoding="utf-8") as f:
9
9
  __doc__ = f.read()
10
10
  except FileNotFoundError:
11
11
  __doc__ = "README file not found."
@@ -0,0 +1,16 @@
1
+ Metadata-Version: 2.2
2
+ Name: dora-keyboard
3
+ Version: 0.3.10rc0
4
+ Summary: Dora dora-keyboard
5
+ Author-email: Haixuan Xavier Tao <tao.xavier@outlook.com>, Enzo Le Van <dev@enzo-le-van.fr>
6
+ License: MIT
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: dora-rs>=0.3.6
10
+ Requires-Dist: numpy<2.0.0
11
+ Requires-Dist: pyarrow>=5.0.0
12
+ Requires-Dist: pynput>=1.6.0
13
+
14
+ # Dora Node for listening to keyboard input.
15
+
16
+ Send char only in the `char` output stream, as string, on press.
@@ -0,0 +1,11 @@
1
+ README.md
2
+ pyproject.toml
3
+ dora_keyboard/__init__.py
4
+ dora_keyboard/main.py
5
+ dora_keyboard.egg-info/PKG-INFO
6
+ dora_keyboard.egg-info/SOURCES.txt
7
+ dora_keyboard.egg-info/dependency_links.txt
8
+ dora_keyboard.egg-info/entry_points.txt
9
+ dora_keyboard.egg-info/requires.txt
10
+ dora_keyboard.egg-info/top_level.txt
11
+ tests/test_keyboard.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ dora-keyboard = dora_keyboard.main:main
@@ -0,0 +1,4 @@
1
+ dora-rs>=0.3.6
2
+ numpy<2.0.0
3
+ pyarrow>=5.0.0
4
+ pynput>=1.6.0
@@ -0,0 +1 @@
1
+ dora_keyboard
@@ -0,0 +1,25 @@
1
+ [project]
2
+ name = "dora-keyboard"
3
+ version = "0.3.10-rc0"
4
+ authors = [
5
+ { name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
6
+ { name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
7
+ ]
8
+ description = "Dora dora-keyboard"
9
+ license = { text = "MIT" }
10
+ readme = "README.md"
11
+ requires-python = ">=3.8"
12
+
13
+ dependencies = [
14
+ "dora-rs >= 0.3.6",
15
+ "numpy < 2.0.0",
16
+ "pyarrow >= 5.0.0",
17
+ "pynput >= 1.6.0",
18
+
19
+ ]
20
+
21
+ [dependency-groups]
22
+ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
23
+
24
+ [project.scripts]
25
+ dora-keyboard = "dora_keyboard.main:main"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,9 @@
1
+ import pytest
2
+
3
+
4
+ def test_import_main():
5
+ from dora_keyboard.main import main
6
+
7
+ # Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow.
8
+ with pytest.raises(RuntimeError):
9
+ main()
@@ -1,29 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: dora-keyboard
3
- Version: 0.3.8
4
- Summary: Dora dora-keyboard
5
- Home-page: https://github.com/dora-rs/dora.git
6
- License: MIT
7
- Author: Haixuan Xavier Tao
8
- Author-email: tao.xavier@outlook.com
9
- Requires-Python: >=3.7,<4.0
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.7
13
- Classifier: Programming Language :: Python :: 3.8
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Programming Language :: Python :: 3.10
16
- Classifier: Programming Language :: Python :: 3.11
17
- Classifier: Programming Language :: Python :: 3.12
18
- Classifier: Programming Language :: Python :: 3.13
19
- Requires-Dist: dora-rs (>=0.3.6,<0.4.0)
20
- Requires-Dist: numpy (<2.0.0)
21
- Requires-Dist: pyarrow (>=5.0.0)
22
- Requires-Dist: pynput (>=1.6.0,<2.0.0)
23
- Project-URL: Documentation, https://github.com/dora-rs/dora/blob/main/node-hub/dora-keyboard/README.md
24
- Description-Content-Type: text/markdown
25
-
26
- # Dora Node for listening to keyboard input.
27
-
28
- Send char only in the `char` output stream, as string, on press.
29
-
@@ -1,27 +0,0 @@
1
- [tool.poetry]
2
- name = "dora-keyboard"
3
- version = "0.3.8"
4
- authors = [
5
- "Haixuan Xavier Tao <tao.xavier@outlook.com>",
6
- "Enzo Le Van <dev@enzo-le-van.fr>",
7
- ]
8
- description = "Dora dora-keyboard"
9
- license = "MIT License"
10
- homepage = "https://github.com/dora-rs/dora.git"
11
- documentation = "https://github.com/dora-rs/dora/blob/main/node-hub/dora-keyboard/README.md"
12
- readme = "README.md"
13
- packages = [{ include = "dora_keyboard" }]
14
-
15
- [tool.poetry.dependencies]
16
- dora-rs = "^0.3.6"
17
- numpy = "< 2.0.0"
18
- pyarrow = ">= 5.0.0"
19
- pynput = "^1.6.0"
20
- python = "^3.7"
21
-
22
- [tool.poetry.scripts]
23
- dora-keyboard = "dora_keyboard.main:main"
24
-
25
- [build-system]
26
- requires = ["poetry-core>=1.8.0"]
27
- build-backend = "poetry.core.masonry.api"
@@ -1,7 +1,7 @@
1
- from pynput import keyboard
2
- from pynput.keyboard import Events
3
1
  import pyarrow as pa
4
2
  from dora import Node
3
+ from pynput import keyboard
4
+ from pynput.keyboard import Events
5
5
 
6
6
 
7
7
  def main():