ironflock 1.0.1__tar.gz → 1.0.3__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.
- {ironflock-1.0.1/ironflock.egg-info → ironflock-1.0.3}/PKG-INFO +11 -13
- {ironflock-1.0.1 → ironflock-1.0.3}/README.md +7 -9
- {ironflock-1.0.1 → ironflock-1.0.3/ironflock.egg-info}/PKG-INFO +11 -13
- {ironflock-1.0.1 → ironflock-1.0.3}/setup.py +4 -4
- {ironflock-1.0.1 → ironflock-1.0.3}/LICENSE +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/MANIFEST.in +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock/AutobahnConnection.py +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock/__init__.py +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock/ironflock.py +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock.egg-info/SOURCES.txt +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock.egg-info/dependency_links.txt +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock.egg-info/requires.txt +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/ironflock.egg-info/top_level.txt +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/pyproject.toml +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/requirements.txt +0 -0
- {ironflock-1.0.1 → ironflock-1.0.3}/setup.cfg +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ironflock
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Summary:
|
|
5
|
-
Home-page: https://github.com/RecordEvolution/ironflock-
|
|
3
|
+
Version: 1.0.3
|
|
4
|
+
Summary: SDK to integrate your IronFlock Industry 4 Apps with the IronFlock Data Infrastructure
|
|
5
|
+
Home-page: https://github.com/RecordEvolution/ironflock-py
|
|
6
6
|
Author: Record Evolution GmbH
|
|
7
7
|
Author-email: marko.petzold@record-evolution.de
|
|
8
8
|
License: MIT
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.8
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: autobahn[asyncio,serialization]==22.3.2
|
|
@@ -28,23 +28,21 @@ For more information on the IronFlock IoT Devops Platform for engineers and deve
|
|
|
28
28
|
import asyncio
|
|
29
29
|
from ironflock import IronFlock
|
|
30
30
|
|
|
31
|
-
# create
|
|
32
|
-
#
|
|
33
|
-
|
|
31
|
+
# create an IronFlock instance to connect to the IronFlock platform data infrastructure.
|
|
32
|
+
# The IronFlock instance handles authentication when run on a device registered in IronFlock.
|
|
33
|
+
ironflock = IronFlock()
|
|
34
34
|
|
|
35
35
|
async def main():
|
|
36
36
|
while True:
|
|
37
37
|
# publish an event (if connection is not established the publish is skipped)
|
|
38
|
-
publication = await
|
|
38
|
+
publication = await ironflock.publish("test.publish.com", {"temperature": 20})
|
|
39
39
|
print(publication)
|
|
40
40
|
await asyncio.sleep(3)
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
if __name__ == "__main__":
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
# run the ironflock component
|
|
47
|
-
rw.run()
|
|
44
|
+
ironflock = IronFlock(mainFunc=main)
|
|
45
|
+
ironflock.run()
|
|
48
46
|
```
|
|
49
47
|
|
|
50
48
|
## Options
|
|
@@ -62,7 +60,7 @@ The `IronFlock` `__init__` function can be configured with the following options
|
|
|
62
60
|
## Advanced Usage
|
|
63
61
|
|
|
64
62
|
If you need more control, e.g. acting on lifecycle events (`onJoin`, `onLeave`) take a look at
|
|
65
|
-
the [examples](
|
|
63
|
+
the [examples](https://github.com/RecordEvolution/ironflock-py/tree/main/examples) folder.
|
|
66
64
|
|
|
67
65
|
|
|
68
66
|
## Development
|
|
@@ -15,23 +15,21 @@ For more information on the IronFlock IoT Devops Platform for engineers and deve
|
|
|
15
15
|
import asyncio
|
|
16
16
|
from ironflock import IronFlock
|
|
17
17
|
|
|
18
|
-
# create
|
|
19
|
-
#
|
|
20
|
-
|
|
18
|
+
# create an IronFlock instance to connect to the IronFlock platform data infrastructure.
|
|
19
|
+
# The IronFlock instance handles authentication when run on a device registered in IronFlock.
|
|
20
|
+
ironflock = IronFlock()
|
|
21
21
|
|
|
22
22
|
async def main():
|
|
23
23
|
while True:
|
|
24
24
|
# publish an event (if connection is not established the publish is skipped)
|
|
25
|
-
publication = await
|
|
25
|
+
publication = await ironflock.publish("test.publish.com", {"temperature": 20})
|
|
26
26
|
print(publication)
|
|
27
27
|
await asyncio.sleep(3)
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
if __name__ == "__main__":
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# run the ironflock component
|
|
34
|
-
rw.run()
|
|
31
|
+
ironflock = IronFlock(mainFunc=main)
|
|
32
|
+
ironflock.run()
|
|
35
33
|
```
|
|
36
34
|
|
|
37
35
|
## Options
|
|
@@ -49,7 +47,7 @@ The `IronFlock` `__init__` function can be configured with the following options
|
|
|
49
47
|
## Advanced Usage
|
|
50
48
|
|
|
51
49
|
If you need more control, e.g. acting on lifecycle events (`onJoin`, `onLeave`) take a look at
|
|
52
|
-
the [examples](
|
|
50
|
+
the [examples](https://github.com/RecordEvolution/ironflock-py/tree/main/examples) folder.
|
|
53
51
|
|
|
54
52
|
|
|
55
53
|
## Development
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ironflock
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Summary:
|
|
5
|
-
Home-page: https://github.com/RecordEvolution/ironflock-
|
|
3
|
+
Version: 1.0.3
|
|
4
|
+
Summary: SDK to integrate your IronFlock Industry 4 Apps with the IronFlock Data Infrastructure
|
|
5
|
+
Home-page: https://github.com/RecordEvolution/ironflock-py
|
|
6
6
|
Author: Record Evolution GmbH
|
|
7
7
|
Author-email: marko.petzold@record-evolution.de
|
|
8
8
|
License: MIT
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.8
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: autobahn[asyncio,serialization]==22.3.2
|
|
@@ -28,23 +28,21 @@ For more information on the IronFlock IoT Devops Platform for engineers and deve
|
|
|
28
28
|
import asyncio
|
|
29
29
|
from ironflock import IronFlock
|
|
30
30
|
|
|
31
|
-
# create
|
|
32
|
-
#
|
|
33
|
-
|
|
31
|
+
# create an IronFlock instance to connect to the IronFlock platform data infrastructure.
|
|
32
|
+
# The IronFlock instance handles authentication when run on a device registered in IronFlock.
|
|
33
|
+
ironflock = IronFlock()
|
|
34
34
|
|
|
35
35
|
async def main():
|
|
36
36
|
while True:
|
|
37
37
|
# publish an event (if connection is not established the publish is skipped)
|
|
38
|
-
publication = await
|
|
38
|
+
publication = await ironflock.publish("test.publish.com", {"temperature": 20})
|
|
39
39
|
print(publication)
|
|
40
40
|
await asyncio.sleep(3)
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
if __name__ == "__main__":
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
# run the ironflock component
|
|
47
|
-
rw.run()
|
|
44
|
+
ironflock = IronFlock(mainFunc=main)
|
|
45
|
+
ironflock.run()
|
|
48
46
|
```
|
|
49
47
|
|
|
50
48
|
## Options
|
|
@@ -62,7 +60,7 @@ The `IronFlock` `__init__` function can be configured with the following options
|
|
|
62
60
|
## Advanced Usage
|
|
63
61
|
|
|
64
62
|
If you need more control, e.g. acting on lifecycle events (`onJoin`, `onLeave`) take a look at
|
|
65
|
-
the [examples](
|
|
63
|
+
the [examples](https://github.com/RecordEvolution/ironflock-py/tree/main/examples) folder.
|
|
66
64
|
|
|
67
65
|
|
|
68
66
|
## Development
|
|
@@ -10,16 +10,16 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="ironflock",
|
|
13
|
-
version="1.0.
|
|
14
|
-
description="
|
|
13
|
+
version="1.0.3",
|
|
14
|
+
description="SDK to integrate your IronFlock Industry 4 Apps with the IronFlock Data Infrastructure",
|
|
15
15
|
long_description=long_description,
|
|
16
16
|
long_description_content_type="text/markdown",
|
|
17
|
-
url="https://github.com/RecordEvolution/ironflock-
|
|
17
|
+
url="https://github.com/RecordEvolution/ironflock-py",
|
|
18
18
|
author="Record Evolution GmbH",
|
|
19
19
|
author_email="marko.petzold@record-evolution.de",
|
|
20
20
|
packages=find_packages(),
|
|
21
21
|
license="MIT",
|
|
22
|
-
python_requires=">=3.
|
|
22
|
+
python_requires=">=3.8",
|
|
23
23
|
install_requires=requirements,
|
|
24
24
|
classifiers=[],
|
|
25
25
|
)
|
|
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
|
|
File without changes
|
|
File without changes
|