juturna-nodes 0.1.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 (70) hide show
  1. juturna_nodes-0.1.0/.bandit +4 -0
  2. juturna_nodes-0.1.0/.gitignore +221 -0
  3. juturna_nodes-0.1.0/.pre-commit-config.yaml +44 -0
  4. juturna_nodes-0.1.0/.release-please-manifest.json +3 -0
  5. juturna_nodes-0.1.0/CHANGELOG.md +6 -0
  6. juturna_nodes-0.1.0/CODE_OF_CONDUCT.md +128 -0
  7. juturna_nodes-0.1.0/CONTRIBUTING.md +566 -0
  8. juturna_nodes-0.1.0/LICENSE +21 -0
  9. juturna_nodes-0.1.0/PKG-INFO +243 -0
  10. juturna_nodes-0.1.0/README.md +163 -0
  11. juturna_nodes-0.1.0/SECURITY.md +161 -0
  12. juturna_nodes-0.1.0/pyproject.toml +101 -0
  13. juturna_nodes-0.1.0/release-please-config.json +24 -0
  14. juturna_nodes-0.1.0/ruff.toml +72 -0
  15. juturna_nodes-0.1.0/src/juturna/nodes/__init__.py +30 -0
  16. juturna_nodes-0.1.0/src/juturna/nodes/_audio_file/README.md +38 -0
  17. juturna_nodes-0.1.0/src/juturna/nodes/_audio_file/audio_file.py +164 -0
  18. juturna_nodes-0.1.0/src/juturna/nodes/_audio_file/config.toml +6 -0
  19. juturna_nodes-0.1.0/src/juturna/nodes/_audio_rtp/README.md +9 -0
  20. juturna_nodes-0.1.0/src/juturna/nodes/_audio_rtp/audio_rtp.py +283 -0
  21. juturna_nodes-0.1.0/src/juturna/nodes/_audio_rtp/config.toml +12 -0
  22. juturna_nodes-0.1.0/src/juturna/nodes/_audio_rtp/remote_source.sdp.template +9 -0
  23. juturna_nodes-0.1.0/src/juturna/nodes/_browser_input/README.md +58 -0
  24. juturna_nodes-0.1.0/src/juturna/nodes/_browser_input/browser_input.py +44 -0
  25. juturna_nodes-0.1.0/src/juturna/nodes/_browser_input/config.toml +3 -0
  26. juturna_nodes-0.1.0/src/juturna/nodes/_browser_output/README.md +46 -0
  27. juturna_nodes-0.1.0/src/juturna/nodes/_browser_output/browser_output.py +34 -0
  28. juturna_nodes-0.1.0/src/juturna/nodes/_browser_output/config.toml +3 -0
  29. juturna_nodes-0.1.0/src/juturna/nodes/_detector_yolo/README.md +9 -0
  30. juturna_nodes-0.1.0/src/juturna/nodes/_detector_yolo/config.toml +8 -0
  31. juturna_nodes-0.1.0/src/juturna/nodes/_detector_yolo/detector_yolo.py +120 -0
  32. juturna_nodes-0.1.0/src/juturna/nodes/_file_watcher/README.md +8 -0
  33. juturna_nodes-0.1.0/src/juturna/nodes/_file_watcher/config.toml +9 -0
  34. juturna_nodes-0.1.0/src/juturna/nodes/_file_watcher/file_watcher.py +164 -0
  35. juturna_nodes-0.1.0/src/juturna/nodes/_json_http/README.md +11 -0
  36. juturna_nodes-0.1.0/src/juturna/nodes/_json_http/config.toml +6 -0
  37. juturna_nodes-0.1.0/src/juturna/nodes/_json_http/json_http.py +193 -0
  38. juturna_nodes-0.1.0/src/juturna/nodes/_json_websocket/README.md +14 -0
  39. juturna_nodes-0.1.0/src/juturna/nodes/_json_websocket/config.toml +5 -0
  40. juturna_nodes-0.1.0/src/juturna/nodes/_json_websocket/json_websocket.py +106 -0
  41. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_http/README.md +38 -0
  42. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_http/config.toml +6 -0
  43. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_http/notifier_http.py +152 -0
  44. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_mongo/README.md +2 -0
  45. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_mongo/config.toml +7 -0
  46. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_mongo/notifier_mongo.py +75 -0
  47. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_udp/README.md +8 -0
  48. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_udp/config.toml +10 -0
  49. juturna_nodes-0.1.0/src/juturna/nodes/_notifier_udp/notifier_udp.py +126 -0
  50. juturna_nodes-0.1.0/src/juturna/nodes/_passthrough_identity/README.md +30 -0
  51. juturna_nodes-0.1.0/src/juturna/nodes/_passthrough_identity/config.toml +4 -0
  52. juturna_nodes-0.1.0/src/juturna/nodes/_passthrough_identity/passthrough_identity.py +53 -0
  53. juturna_nodes-0.1.0/src/juturna/nodes/_transcriber_kroko/README.md +19 -0
  54. juturna_nodes-0.1.0/src/juturna/nodes/_transcriber_kroko/config.toml +4 -0
  55. juturna_nodes-0.1.0/src/juturna/nodes/_transcriber_kroko/transcriber_kroko.py +110 -0
  56. juturna_nodes-0.1.0/src/juturna/nodes/_transcriber_whisper/README.md +67 -0
  57. juturna_nodes-0.1.0/src/juturna/nodes/_transcriber_whisper/config.toml +11 -0
  58. juturna_nodes-0.1.0/src/juturna/nodes/_transcriber_whisper/transcriber_whisper.py +258 -0
  59. juturna_nodes-0.1.0/src/juturna/nodes/_vad_silero/README.md +54 -0
  60. juturna_nodes-0.1.0/src/juturna/nodes/_vad_silero/config.toml +11 -0
  61. juturna_nodes-0.1.0/src/juturna/nodes/_vad_silero/vad_silero.py +159 -0
  62. juturna_nodes-0.1.0/src/juturna/nodes/_video_rtp/README.md +7 -0
  63. juturna_nodes-0.1.0/src/juturna/nodes/_video_rtp/config.toml +8 -0
  64. juturna_nodes-0.1.0/src/juturna/nodes/_video_rtp/remote_source.sdp.template +9 -0
  65. juturna_nodes-0.1.0/src/juturna/nodes/_video_rtp/video_rtp.py +207 -0
  66. juturna_nodes-0.1.0/src/juturna/nodes/_warp/README.md +108 -0
  67. juturna_nodes-0.1.0/src/juturna/nodes/_warp/config.toml +9 -0
  68. juturna_nodes-0.1.0/src/juturna/nodes/_warp/warp.py +261 -0
  69. juturna_nodes-0.1.0/tests/test_registry.py +118 -0
  70. juturna_nodes-0.1.0/tests/test_warp.py +337 -0
