funcnodes 1.2.0__tar.gz → 1.3.0__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 (91) hide show
  1. {funcnodes-1.2.0 → funcnodes-1.3.0}/CHANGELOG.md +10 -0
  2. {funcnodes-1.2.0 → funcnodes-1.3.0}/PKG-INFO +1 -1
  3. {funcnodes-1.2.0 → funcnodes-1.3.0}/pyproject.toml +1 -1
  4. {funcnodes-1.2.0 → funcnodes-1.3.0}/pytest.ini +1 -1
  5. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/__init__.py +6 -1
  6. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/__main__.py +9 -0
  7. {funcnodes-1.2.0 → funcnodes-1.3.0}/uv.lock +1 -1
  8. {funcnodes-1.2.0 → funcnodes-1.3.0}/.coveragerc +0 -0
  9. {funcnodes-1.2.0 → funcnodes-1.3.0}/.flake8 +0 -0
  10. {funcnodes-1.2.0 → funcnodes-1.3.0}/.github/actions/install_package/action.yml +0 -0
  11. {funcnodes-1.2.0 → funcnodes-1.3.0}/.github/workflows/docs.yaml +0 -0
  12. {funcnodes-1.2.0 → funcnodes-1.3.0}/.github/workflows/py_test.yml +0 -0
  13. {funcnodes-1.2.0 → funcnodes-1.3.0}/.github/workflows/version_publish_main.yml +0 -0
  14. {funcnodes-1.2.0 → funcnodes-1.3.0}/.gitignore +0 -0
  15. {funcnodes-1.2.0 → funcnodes-1.3.0}/.pre-commit-config.yaml +0 -0
  16. {funcnodes-1.2.0 → funcnodes-1.3.0}/.pylintrc +0 -0
  17. {funcnodes-1.2.0 → funcnodes-1.3.0}/.vscode/extensions.json +0 -0
  18. {funcnodes-1.2.0 → funcnodes-1.3.0}/.vscode/settings.json +0 -0
  19. {funcnodes-1.2.0 → funcnodes-1.3.0}/LICENSE +0 -0
  20. {funcnodes-1.2.0 → funcnodes-1.3.0}/README.md +0 -0
  21. {funcnodes-1.2.0 → funcnodes-1.3.0}/THIRD_PARTY_NOTICES.md +0 -0
  22. {funcnodes-1.2.0 → funcnodes-1.3.0}/assets/logos/funcnodes.png +0 -0
  23. {funcnodes-1.2.0 → funcnodes-1.3.0}/cz.toml +0 -0
  24. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/api/cli.md +0 -0
  25. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/config.md +0 -0
  26. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/inputs-outputs.md +0 -0
  27. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/lib.md +0 -0
  28. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/node.md +0 -0
  29. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/nodeinput.md +0 -0
  30. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/nodeoutput.md +0 -0
  31. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/nodespace.md +0 -0
  32. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/serialization.md +0 -0
  33. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/shelf.md +0 -0
  34. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/worker.md +0 -0
  35. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/worker_config.md +0 -0
  36. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/components/workermanager.md +0 -0
  37. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/cat.fnw +0 -0
  38. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/cat.md +0 -0
  39. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/cat.png +0 -0
  40. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/csv.fnw +0 -0
  41. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/csv.md +0 -0
  42. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/csv.png +0 -0
  43. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/index.md +0 -0
  44. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/titanic.fnw +0 -0
  45. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/titanic.md +0 -0
  46. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/examples/titanic.png +0 -0
  47. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/faq/common-issues.md +0 -0
  48. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/getting-started/basic_usage.md +0 -0
  49. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/getting-started/installation.md +0 -0
  50. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/getting-started/introduction.md +0 -0
  51. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/index.md +0 -0
  52. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/modules/index.md +0 -0
  53. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/static/css/style.css +0 -0
  54. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/static/js/basic_funcnodes_pyodide.js +0 -0
  55. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/static/js/node_buildermain.js +0 -0
  56. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/static/js/node_buildermain.js.LICENSE.txt +0 -0
  57. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/static/js/noderenderer.js +0 -0
  58. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/add_module.gif +0 -0
  59. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/add_module.mp4 +0 -0
  60. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/basic_nodes.gif +0 -0
  61. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/basic_nodes.mp4 +0 -0
  62. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/interface_startup.png +0 -0
  63. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/new_worker.gif +0 -0
  64. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/new_worker.mp4 +0 -0
  65. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/run_worker.gif +0 -0
  66. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/run_worker.mp4 +0 -0
  67. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/content/ui-guide/react_flow/web-ui.md +0 -0
  68. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/mkdocs.yml +0 -0
  69. {funcnodes-1.2.0 → funcnodes-1.3.0}/docs/overrides/example_theme.html +0 -0
  70. {funcnodes-1.2.0 → funcnodes-1.3.0}/examples/funcnodes_numpy_example.py +0 -0
  71. {funcnodes-1.2.0 → funcnodes-1.3.0}/examples/simple_node.py +0 -0
  72. {funcnodes-1.2.0 → funcnodes-1.3.0}/examples/simple_nodedecorator.py +0 -0
  73. {funcnodes-1.2.0 → funcnodes-1.3.0}/examples/ws_worker.py +0 -0
  74. {funcnodes-1.2.0 → funcnodes-1.3.0}/examples/ws_worker_w_externalworker.py +0 -0
  75. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/patches.py +0 -0
  76. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/runner/__init__.py +0 -0
  77. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/runner/_simple_server.py +0 -0
  78. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/utils/__init__.py +0 -0
  79. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/utils/asyncutils.py +0 -0
  80. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/utils/cmd.py +0 -0
  81. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/utils/lazy.py +0 -0
  82. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/worker/__init__.py +0 -0
  83. {funcnodes-1.2.0 → funcnodes-1.3.0}/src/funcnodes/worker/worker_manager.py +0 -0
  84. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/__init__.py +0 -0
  85. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_examples.py +0 -0
  86. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_graph.py +0 -0
  87. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_node_examples.py +0 -0
  88. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_utils/__init__.py +0 -0
  89. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_utils/test_cmd.py +0 -0
  90. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_worker_manager/__init__.py +0 -0
  91. {funcnodes-1.2.0 → funcnodes-1.3.0}/tests/test_worker_manager/test_worker_manager.py +0 -0
