neops_worker_sdk 0.1.0__py3-none-any.whl

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.
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ def main() -> None:
2
+ print("hello world")
File without changes
@@ -0,0 +1,3 @@
1
+ class FunctionBlock:
2
+ def run(self) -> None:
3
+ pass
File without changes
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.1
2
+ Name: neops_worker_sdk
3
+ Version: 0.1.0
4
+ Summary:
5
+ Author: zebbra AG
6
+ Requires-Python: >=3.12,<4.0
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.12
9
+ Requires-Dist: neops_graphql (>=1.7.31,<2.0.0)
10
+ Description-Content-Type: text/markdown
11
+
12
+ # Neops Task Runner for Python
13
+
14
+ This repository provides the base infrastructure and SDK to create workers for your own function blocks.
15
+
16
+
17
+ ## Run nepos Worker
18
+
19
+ To run th neops worker, simply execute
20
+
21
+ ```
22
+ poetry run neops_worker
23
+ ```
24
+
25
+ ## Code Style
26
+
27
+ We enforce typing for all python files. You can check if typing is correct by running the following command
28
+
29
+ ```shell
30
+ poetry run mypy ./neops_worker_sdk examples/
31
+ ```
32
+
33
+ Formatting is enforced by black
34
+
35
+ ```shell
36
+ poetry run black ./neops_worker_sdk examples/
37
+ ```
@@ -0,0 +1,10 @@
1
+ neops_worker_sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ neops_worker_sdk/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ neops_worker_sdk/cli/neops_worker.py,sha256=bJ71yiVPaA5J2O4m1jIhD9gWgbn-LeeY35hjzOS_vmQ,45
4
+ neops_worker_sdk/function_block/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ neops_worker_sdk/function_block/function_block.py,sha256=8OH67K-nvupmu-ltIk0Q6W4-xQVFCS-rgsrtZihS1Ro,61
6
+ neops_worker_sdk/registry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ neops_worker_sdk-0.1.0.dist-info/METADATA,sha256=Lb5WRgmdlAhiblvWUE8vhlALpHegnbcZOJaJLVB2MDU,813
8
+ neops_worker_sdk-0.1.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
9
+ neops_worker_sdk-0.1.0.dist-info/entry_points.txt,sha256=a9xJqVaBRMLYizbK9G90eCpa0rPJDaw8ZMYGzch8nVI,71
10
+ neops_worker_sdk-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: poetry-core 1.9.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ neops_worker=neops_worker_sdk.cli.neops_worker:main
3
+