iotedgehubdev 0.14.11__zip
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.
- iotedgehubdev/Include/pyconfig.h +684 -0
- iotedgehubdev/ThirdPartyNotice.html +2291 -0
- iotedgehubdev/VCRUNTIME140.dll +0 -0
- iotedgehubdev/_bz2.pyd +0 -0
- iotedgehubdev/_cffi_backend.cp37-win32.pyd +0 -0
- iotedgehubdev/_ctypes.pyd +0 -0
- iotedgehubdev/_decimal.pyd +0 -0
- iotedgehubdev/_hashlib.pyd +0 -0
- iotedgehubdev/_lzma.pyd +0 -0
- iotedgehubdev/_multiprocessing.pyd +0 -0
- iotedgehubdev/_queue.pyd +0 -0
- iotedgehubdev/_socket.pyd +0 -0
- iotedgehubdev/_ssl.pyd +0 -0
- iotedgehubdev/_win32sysloader.pyd +0 -0
- iotedgehubdev/api-ms-win-core-console-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-datetime-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-debug-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-file-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-file-l1-2-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-file-l2-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-handle-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-heap-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-localization-l1-2-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-memory-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
- iotedgehubdev/api-ms-win-core-profile-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-string-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-synch-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-synch-l1-2-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-timezone-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-core-util-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-conio-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-convert-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-environment-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-heap-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-locale-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-math-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-process-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-string-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-time-l1-1-0.dll +0 -0
- iotedgehubdev/api-ms-win-crt-utility-l1-1-0.dll +0 -0
- iotedgehubdev/base_library.zip +0 -0
- iotedgehubdev/bcrypt/_bcrypt.pyd +0 -0
- iotedgehubdev/certifi/cacert.pem +4362 -0
- iotedgehubdev/cryptography/hazmat/bindings/_openssl.pyd +0 -0
- iotedgehubdev/cryptography/hazmat/bindings/_rust.pyd +0 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/INSTALLER +1 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/LICENSE +6 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/LICENSE.APACHE +202 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/LICENSE.BSD +27 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/LICENSE.PSF +41 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/METADATA +136 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/RECORD +184 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/WHEEL +5 -0
- iotedgehubdev/cryptography-36.0.1-py3.7.egg-info/top_level.txt +2 -0
- iotedgehubdev/docker-compose.exe +0 -0
- iotedgehubdev/importlib_metadata-4.2.0-py3.7.egg-info/INSTALLER +1 -0
- iotedgehubdev/importlib_metadata-4.2.0-py3.7.egg-info/LICENSE +13 -0
- iotedgehubdev/importlib_metadata-4.2.0-py3.7.egg-info/METADATA +114 -0
- iotedgehubdev/importlib_metadata-4.2.0-py3.7.egg-info/RECORD +23 -0
- iotedgehubdev/importlib_metadata-4.2.0-py3.7.egg-info/WHEEL +5 -0
- iotedgehubdev/importlib_metadata-4.2.0-py3.7.egg-info/top_level.txt +1 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/PKG-INFO +159 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/SOURCES.txt +27 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/dependency_links.txt +1 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/entry_points.txt +3 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/not-zip-safe +1 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/requires.txt +8 -0
- iotedgehubdev/iotedgehubdev-0.14.11-py3.7.egg-info/top_level.txt +1 -0
- iotedgehubdev/iotedgehubdev.exe +0 -0
- iotedgehubdev/iotedgehubdev.exe.manifest +31 -0
- iotedgehubdev/libcrypto-1_1.dll +0 -0
- iotedgehubdev/libssl-1_1.dll +0 -0
- iotedgehubdev/mfc140u.dll +0 -0
- iotedgehubdev/nacl/_sodium.pyd +0 -0
- iotedgehubdev/nacl/py.typed +0 -0
- iotedgehubdev/pyexpat.pyd +0 -0
- iotedgehubdev/python3.dll +0 -0
- iotedgehubdev/python37.dll +0 -0
- iotedgehubdev/pythoncom37.dll +0 -0
- iotedgehubdev/pywintypes37.dll +0 -0
- iotedgehubdev/select.pyd +0 -0
- iotedgehubdev/ucrtbase.dll +0 -0
- iotedgehubdev/unicodedata.pyd +0 -0
- iotedgehubdev/win32api.pyd +0 -0
- iotedgehubdev/win32com/shell/shell.pyd +0 -0
- iotedgehubdev/win32file.pyd +0 -0
- iotedgehubdev/win32pipe.pyd +0 -0
- iotedgehubdev/win32security.pyd +0 -0
- iotedgehubdev/win32trace.pyd +0 -0
- iotedgehubdev/win32ui.pyd +0 -0
- iotedgehubdev/win32wnet.pyd +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: importlib-metadata
|
|
3
|
+
Version: 4.2.0
|
|
4
|
+
Summary: Read metadata from Python packages
|
|
5
|
+
Home-page: https://github.com/python/importlib_metadata
|
|
6
|
+
Author: Jason R. Coombs
|
|
7
|
+
Author-email: jaraco@jaraco.com
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Platform: UNKNOWN
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Requires-Python: >=3.6
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Requires-Dist: zipp (>=0.5)
|
|
18
|
+
Requires-Dist: typing-extensions (>=3.6.4) ; python_version < "3.8"
|
|
19
|
+
Provides-Extra: docs
|
|
20
|
+
Requires-Dist: sphinx ; extra == 'docs'
|
|
21
|
+
Requires-Dist: jaraco.packaging (>=8.2) ; extra == 'docs'
|
|
22
|
+
Requires-Dist: rst.linker (>=1.9) ; extra == 'docs'
|
|
23
|
+
Provides-Extra: testing
|
|
24
|
+
Requires-Dist: pytest (>=4.6) ; extra == 'testing'
|
|
25
|
+
Requires-Dist: pytest-checkdocs (>=2.4) ; extra == 'testing'
|
|
26
|
+
Requires-Dist: pytest-flake8 ; extra == 'testing'
|
|
27
|
+
Requires-Dist: pytest-cov ; extra == 'testing'
|
|
28
|
+
Requires-Dist: pytest-enabler (>=1.0.1) ; extra == 'testing'
|
|
29
|
+
Requires-Dist: packaging ; extra == 'testing'
|
|
30
|
+
Requires-Dist: pep517 ; extra == 'testing'
|
|
31
|
+
Requires-Dist: pyfakefs ; extra == 'testing'
|
|
32
|
+
Requires-Dist: flufl.flake8 ; extra == 'testing'
|
|
33
|
+
Requires-Dist: pytest-black (>=0.3.7) ; (platform_python_implementation != "PyPy" and python_version < "3.10") and extra == 'testing'
|
|
34
|
+
Requires-Dist: pytest-mypy ; (platform_python_implementation != "PyPy" and python_version < "3.10") and extra == 'testing'
|
|
35
|
+
Requires-Dist: importlib-resources (>=1.3) ; (python_version < "3.9") and extra == 'testing'
|
|
36
|
+
|
|
37
|
+
.. image:: https://img.shields.io/pypi/v/importlib_metadata.svg
|
|
38
|
+
:target: `PyPI link`_
|
|
39
|
+
|
|
40
|
+
.. image:: https://img.shields.io/pypi/pyversions/importlib_metadata.svg
|
|
41
|
+
:target: `PyPI link`_
|
|
42
|
+
|
|
43
|
+
.. _PyPI link: https://pypi.org/project/importlib_metadata
|
|
44
|
+
|
|
45
|
+
.. image:: https://github.com/python/importlib_metadata/workflows/tests/badge.svg
|
|
46
|
+
:target: https://github.com/python/importlib_metadata/actions?query=workflow%3A%22tests%22
|
|
47
|
+
:alt: tests
|
|
48
|
+
|
|
49
|
+
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
50
|
+
:target: https://github.com/psf/black
|
|
51
|
+
:alt: Code style: Black
|
|
52
|
+
|
|
53
|
+
.. image:: https://readthedocs.org/projects/importlib-metadata/badge/?version=latest
|
|
54
|
+
:target: https://importlib-metadata.readthedocs.io/en/latest/?badge=latest
|
|
55
|
+
|
|
56
|
+
.. image:: https://img.shields.io/badge/skeleton-2021-informational
|
|
57
|
+
:target: https://blog.jaraco.com/skeleton
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
Library to access the metadata for a Python package.
|
|
61
|
+
|
|
62
|
+
This package supplies third-party access to the functionality of
|
|
63
|
+
`importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>`_
|
|
64
|
+
including improvements added to subsequent Python versions.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Compatibility
|
|
68
|
+
=============
|
|
69
|
+
|
|
70
|
+
New features are introduced in this third-party library and later merged
|
|
71
|
+
into CPython. The following table indicates which versions of this library
|
|
72
|
+
were contributed to different versions in the standard library:
|
|
73
|
+
|
|
74
|
+
.. list-table::
|
|
75
|
+
:header-rows: 1
|
|
76
|
+
|
|
77
|
+
* - importlib_metadata
|
|
78
|
+
- stdlib
|
|
79
|
+
* - 3.10
|
|
80
|
+
- 3.10
|
|
81
|
+
* - 1.4
|
|
82
|
+
- 3.8
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
Usage
|
|
86
|
+
=====
|
|
87
|
+
|
|
88
|
+
See the `online documentation <https://importlib_metadata.readthedocs.io/>`_
|
|
89
|
+
for usage details.
|
|
90
|
+
|
|
91
|
+
`Finder authors
|
|
92
|
+
<https://docs.python.org/3/reference/import.html#finders-and-loaders>`_ can
|
|
93
|
+
also add support for custom package installers. See the above documentation
|
|
94
|
+
for details.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
Caveats
|
|
98
|
+
=======
|
|
99
|
+
|
|
100
|
+
This project primarily supports third-party packages installed by PyPA
|
|
101
|
+
tools (or other conforming packages). It does not support:
|
|
102
|
+
|
|
103
|
+
- Packages in the stdlib.
|
|
104
|
+
- Packages installed without metadata.
|
|
105
|
+
|
|
106
|
+
Project details
|
|
107
|
+
===============
|
|
108
|
+
|
|
109
|
+
* Project home: https://github.com/python/importlib_metadata
|
|
110
|
+
* Report bugs at: https://github.com/python/importlib_metadata/issues
|
|
111
|
+
* Code hosting: https://github.com/python/importlib_metadata
|
|
112
|
+
* Documentation: https://importlib_metadata.readthedocs.io/
|
|
113
|
+
|
|
114
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
importlib_metadata-4.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
|
2
|
+
importlib_metadata-4.2.0.dist-info/LICENSE,sha256=wNe6dAchmJ1VvVB8D9oTc-gHHadCuaSBAev36sYEM6U,571
|
|
3
|
+
importlib_metadata-4.2.0.dist-info/METADATA,sha256=3wh1wA1XkhDTtFBT1EQBLjaUzKP9Svmy_IMDqFCTSrI,3947
|
|
4
|
+
importlib_metadata-4.2.0.dist-info/RECORD,,
|
|
5
|
+
importlib_metadata-4.2.0.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
6
|
+
importlib_metadata-4.2.0.dist-info/top_level.txt,sha256=CO3fD9yylANiXkrMo4qHLV_mqXL2sC5JFKgt1yWAT-A,19
|
|
7
|
+
importlib_metadata/__init__.py,sha256=L1K9fX-dYb-FPmBnZeopEXYYzSQhGmS11Uo8AmdJ2bE,26337
|
|
8
|
+
importlib_metadata/__pycache__/__init__.cpython-37.pyc,,
|
|
9
|
+
importlib_metadata/__pycache__/_adapters.cpython-37.pyc,,
|
|
10
|
+
importlib_metadata/__pycache__/_collections.cpython-37.pyc,,
|
|
11
|
+
importlib_metadata/__pycache__/_compat.cpython-37.pyc,,
|
|
12
|
+
importlib_metadata/__pycache__/_functools.cpython-37.pyc,,
|
|
13
|
+
importlib_metadata/__pycache__/_itertools.cpython-37.pyc,,
|
|
14
|
+
importlib_metadata/__pycache__/_meta.cpython-37.pyc,,
|
|
15
|
+
importlib_metadata/__pycache__/_text.cpython-37.pyc,,
|
|
16
|
+
importlib_metadata/_adapters.py,sha256=B6fCi5-8mLVDFUZj3krI5nAo-mKp1dH_qIavyIyFrJs,1862
|
|
17
|
+
importlib_metadata/_collections.py,sha256=CJ0OTCHIjWA0ZIVS4voORAsn2R4R2cQBEtPsZEJpASY,743
|
|
18
|
+
importlib_metadata/_compat.py,sha256=2wonzhS4HQ0rxgJ3GNQxYGFOv0kOXfriY8BlTUo9_Ao,2348
|
|
19
|
+
importlib_metadata/_functools.py,sha256=mJCTrU4JMrCndpDoqN3zbI6P9tAKU116LopceWedi1c,2501
|
|
20
|
+
importlib_metadata/_itertools.py,sha256=5TUj_APJHq3pvjn04hnP2oYBebP2No7HmNH_hkOGwLQ,607
|
|
21
|
+
importlib_metadata/_meta.py,sha256=ga8kgPmxAbf6HyJWOJzTD0uMkDo_fXwNPuwdW1HevpQ,1150
|
|
22
|
+
importlib_metadata/_text.py,sha256=8OAQl69ZcDQ-4cTx-RVvHw9DZh6dv3KsKJM22bfDKfk,2198
|
|
23
|
+
importlib_metadata/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
importlib_metadata
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: iotedgehubdev
|
|
3
|
+
Version: 0.14.11
|
|
4
|
+
Summary: Azure IoT EdgeHub Dev Tool
|
|
5
|
+
Home-page: https://github.com/Azure/iotedgehubdev
|
|
6
|
+
Author: iotedgehubdev
|
|
7
|
+
Author-email: vsciet@microsoft.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Description: # Azure IoT EdgeHub Dev Tool [](https://dev.azure.com/mseng/VSIoT/_build/latest?definitionId=7735&branchName=main)
|
|
10
|
+
The Azure IoT EdgeHub Dev Tool provides a local development experience with a simulator for creating, developing, testing, running, and debugging Azure IoT Edge modules and solutions.
|
|
11
|
+
|
|
12
|
+
The simulator allows you to run, test and debug your own custom IoT Edge modules locally, without the IoT Edge Runtime, and with the following benefits:
|
|
13
|
+
- Your custom Edge module code is the **same** whether running on the simulator or the full IoT Edge Runtime.
|
|
14
|
+
- Your Edge solution can be run locally **without the need** to push new images or create IoT Edge deployment manifests.
|
|
15
|
+
- The only credential required to run your Edge solution on the simulator is the **IoT Edge Device Connection String**. The IoT Hub Connection String is not needed.
|
|
16
|
+
- It helps you debug your custom Edge modules on the host and not just in the container.
|
|
17
|
+
|
|
18
|
+
The following table compares the requirements to run your solution on the IoT Edge Runtime and iotedgehubdev tool:
|
|
19
|
+
|
|
20
|
+
| | IoT Edge Runtime | iotedgehubdev |
|
|
21
|
+
| ----------------------------- |:----------------:|:-------------:|
|
|
22
|
+
| Device Credential Needed | YES | YES |
|
|
23
|
+
| IoT Hub Credential Needed | YES | **NO** |
|
|
24
|
+
| Build Image | YES | YES |
|
|
25
|
+
| Push Image | YES | **NO** |
|
|
26
|
+
| Create Deployment | YES | **NO** |
|
|
27
|
+
| Support native debug scenario | NO | **YES** |
|
|
28
|
+
|
|
29
|
+
## Installing
|
|
30
|
+
1. Install [Docker CE (18.02.0+)](https://www.docker.com/community-edition) on
|
|
31
|
+
[Windows](https://docs.docker.com/docker-for-windows/install/), [macOS](https://docs.docker.com/docker-for-mac/install/) or [Linux](https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce)
|
|
32
|
+
|
|
33
|
+
2. Install [Docker Compose (1.20.0+)](https://docs.docker.com/compose/install/#install-compose) (***Linux only***. *Compose has already been included in Windows/macOS Docker CE installation*)
|
|
34
|
+
3. Install [Python (3.5/3.6/3.7/3.8) and Pip](https://www.python.org/)
|
|
35
|
+
4. Install **iotedgehubdev** by running the following command in your terminal:
|
|
36
|
+
```
|
|
37
|
+
pip install --upgrade iotedgehubdev
|
|
38
|
+
```
|
|
39
|
+
**Note**: Please install iotedgehubdev to **root** on Linux/macOS (*Don't use '--user' option in the 'pip install' command*).
|
|
40
|
+
|
|
41
|
+
**Please make sure there is no Azure IoT Edge runtime running on the same machine as iotedgehubdev since they require the same ports.**
|
|
42
|
+
|
|
43
|
+
## Quickstart
|
|
44
|
+
### 1. Setup
|
|
45
|
+
|
|
46
|
+
##### Windows
|
|
47
|
+
```
|
|
48
|
+
iotedgehubdev setup -c "<edge-device-connection-string>"
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
##### Linux/macOS
|
|
52
|
+
```
|
|
53
|
+
sudo iotedgehubdev setup -c "<edge-device-connection-string>"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### 2. Start/Stop an IoT Edge solution in simulator
|
|
57
|
+
|
|
58
|
+
##### Windows
|
|
59
|
+
```
|
|
60
|
+
iotedgehubdev start -d <path/to/deployment-manifest>
|
|
61
|
+
iotedgehubdev stop
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
##### Linux/macOS
|
|
65
|
+
```
|
|
66
|
+
sudo iotedgehubdev start -d <path/to/deployment-manifest>
|
|
67
|
+
sudo iotedgehubdev stop
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### 3. Start and debug a single module natively
|
|
71
|
+
1. Start the module with specific input(s) and/or environment variable(s)
|
|
72
|
+
|
|
73
|
+
##### Windows
|
|
74
|
+
```
|
|
75
|
+
iotedgehubdev start -i "<module-inputs>"
|
|
76
|
+
|
|
77
|
+
// OR
|
|
78
|
+
|
|
79
|
+
iotedgehubdev start -i "<module-inputs>" -e "<environment-variable>"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
##### Linux/macOS
|
|
83
|
+
```
|
|
84
|
+
sudo iotedgehubdev start -i "<module-inputs>"
|
|
85
|
+
|
|
86
|
+
// OR
|
|
87
|
+
|
|
88
|
+
sudo iotedgehubdev start -i "<module-inputs>" -e "<environment-variable>"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**For example**:
|
|
92
|
+
`iotedgehubdev start -i "input1,input2" -e "TestEnv1=Value1" -e "TestEnv2=Value2"`
|
|
93
|
+
|
|
94
|
+
2. Output the module credential environment variables
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
iotedgehubdev modulecred
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
3. Start your module natively with the environment variables from the previous step
|
|
101
|
+
|
|
102
|
+
4. Send a message to your module through the RESTful API
|
|
103
|
+
|
|
104
|
+
**For example**:
|
|
105
|
+
`curl --header "Content-Type: application/json" --request POST --data '{"inputName": "input1","data": "hello world"}' http://localhost:53000/api/v1/messages`
|
|
106
|
+
|
|
107
|
+
5. Stop the simulator
|
|
108
|
+
|
|
109
|
+
##### Windows
|
|
110
|
+
```
|
|
111
|
+
iotedgehubdev stop
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
##### Linux/macOS
|
|
115
|
+
```
|
|
116
|
+
sudo iotedgehubdev stop
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Other resources
|
|
120
|
+
- [Azure IoT Edge for Visual Studio Code](https://github.com/microsoft/vscode-azure-iot-edge)
|
|
121
|
+
- [Azure IoT Edge Dev CLI Tool](https://github.com/azure/iotedgedev)
|
|
122
|
+
|
|
123
|
+
# Data/Telemetry
|
|
124
|
+
This project collects usage data and sends it to Microsoft to help improve our products and services. Read our [privacy statement](http://go.microsoft.com/fwlink/?LinkId=521839) to learn more.
|
|
125
|
+
If you don’t wish to send usage data to Microsoft, you can change your telemetry settings by updating `collect_telemetry` to `no` in the ini file.
|
|
126
|
+
|
|
127
|
+
# Contributing
|
|
128
|
+
|
|
129
|
+
This project welcomes contributions and suggestions. Most contributions require you to
|
|
130
|
+
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
|
|
131
|
+
and actually do, grant us the rights to use your contribution. For details, visit
|
|
132
|
+
https://cla.microsoft.com.
|
|
133
|
+
|
|
134
|
+
When you submit a pull request, a CLA-bot will automatically determine whether you need
|
|
135
|
+
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
|
|
136
|
+
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
|
|
137
|
+
|
|
138
|
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
139
|
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
140
|
+
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
141
|
+
|
|
142
|
+
Platform: any
|
|
143
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
144
|
+
Classifier: Environment :: Console
|
|
145
|
+
Classifier: Intended Audience :: Developers
|
|
146
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
147
|
+
Classifier: Operating System :: POSIX
|
|
148
|
+
Classifier: Operating System :: MacOS
|
|
149
|
+
Classifier: Operating System :: Unix
|
|
150
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
151
|
+
Classifier: Programming Language :: Python
|
|
152
|
+
Classifier: Programming Language :: Python :: 3
|
|
153
|
+
Classifier: Programming Language :: Python :: 3.5
|
|
154
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
155
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
156
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
157
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
158
|
+
Requires-Python: >=3.5, <3.9
|
|
159
|
+
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
setup.cfg
|
|
3
|
+
setup.py
|
|
4
|
+
iotedgehubdev/__init__.py
|
|
5
|
+
iotedgehubdev/certutils.py
|
|
6
|
+
iotedgehubdev/cli.py
|
|
7
|
+
iotedgehubdev/compose_parser.py
|
|
8
|
+
iotedgehubdev/composeproject.py
|
|
9
|
+
iotedgehubdev/configs.py
|
|
10
|
+
iotedgehubdev/constants.py
|
|
11
|
+
iotedgehubdev/decorators.py
|
|
12
|
+
iotedgehubdev/edgecert.py
|
|
13
|
+
iotedgehubdev/edgedockerclient.py
|
|
14
|
+
iotedgehubdev/edgemanager.py
|
|
15
|
+
iotedgehubdev/errors.py
|
|
16
|
+
iotedgehubdev/hostplatform.py
|
|
17
|
+
iotedgehubdev/output.py
|
|
18
|
+
iotedgehubdev/telemetry.py
|
|
19
|
+
iotedgehubdev/telemetry_upload.py
|
|
20
|
+
iotedgehubdev/utils.py
|
|
21
|
+
iotedgehubdev.egg-info/PKG-INFO
|
|
22
|
+
iotedgehubdev.egg-info/SOURCES.txt
|
|
23
|
+
iotedgehubdev.egg-info/dependency_links.txt
|
|
24
|
+
iotedgehubdev.egg-info/entry_points.txt
|
|
25
|
+
iotedgehubdev.egg-info/not-zip-safe
|
|
26
|
+
iotedgehubdev.egg-info/requires.txt
|
|
27
|
+
iotedgehubdev.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
iotedgehubdev
|
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
3
|
+
<assemblyIdentity name="iotedgehubdev" processorArchitecture="x86" type="win32" version="1.0.0.0"/>
|
|
4
|
+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
5
|
+
<security>
|
|
6
|
+
<requestedPrivileges>
|
|
7
|
+
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
|
8
|
+
</requestedPrivileges>
|
|
9
|
+
</security>
|
|
10
|
+
</trustInfo>
|
|
11
|
+
<dependency>
|
|
12
|
+
<dependentAssembly>
|
|
13
|
+
<assemblyIdentity language="*" name="Microsoft.Windows.Common-Controls" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" type="win32" version="6.0.0.0"/>
|
|
14
|
+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"/>
|
|
15
|
+
</dependentAssembly>
|
|
16
|
+
</dependency>
|
|
17
|
+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
|
18
|
+
<application>
|
|
19
|
+
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
|
|
20
|
+
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
|
|
21
|
+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
|
|
22
|
+
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
|
|
23
|
+
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
|
|
24
|
+
</application>
|
|
25
|
+
</compatibility>
|
|
26
|
+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
27
|
+
<windowsSettings>
|
|
28
|
+
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
|
|
29
|
+
</windowsSettings>
|
|
30
|
+
</application>
|
|
31
|
+
</assembly>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
iotedgehubdev/select.pyd
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|