smallneuron 2.3.4__tar.gz → 2.3.5__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 (29) hide show
  1. {smallneuron-2.3.4/src/smallneuron.egg-info → smallneuron-2.3.5}/PKG-INFO +1 -1
  2. {smallneuron-2.3.4 → smallneuron-2.3.5}/pyproject.toml +1 -1
  3. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/sngpio.py +1 -0
  4. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/sninput.py +1 -0
  5. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/snwatcher.py +1 -1
  6. {smallneuron-2.3.4 → smallneuron-2.3.5/src/smallneuron.egg-info}/PKG-INFO +1 -1
  7. {smallneuron-2.3.4 → smallneuron-2.3.5}/.gitignore +0 -0
  8. {smallneuron-2.3.4 → smallneuron-2.3.5}/LICENSE +0 -0
  9. {smallneuron-2.3.4 → smallneuron-2.3.5}/README.md +0 -0
  10. {smallneuron-2.3.4 → smallneuron-2.3.5}/example.py +0 -0
  11. {smallneuron-2.3.4 → smallneuron-2.3.5}/setup.cfg +0 -0
  12. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/__init__.py +0 -0
  13. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/build +0 -0
  14. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/gpio_h3.c +0 -0
  15. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/gpio_h3.h +0 -0
  16. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/gpio_h3.so +0 -0
  17. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/logger.py +0 -0
  18. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/smallneuron.py +0 -0
  19. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/sndummy.py +0 -0
  20. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/snmqtt.py +0 -0
  21. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/snserial.py +0 -0
  22. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron/sntimer.py +0 -0
  23. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron.egg-info/SOURCES.txt +0 -0
  24. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron.egg-info/dependency_links.txt +0 -0
  25. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron.egg-info/top_level.txt +0 -0
  26. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron_pelainux.egg-info/PKG-INFO +0 -0
  27. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron_pelainux.egg-info/SOURCES.txt +0 -0
  28. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron_pelainux.egg-info/dependency_links.txt +0 -0
  29. {smallneuron-2.3.4 → smallneuron-2.3.5}/src/smallneuron_pelainux.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smallneuron
3
- Version: 2.3.4
3
+ Version: 2.3.5
4
4
  Summary: Small Neuron Workflow
5
5
  Author-email: Andres Artigas <andres@artigas.cl>
6
6
  Project-URL: Homepage, https://github.com/pypa/sampleproject
@@ -3,7 +3,7 @@ requires = ["setuptools", "setuptools-scm"]
3
3
 
4
4
  [project]
5
5
  name = "smallneuron"
6
- version = "2.3.4"
6
+ version = "2.3.5"
7
7
  authors = [
8
8
  { name="Andres Artigas", email="andres@artigas.cl" },
9
9
  ]
@@ -18,6 +18,7 @@ so_file = "/usr/local/lib/gpio_h3.so"
18
18
  gpio_h3 = CDLL(so_file)
19
19
 
20
20
  def eventWait(sngpio, event, gpio, trigger, debounce):
21
+ log.info(f"sngpio eventWait tid {threading.get_native_id()}")
21
22
  nextTime=0
22
23
  while True:
23
24
  GPIO.wait_for_edge(gpio,trigger) # block until happen
@@ -39,6 +39,7 @@ class SnInput:
39
39
 
40
40
  # Corre en un thread separado
41
41
  def eventWait(self):
42
+ log.info(f"eventWait tid {threading.get_native_id()}")
42
43
  try:
43
44
  log.debug("reader start")
44
45
  # Limpiamos la cola
@@ -53,7 +53,7 @@ class SnWatcher():
53
53
  return False
54
54
 
55
55
  def _loop_callback(self, args):
56
- log.debug(threading.get_ident(),"_loop_callback start",args)
56
+ log.debug( " _loop_callback start, tid ",threading.get_native_id(), args)
57
57
  try:
58
58
  [callback_obj,callback_function_args,mode, period] = args
59
59
  # Pasamos como argumento a la funcion externa un diccionario para los datos
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smallneuron
3
- Version: 2.3.4
3
+ Version: 2.3.5
4
4
  Summary: Small Neuron Workflow
5
5
  Author-email: Andres Artigas <andres@artigas.cl>
6
6
  Project-URL: Homepage, https://github.com/pypa/sampleproject
File without changes
File without changes
File without changes
File without changes
File without changes