@@ -0,0 +1,4 @@
1
+ [bandit]
2
+ targets = src,tests
3
+ skips = B101
4
+ recursive = true
@@ -0,0 +1,221 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+ docs/build/
75
+
76
+ # PyBuilder
77
+ .pybuilder/
78
+ target/
79
+
80
+ # Jupyter Notebook
81
+ .ipynb_checkpoints
82
+
83
+ # IPython
84
+ profile_default/
85
+ ipython_config.py
86
+
87
+ # pyenv
88
+ # For a library or package, you might want to ignore these files since the code is
89
+ # intended to run in multiple environments; otherwise, check them in:
90
+ # .python-version
91
+
92
+ # pipenv
93
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
95
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
96
+ # install all needed dependencies.
97
+ # Pipfile.lock
98
+
99
+ # uv
100
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
102
+ # commonly ignored for libraries.
103
+ # uv.lock
104
+
105
+ # poetry
106
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
108
+ # commonly ignored for libraries.
109
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110
+ # poetry.lock
111
+ # poetry.toml
112
+
113
+ # pdm
114
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
116
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
117
+ # pdm.lock
118
+ # pdm.toml
119
+ .pdm-python
120
+ .pdm-build/
121
+
122
+ # pixi
123
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
124
+ # pixi.lock
125
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
126
+ # in the .venv directory. It is recommended not to include this directory in version control.
127
+ .pixi/*
128
+ !.pixi/config.toml
129
+
130
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
131
+ __pypackages__/
132
+
133
+ # Celery stuff
134
+ celerybeat-schedule*
135
+ celerybeat.pid
136
+
137
+ # Redis
138
+ *.rdb
139
+ *.aof
140
+ *.pid
141
+
142
+ # RabbitMQ
143
+ mnesia/
144
+ rabbitmq/
145
+ rabbitmq-data/
146
+
147
+ # ActiveMQ
148
+ activemq-data/
149
+
150
+ # SageMath parsed files
151
+ *.sage.py
152
+
153
+ # Environments
154
+ .env
155
+ .envrc
156
+ .venv
157
+ env/
158
+ venv/
159
+ ENV/
160
+ env.bak/
161
+ venv.bak/
162
+
163
+ # Spyder project settings
164
+ .spyderproject
165
+ .spyproject
166
+
167
+ # Rope project settings
168
+ .ropeproject
169
+
170
+ # mkdocs/Zensical documentation
171
+ /site
172
+
173
+ # mypy
174
+ .mypy_cache/
175
+ .dmypy.json
176
+ dmypy.json
177
+
178
+ # Pyre type checker
179
+ .pyre/
180
+
181
+ # pytype static type analyzer
182
+ .pytype/
183
+
184
+ # Cython debug symbols
185
+ cython_debug/
186
+
187
+ # PyCharm
188
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
189
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
190
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
191
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
192
+ # .idea/
193
+
194
+ # Abstra
195
+ # Abstra is an AI-powered process automation framework.
196
+ # Ignore directories containing user credentials, local state, and settings.
197
+ # Learn more at https://abstra.io/docs
198
+ .abstra/
199
+
200
+ # Visual Studio Code
201
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
202
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
203
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
204
+ # could uncomment the following to ignore the entire vscode folder
205
+ # .vscode/
206
+ # Temporary file for partial code execution
207
+ tempCodeRunnerFile.py
208
+
209
+ # Ruff stuff:
210
+ .ruff_cache/
211
+
212
+ # PyPI configuration file
213
+ .pypirc
214
+
215
+ # Marimo
216
+ marimo/_static/
217
+ marimo/_lsp/
218
+ __marimo__/
219
+
220
+ # Streamlit
221
+ .streamlit/secrets.toml
@@ -0,0 +1,44 @@
1
+ default_stages: [pre-commit]
2
+
3
+ repos:
4
+ - repo: https://github.com/compilerla/conventional-pre-commit
5
+ rev: v3.4.0
6
+ hooks:
7
+ - id: conventional-pre-commit
8
+ stages: [commit-msg]
9
+ args:
10
+ - feat
11
+ - fix
12
+ - docs
13
+ - style
14
+ - refactor
15
+ - perf
16
+ - test
17
+ - build
18
+ - ci
19
+ - chore
20
+ - revert
21
+
22
+ - repo: https://github.com/pre-commit/pre-commit-hooks
23
+ rev: v6.0.0
24
+ hooks:
25
+ - id: check-merge-conflict
26
+ - id: check-yaml
27
+ - id: check-json
28
+ - id: end-of-file-fixer
29
+ - id: trailing-whitespace
30
+ - id: detect-private-key
31
+
32
+ - repo: https://github.com/PyCQA/bandit
33
+ rev: 1.9.2
34
+ hooks:
35
+ - id: bandit
36
+ stages: [manual]
37
+ args: ["--ini", ".bandit"]
38
+
39
+ - repo: https://github.com/astral-sh/ruff-pre-commit
40
+ rev: v0.16.10
41
+ hooks:
42
+ - id: ruff
43
+ args: [--fix]
44
+ - id: ruff-format
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.0.0"
3
+ }
@@ -0,0 +1,6 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Project mantainers are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Project mantainers have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the project mantainers responsible for enforcement at
63
+ info@meetecho.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All project mantainers are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Project mantainers will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from project mantainers, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.