@@ -1,3 +1,13 @@
1
+ ## 1.3.0 (2025-11-30)
2
+
3
+ ### Feat
4
+
5
+ - add subprocess monitor argument to main function
6
+
7
+ ### Fix
8
+
9
+ - update package version handling in __init__.py
10
+
1
11
  ## 1.2.0 (2025-11-05)
2
12
 
3
13
  ### Feat
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: funcnodes
3
- Version: 1.2.0
3
+ Version: 1.3.0
4
4
  Summary: funcnodes
5
5
  Project-URL: homepage, https://github.com/Linkdlab/funcnodes
6
6
  Project-URL: source, https://github.com/Linkdlab/funcnodes
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "funcnodes"
3
- version = "1.2.0"
3
+ version = "1.3.0"
4
4
  description = "funcnodes"
5
5
 
6
6
  authors = [{name = "Julian Kimmig", email = "julian.kimmig@linkdlab.de"}]
@@ -2,4 +2,4 @@
2
2
  pythonpath = src
3
3
  testpaths = tests
4
4
  asyncio_mode=auto
5
- asyncio_default_fixture_loop_scope="function"
5
+ asyncio_default_fixture_loop_scope=function
@@ -4,6 +4,7 @@ from funcnodes_worker import * # noqa: F401, F403 # type: ignore
4
4
  from funcnodes_worker import __all__ as worker_all # Explicit import
5
5
  import sys
6
6
  from .utils.lazy import LazyImport
7
+ from importlib.metadata import version, PackageNotFoundError
7
8
 
8
9
  if sys.platform != "emscripten":
9
10
  from .worker import ( # noqa: F401
@@ -26,4 +27,8 @@ else:
26
27
  __all__ += worker_all + core_all
27
28
 
28
29
 
29
- __version__ = "1.2.0"
30
+ try:
31
+ __version__ = version("your_package")
32
+ except PackageNotFoundError:
33
+ # Package isn't installed (e.g. during local dev)
34
+ __version__ = "0.0.0"
@@ -666,6 +666,13 @@ def main():
666
666
  help="Profile the code",
667
667
  )
668
668
 
669
+ parser.add_argument(
670
+ "--use-subprocess-monitor",
671
+ default=os.environ.get("USE_SUBPROCESS_MONITOR", "1"),
672
+ type=int,
673
+ help="Use the subprocess monitor to run the code",
674
+ )
675
+
669
676
  subparsers = parser.add_subparsers(dest="task", required=True)
670
677
 
671
678
  # Add subparsers for each major task
@@ -690,6 +697,8 @@ def main():
690
697
  if args.debug:
691
698
  fn.FUNCNODES_LOGGER.setLevel("DEBUG")
692
699
 
700
+ os.environ["USE_SUBPROCESS_MONITOR"] = str(args.use_subprocess_monitor)
701
+
693
702
  if (
694
703
  getattr(args, "long_running", False)
695
704
  and os.environ.get("SUBPROCESS_MONITOR_PID") is None
@@ -478,7 +478,7 @@ wheels = [
478
478
 
479
479
  [[package]]
480
480
  name = "funcnodes"
481
- version = "1.2.0"
481
+ version = "1.3.0"
482
482
  source = { editable = "." }
483
483
  dependencies = [
484
484
  { name = "funcnodes-basic" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes