dora-keyboard 0.3.10rc1__tar.gz → 0.3.11__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.
@@ -1,12 +1,12 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dora-keyboard
3
- Version: 0.3.10rc1
3
+ Version: 0.3.11
4
4
  Summary: Dora dora-keyboard
5
5
  Author-email: Haixuan Xavier Tao <tao.xavier@outlook.com>, Enzo Le Van <dev@enzo-le-van.fr>
6
6
  License: MIT
7
7
  Requires-Python: >=3.8
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: dora-rs>=0.3.6
9
+ Requires-Dist: dora-rs>=0.3.9
10
10
  Requires-Dist: numpy<2.0.0
11
11
  Requires-Dist: pyarrow>=5.0.0
12
12
  Requires-Dist: pynput>=1.6.0
@@ -1,3 +1,5 @@
1
+ """TODO: Add docstring."""
2
+
1
3
  import os
2
4
 
3
5
  # Define the path to the README file relative to the package directory
@@ -1,3 +1,5 @@
1
+ """TODO: Add docstring."""
2
+
1
3
  import pyarrow as pa
2
4
  from dora import Node
3
5
  from pynput import keyboard
@@ -5,6 +7,7 @@ from pynput.keyboard import Events
5
7
 
6
8
 
7
9
  def main():
10
+ """TODO: Add docstring."""
8
11
  node = Node()
9
12
 
10
13
  always_none = node.next(timeout=0.001) is None
@@ -1,12 +1,12 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dora-keyboard
3
- Version: 0.3.10rc1
3
+ Version: 0.3.11
4
4
  Summary: Dora dora-keyboard
5
5
  Author-email: Haixuan Xavier Tao <tao.xavier@outlook.com>, Enzo Le Van <dev@enzo-le-van.fr>
6
6
  License: MIT
7
7
  Requires-Python: >=3.8
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: dora-rs>=0.3.6
9
+ Requires-Dist: dora-rs>=0.3.9
10
10
  Requires-Dist: numpy<2.0.0
11
11
  Requires-Dist: pyarrow>=5.0.0
12
12
  Requires-Dist: pynput>=1.6.0
@@ -1,4 +1,4 @@
1
- dora-rs>=0.3.6
1
+ dora-rs>=0.3.9
2
2
  numpy<2.0.0
3
3
  pyarrow>=5.0.0
4
4
  pynput>=1.6.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dora-keyboard"
3
- version = "0.3.10-rc1"
3
+ version = "0.3.11"
4
4
  authors = [
5
5
  { name = "Haixuan Xavier Tao", email = "tao.xavier@outlook.com" },
6
6
  { name = "Enzo Le Van", email = "dev@enzo-le-van.fr" },
@@ -11,7 +11,7 @@ readme = "README.md"
11
11
  requires-python = ">=3.8"
12
12
 
13
13
  dependencies = [
14
- "dora-rs >= 0.3.6",
14
+ "dora-rs >= 0.3.9",
15
15
  "numpy < 2.0.0",
16
16
  "pyarrow >= 5.0.0",
17
17
  "pynput >= 1.6.0",
@@ -23,3 +23,15 @@ dev = ["pytest >=8.1.1", "ruff >=0.9.1"]
23
23
 
24
24
  [project.scripts]
25
25
  dora-keyboard = "dora_keyboard.main:main"
26
+
27
+ [tool.ruff.lint]
28
+ extend-select = [
29
+ "D", # pydocstyle
30
+ "UP", # Ruff's UP rule
31
+ "PERF", # Ruff's PERF rule
32
+ "RET", # Ruff's RET rule
33
+ "RSE", # Ruff's RSE rule
34
+ "NPY", # Ruff's NPY rule
35
+ "N", # Ruff's N rule
36
+ "I", # Ruff's I rule
37
+ ]
@@ -1,7 +1,10 @@
1
+ """TODO: Add docstring."""
2
+
1
3
  import pytest
2
4
 
3
5
 
4
6
  def test_import_main():
7
+ """TODO: Add docstring."""
5
8
  from dora_keyboard.main import main
6
9
 
7
10
  # Check that everything is working, and catch dora Runtime Exception as we're not running in a dora dataflow.