ni.datastore 0.1.0.dev3__tar.gz → 0.1.0.dev5__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.
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/PKG-INFO +16 -10
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/README.md +10 -4
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/pyproject.toml +7 -8
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/__init__.py +3 -2
- ni_datastore-0.1.0.dev5/src/ni/datastore/data/_data_store_client.py +636 -0
- ni_datastore-0.1.0.dev5/src/ni/datastore/data/_types/_error_information.py +73 -0
- ni_datastore-0.1.0.dev5/src/ni/datastore/data/_types/_moniker.py +69 -0
- ni_datastore-0.1.0.dev5/src/ni/datastore/data/_types/_outcome.py +53 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/_types/_published_condition.py +35 -17
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/_types/_published_measurement.py +76 -39
- ni_datastore-0.1.0.dev5/src/ni/datastore/data/_types/_step.py +190 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/_types/_test_result.py +87 -63
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/__init__.py +1 -1
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_metadata_store_client.py +241 -28
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_alias.py +26 -15
- ni_datastore-0.1.0.dev5/src/ni/datastore/metadata/_types/_alias_target_type.py +75 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_extension_schema.py +17 -8
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_hardware_item.py +44 -14
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_operator.py +44 -19
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_software_item.py +39 -14
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_test.py +44 -19
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_test_adapter.py +51 -19
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_test_description.py +46 -20
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_test_station.py +47 -19
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_uut.py +44 -14
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/_uut_instance.py +46 -14
- ni_datastore-0.1.0.dev3/src/ni/datastore/data/_data_store_client.py +0 -355
- ni_datastore-0.1.0.dev3/src/ni/datastore/data/_types/_step.py +0 -157
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/LICENSE +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/__init__.py +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/_grpc_conversion.py +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/_types/__init__.py +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/_types/py.typed +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/data/py.typed +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_grpc_conversion.py +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/__init__.py +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/_types/py.typed +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/metadata/py.typed +0 -0
- {ni_datastore-0.1.0.dev3 → ni_datastore-0.1.0.dev5}/src/ni/datastore/py.typed +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: ni.datastore
|
|
3
|
-
Version: 0.1.0.
|
|
4
|
-
Summary: APIs for publishing and retrieving data from
|
|
3
|
+
Version: 0.1.0.dev5
|
|
4
|
+
Summary: APIs for publishing and retrieving data from NI Measurement Data Services
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: datastore
|
|
7
7
|
Author: NI
|
|
8
8
|
Author-email: opensource@ni.com
|
|
9
9
|
Maintainer: Johann Scholtz
|
|
10
10
|
Maintainer-email: johann.scholtz@emerson.com
|
|
11
|
-
Requires-Python: >=3.
|
|
11
|
+
Requires-Python: >=3.10,<4.0
|
|
12
12
|
Classifier: Development Status :: 3 - Alpha
|
|
13
13
|
Classifier: Intended Audience :: Developers
|
|
14
14
|
Classifier: Intended Audience :: Manufacturing
|
|
@@ -17,16 +17,16 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
17
17
|
Classifier: Operating System :: Microsoft :: Windows
|
|
18
18
|
Classifier: Operating System :: POSIX
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
26
26
|
Requires-Dist: hightime (>=0.3.0.dev0)
|
|
27
27
|
Requires-Dist: ni-datamonikers-v1-client (>=0.1.0.dev1)
|
|
28
|
-
Requires-Dist: ni-measurements-data-v1-client (>=0.
|
|
29
|
-
Requires-Dist: ni-measurements-metadata-v1-client (>=0.
|
|
28
|
+
Requires-Dist: ni-measurements-data-v1-client (>=0.2.0.dev1)
|
|
29
|
+
Requires-Dist: ni-measurements-metadata-v1-client (>=0.2.0.dev1)
|
|
30
30
|
Requires-Dist: ni-protobuf-types (>=1.0.1.dev0)
|
|
31
31
|
Requires-Dist: protobuf (>=4.21)
|
|
32
32
|
Description-Content-Type: text/markdown
|
|
@@ -34,21 +34,23 @@ Description-Content-Type: text/markdown
|
|
|
34
34
|
# Table of Contents
|
|
35
35
|
|
|
36
36
|
- [Table of Contents](#table-of-contents)
|
|
37
|
+
- [Measurement Data Services API for Python](#measurement-data-services-api-for-python)
|
|
37
38
|
- [About](#about)
|
|
38
39
|
- [Operating System Support](#operating-system-support)
|
|
39
40
|
- [Python Version Support](#python-version-support)
|
|
41
|
+
- [Installation](#installation)
|
|
40
42
|
|
|
41
|
-
# Measurement Data
|
|
43
|
+
# Measurement Data Services API for Python
|
|
42
44
|
|
|
43
45
|
`datastore-python` contains Python code for writing to and reading from
|
|
44
|
-
|
|
46
|
+
[NI Measurement Data Services](https://github.com/ni/datastore-service).
|
|
45
47
|
It will include examples of how to use the Python API.
|
|
46
48
|
|
|
47
49
|
# About
|
|
48
50
|
|
|
49
51
|
`ni.datastore` is the main Python package in this repo that
|
|
50
52
|
provides APIs for publishing and retrieving data from the NI
|
|
51
|
-
Measurement Data
|
|
53
|
+
Measurement Data Services
|
|
52
54
|
|
|
53
55
|
NI created and supports this package.
|
|
54
56
|
|
|
@@ -58,10 +60,14 @@ NI created and supports this package.
|
|
|
58
60
|
|
|
59
61
|
## Python Version Support
|
|
60
62
|
|
|
61
|
-
`ni.datastore` supports CPython 3.
|
|
63
|
+
`ni.datastore` supports CPython 3.10+.
|
|
62
64
|
|
|
63
65
|
## Installation
|
|
64
66
|
|
|
67
|
+
As a prerequisite to using the `ni.datastore` module, you must install Measurement Data Services
|
|
68
|
+
Software 2026 Q1 or later on your system. You can download and install this software using
|
|
69
|
+
[NI Package Manager](https://www.ni.com/en/support/downloads/software-products/download.package-manager.html).
|
|
70
|
+
|
|
65
71
|
You can directly install the `ni.datastore` package using `pip` or by listing it as a
|
|
66
72
|
dependency in your project's `pyproject.toml` file.
|
|
67
73
|
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
# Table of Contents
|
|
2
2
|
|
|
3
3
|
- [Table of Contents](#table-of-contents)
|
|
4
|
+
- [Measurement Data Services API for Python](#measurement-data-services-api-for-python)
|
|
4
5
|
- [About](#about)
|
|
5
6
|
- [Operating System Support](#operating-system-support)
|
|
6
7
|
- [Python Version Support](#python-version-support)
|
|
8
|
+
- [Installation](#installation)
|
|
7
9
|
|
|
8
|
-
# Measurement Data
|
|
10
|
+
# Measurement Data Services API for Python
|
|
9
11
|
|
|
10
12
|
`datastore-python` contains Python code for writing to and reading from
|
|
11
|
-
|
|
13
|
+
[NI Measurement Data Services](https://github.com/ni/datastore-service).
|
|
12
14
|
It will include examples of how to use the Python API.
|
|
13
15
|
|
|
14
16
|
# About
|
|
15
17
|
|
|
16
18
|
`ni.datastore` is the main Python package in this repo that
|
|
17
19
|
provides APIs for publishing and retrieving data from the NI
|
|
18
|
-
Measurement Data
|
|
20
|
+
Measurement Data Services
|
|
19
21
|
|
|
20
22
|
NI created and supports this package.
|
|
21
23
|
|
|
@@ -25,9 +27,13 @@ NI created and supports this package.
|
|
|
25
27
|
|
|
26
28
|
## Python Version Support
|
|
27
29
|
|
|
28
|
-
`ni.datastore` supports CPython 3.
|
|
30
|
+
`ni.datastore` supports CPython 3.10+.
|
|
29
31
|
|
|
30
32
|
## Installation
|
|
31
33
|
|
|
34
|
+
As a prerequisite to using the `ni.datastore` module, you must install Measurement Data Services
|
|
35
|
+
Software 2026 Q1 or later on your system. You can download and install this software using
|
|
36
|
+
[NI Package Manager](https://www.ni.com/en/support/downloads/software-products/download.package-manager.html).
|
|
37
|
+
|
|
32
38
|
You can directly install the `ni.datastore` package using `pip` or by listing it as a
|
|
33
39
|
dependency in your project's `pyproject.toml` file.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ni.datastore"
|
|
3
|
-
version = "0.1.0
|
|
3
|
+
version = "0.1.0.dev5"
|
|
4
4
|
license = "MIT"
|
|
5
|
-
description = "APIs for publishing and retrieving data from
|
|
5
|
+
description = "APIs for publishing and retrieving data from NI Measurement Data Services"
|
|
6
6
|
authors = [{name = "NI", email = "opensource@ni.com"}]
|
|
7
7
|
maintainers = [
|
|
8
8
|
{name = "Johann Scholtz", email = "johann.scholtz@emerson.com"},
|
|
@@ -20,26 +20,26 @@ classifiers = [
|
|
|
20
20
|
"Operating System :: Microsoft :: Windows",
|
|
21
21
|
"Operating System :: POSIX",
|
|
22
22
|
"Programming Language :: Python :: 3",
|
|
23
|
-
"Programming Language :: Python :: 3.9",
|
|
24
23
|
"Programming Language :: Python :: 3.10",
|
|
25
24
|
"Programming Language :: Python :: 3.11",
|
|
26
25
|
"Programming Language :: Python :: 3.12",
|
|
27
26
|
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Programming Language :: Python :: 3.14",
|
|
28
28
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
29
29
|
]
|
|
30
30
|
dynamic = ["dependencies"]
|
|
31
|
-
requires-python = '>=3.
|
|
31
|
+
requires-python = '>=3.10,<4.0'
|
|
32
32
|
|
|
33
33
|
[tool.poetry]
|
|
34
34
|
packages = [{include = "ni", from = "src"}]
|
|
35
35
|
requires-poetry = '>=2.1,<3.0'
|
|
36
36
|
|
|
37
37
|
[tool.poetry.dependencies]
|
|
38
|
-
python = "^3.
|
|
38
|
+
python = "^3.10"
|
|
39
39
|
protobuf = {version=">=4.21"}
|
|
40
40
|
ni-datamonikers-v1-client = { version = ">=0.1.0.dev1", allow-prereleases = true }
|
|
41
|
-
ni-measurements-data-v1-client = { version = ">=0.
|
|
42
|
-
ni-measurements-metadata-v1-client = { version = ">=0.
|
|
41
|
+
ni-measurements-data-v1-client = { version = ">=0.2.0.dev1", allow-prereleases = true }
|
|
42
|
+
ni-measurements-metadata-v1-client = { version = ">=0.2.0.dev1", allow-prereleases = true }
|
|
43
43
|
ni-protobuf-types = { version = ">=1.0.1.dev0", allow-prereleases = true }
|
|
44
44
|
hightime = { version = ">=0.3.0.dev0", allow-prereleases = true }
|
|
45
45
|
|
|
@@ -70,7 +70,6 @@ optional = true
|
|
|
70
70
|
[tool.poetry.group.docs.dependencies]
|
|
71
71
|
# The latest Sphinx requires a recent Python version.
|
|
72
72
|
Sphinx = [
|
|
73
|
-
{ version = ">=7.4", python = ">=3.9,<3.10" },
|
|
74
73
|
{ version = ">=8.1", python = ">=3.10,<3.11" },
|
|
75
74
|
{ version = ">=8.2", python = "^3.11" },
|
|
76
75
|
]
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"""Public API for accessing the NI Data Store."""
|
|
2
2
|
|
|
3
|
-
from ni.datamonikers.v1.data_moniker_pb2 import Moniker
|
|
4
3
|
from ni.datastore.data._data_store_client import DataStoreClient
|
|
4
|
+
from ni.datastore.data._types._error_information import ErrorInformation
|
|
5
|
+
from ni.datastore.data._types._moniker import Moniker
|
|
6
|
+
from ni.datastore.data._types._outcome import Outcome
|
|
5
7
|
from ni.datastore.data._types._published_condition import PublishedCondition
|
|
6
8
|
from ni.datastore.data._types._published_measurement import PublishedMeasurement
|
|
7
9
|
from ni.datastore.data._types._step import Step
|
|
8
10
|
from ni.datastore.data._types._test_result import TestResult
|
|
9
|
-
from ni.measurements.data.v1.data_store_pb2 import ErrorInformation, Outcome
|
|
10
11
|
|
|
11
12
|
__all__ = [
|
|
12
13
|
"DataStoreClient",
|