cognite-neat 0.119.9__py3-none-any.whl → 0.121.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.

Potentially problematic release.


This version of cognite-neat might be problematic. Click here for more details.

Files changed (187) hide show
  1. cognite/neat/__init__.py +3 -2
  2. cognite/neat/_version.py +1 -1
  3. cognite/neat/{_client → core/_client}/_api/data_modeling_loaders.py +5 -5
  4. cognite/neat/{_client → core/_client}/_api/neat_instances.py +1 -1
  5. cognite/neat/{_client → core/_client}/_api/schema.py +9 -5
  6. cognite/neat/{_client → core/_client}/_api_client.py +1 -1
  7. cognite/neat/{_client → core/_client}/data_classes/schema.py +4 -4
  8. cognite/neat/{_client → core/_client}/testing.py +1 -1
  9. cognite/neat/{_constants.py → core/_constants.py} +27 -8
  10. cognite/neat/{_graph → core/_graph}/_tracking/base.py +1 -1
  11. cognite/neat/{_graph → core/_graph}/_tracking/log.py +1 -1
  12. cognite/neat/{_graph → core/_graph}/extractors/__init__.py +1 -1
  13. cognite/neat/{_graph → core/_graph}/extractors/_base.py +6 -6
  14. cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_base.py +23 -7
  15. cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_classic.py +16 -12
  16. cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_files.py +10 -3
  17. cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_relationships.py +5 -3
  18. cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_sequences.py +7 -2
  19. cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_timeseries.py +10 -3
  20. cognite/neat/{_graph → core/_graph}/extractors/_dict.py +2 -2
  21. cognite/neat/{_graph → core/_graph}/extractors/_dms.py +6 -6
  22. cognite/neat/{_graph → core/_graph}/extractors/_dms_graph.py +15 -11
  23. cognite/neat/{_graph → core/_graph}/extractors/_mock_graph_generator.py +10 -10
  24. cognite/neat/{_graph → core/_graph}/extractors/_raw.py +3 -3
  25. cognite/neat/{_graph → core/_graph}/extractors/_rdf_file.py +10 -7
  26. cognite/neat/{_graph → core/_graph}/loaders/_base.py +5 -5
  27. cognite/neat/{_graph → core/_graph}/loaders/_rdf2dms.py +31 -18
  28. cognite/neat/{_graph → core/_graph}/queries/_select.py +3 -3
  29. cognite/neat/{_graph → core/_graph}/queries/_update.py +1 -1
  30. cognite/neat/{_graph → core/_graph}/transformers/_base.py +8 -4
  31. cognite/neat/{_graph → core/_graph}/transformers/_classic_cdf.py +6 -6
  32. cognite/neat/{_graph → core/_graph}/transformers/_prune_graph.py +4 -4
  33. cognite/neat/{_graph → core/_graph}/transformers/_rdfpath.py +1 -1
  34. cognite/neat/{_graph → core/_graph}/transformers/_value_type.py +8 -4
  35. cognite/neat/{_issues → core/_issues}/_base.py +12 -5
  36. cognite/neat/{_issues → core/_issues}/_contextmanagers.py +1 -1
  37. cognite/neat/{_issues → core/_issues}/_factory.py +2 -2
  38. cognite/neat/{_issues → core/_issues}/errors/__init__.py +1 -1
  39. cognite/neat/{_issues → core/_issues}/errors/_external.py +1 -1
  40. cognite/neat/{_issues → core/_issues}/errors/_general.py +1 -1
  41. cognite/neat/{_issues → core/_issues}/errors/_properties.py +1 -1
  42. cognite/neat/{_issues → core/_issues}/errors/_resources.py +7 -2
  43. cognite/neat/{_issues → core/_issues}/errors/_wrapper.py +2 -2
  44. cognite/neat/{_issues → core/_issues}/warnings/__init__.py +1 -1
  45. cognite/neat/{_issues → core/_issues}/warnings/_external.py +1 -1
  46. cognite/neat/{_issues → core/_issues}/warnings/_general.py +1 -1
  47. cognite/neat/{_issues → core/_issues}/warnings/_models.py +2 -2
  48. cognite/neat/{_issues → core/_issues}/warnings/_properties.py +2 -2
  49. cognite/neat/{_issues → core/_issues}/warnings/_resources.py +6 -1
  50. cognite/neat/{_issues → core/_issues}/warnings/user_modeling.py +1 -1
  51. cognite/neat/{_rules → core/_rules}/_shared.py +6 -4
  52. cognite/neat/{_rules → core/_rules}/analysis/_base.py +15 -8
  53. cognite/neat/{_rules → core/_rules}/exporters/_base.py +7 -7
  54. cognite/neat/{_rules → core/_rules}/exporters/_rules2dms.py +15 -9
  55. cognite/neat/{_rules → core/_rules}/exporters/_rules2excel.py +219 -163
  56. cognite/neat/{_rules → core/_rules}/exporters/_rules2instance_template.py +4 -4
  57. cognite/neat/{_rules → core/_rules}/exporters/_rules2ontology.py +10 -10
  58. cognite/neat/{_rules → core/_rules}/exporters/_rules2yaml.py +1 -1
  59. cognite/neat/{_rules → core/_rules}/exporters/_validation.py +2 -2
  60. cognite/neat/{_rules → core/_rules}/importers/_base.py +5 -5
  61. cognite/neat/{_rules → core/_rules}/importers/_dms2rules.py +20 -12
  62. cognite/neat/{_rules → core/_rules}/importers/_dtdl2rules/dtdl_converter.py +15 -7
  63. cognite/neat/{_rules → core/_rules}/importers/_dtdl2rules/dtdl_importer.py +13 -9
  64. cognite/neat/{_rules → core/_rules}/importers/_dtdl2rules/spec.py +1 -1
  65. cognite/neat/{_rules → core/_rules}/importers/_rdf/_base.py +12 -12
  66. cognite/neat/{_rules → core/_rules}/importers/_rdf/_imf2rules.py +5 -2
  67. cognite/neat/{_rules → core/_rules}/importers/_rdf/_inference2rules.py +14 -14
  68. cognite/neat/{_rules → core/_rules}/importers/_rdf/_owl2rules.py +5 -2
  69. cognite/neat/{_rules → core/_rules}/importers/_rdf/_shared.py +4 -4
  70. cognite/neat/{_rules → core/_rules}/importers/_spreadsheet2rules.py +7 -7
  71. cognite/neat/{_rules → core/_rules}/importers/_yaml2rules.py +5 -5
  72. cognite/neat/{_rules → core/_rules}/models/__init__.py +5 -3
  73. cognite/neat/{_rules → core/_rules}/models/_base_rules.py +9 -6
  74. cognite/neat/{_rules → core/_rules}/models/_types.py +5 -5
  75. cognite/neat/{_rules → core/_rules}/models/data_types.py +9 -3
  76. cognite/neat/{_rules → core/_rules}/models/dms/__init__.py +1 -1
  77. cognite/neat/{_rules → core/_rules}/models/dms/_exporter.py +15 -8
  78. cognite/neat/{_rules → core/_rules}/models/dms/_rules.py +9 -9
  79. cognite/neat/{_rules → core/_rules}/models/dms/_rules_input.py +10 -7
  80. cognite/neat/{_rules → core/_rules}/models/dms/_validation.py +14 -14
  81. cognite/neat/{_rules → core/_rules}/models/entities/_loaders.py +2 -2
  82. cognite/neat/{_rules → core/_rules}/models/entities/_multi_value.py +2 -2
  83. cognite/neat/{_rules → core/_rules}/models/entities/_single_value.py +3 -3
  84. cognite/neat/{_rules → core/_rules}/models/information/_rules.py +11 -9
  85. cognite/neat/{_rules → core/_rules}/models/information/_rules_input.py +5 -5
  86. cognite/neat/{_rules → core/_rules}/models/information/_validation.py +10 -10
  87. cognite/neat/{_rules → core/_rules}/models/mapping/_classic2core.py +5 -5
  88. cognite/neat/{_rules → core/_rules}/transformers/_base.py +4 -4
  89. cognite/neat/{_rules → core/_rules}/transformers/_converters.py +52 -26
  90. cognite/neat/{_rules → core/_rules}/transformers/_mapping.py +15 -7
  91. cognite/neat/{_rules → core/_rules}/transformers/_verification.py +7 -7
  92. cognite/neat/{_store → core/_store}/_graph_store.py +13 -10
  93. cognite/neat/{_store → core/_store}/_provenance.py +3 -3
  94. cognite/neat/{_store → core/_store}/_rules_store.py +19 -12
  95. cognite/neat/{_store → core/_store}/exceptions.py +4 -4
  96. cognite/neat/core/_utils/__init__.py +0 -0
  97. cognite/neat/{_utils → core/_utils}/auth.py +1 -1
  98. cognite/neat/{_utils → core/_utils}/auxiliary.py +1 -1
  99. cognite/neat/{_utils → core/_utils}/collection_.py +2 -2
  100. cognite/neat/{_utils → core/_utils}/graph_transformations_report.py +1 -1
  101. cognite/neat/{_utils → core/_utils}/rdf_.py +1 -1
  102. cognite/neat/{_utils → core/_utils}/reader/_base.py +1 -1
  103. cognite/neat/{_utils → core/_utils}/spreadsheet.py +11 -4
  104. cognite/neat/{_utils → core/_utils}/text.py +1 -1
  105. cognite/neat/{_utils → core/_utils}/upload.py +3 -3
  106. cognite/neat/{_session → session}/_base.py +10 -10
  107. cognite/neat/{_session → session}/_collector.py +1 -1
  108. cognite/neat/{_session → session}/_drop.py +3 -3
  109. cognite/neat/{_session → session}/_explore.py +2 -2
  110. cognite/neat/{_session → session}/_fix.py +2 -2
  111. cognite/neat/{_session → session}/_inspect.py +7 -3
  112. cognite/neat/{_session → session}/_mapping.py +3 -3
  113. cognite/neat/{_session → session}/_prepare.py +8 -8
  114. cognite/neat/{_session → session}/_read.py +130 -16
  115. cognite/neat/{_session → session}/_set.py +8 -8
  116. cognite/neat/{_session → session}/_show.py +5 -5
  117. cognite/neat/{_session → session}/_state.py +8 -8
  118. cognite/neat/{_session → session}/_subset.py +7 -4
  119. cognite/neat/{_session → session}/_template.py +22 -14
  120. cognite/neat/{_session → session}/_to.py +12 -12
  121. cognite/neat/{_session → session}/_wizard.py +1 -1
  122. cognite/neat/{_session → session}/engine/_load.py +1 -1
  123. cognite/neat/{_session → session}/exceptions.py +4 -4
  124. {cognite_neat-0.119.9.dist-info → cognite_neat-0.121.0.dist-info}/METADATA +1 -1
  125. cognite_neat-0.121.0.dist-info/RECORD +187 -0
  126. cognite_neat-0.119.9.dist-info/RECORD +0 -186
  127. /cognite/neat/{_client/_api → core}/__init__.py +0 -0
  128. /cognite/neat/{_client → core/_client}/__init__.py +0 -0
  129. /cognite/neat/{_client/data_classes → core/_client/_api}/__init__.py +0 -0
  130. /cognite/neat/{_graph → core/_client/data_classes}/__init__.py +0 -0
  131. /cognite/neat/{_client → core/_client}/data_classes/data_modeling.py +0 -0
  132. /cognite/neat/{_client → core/_client}/data_classes/neat_sequence.py +0 -0
  133. /cognite/neat/{_config.py → core/_config.py} +0 -0
  134. /cognite/neat/{_graph/extractors/_classic_cdf → core/_graph}/__init__.py +0 -0
  135. /cognite/neat/{_graph → core/_graph}/_shared.py +0 -0
  136. /cognite/neat/{_graph → core/_graph}/_tracking/__init__.py +0 -0
  137. /cognite/neat/{_graph → core/_graph}/examples/Knowledge-Graph-Nordic44-dirty.xml +0 -0
  138. /cognite/neat/{_graph → core/_graph}/examples/Knowledge-Graph-Nordic44.xml +0 -0
  139. /cognite/neat/{_graph → core/_graph}/examples/__init__.py +0 -0
  140. /cognite/neat/{_graph → core/_graph}/examples/skos-capturing-sheet-wind-topics.xlsx +0 -0
  141. /cognite/neat/{_rules → core/_graph/extractors/_classic_cdf}/__init__.py +0 -0
  142. /cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_assets.py +0 -0
  143. /cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_data_sets.py +0 -0
  144. /cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_events.py +0 -0
  145. /cognite/neat/{_graph → core/_graph}/extractors/_classic_cdf/_labels.py +0 -0
  146. /cognite/neat/{_graph → core/_graph}/loaders/__init__.py +0 -0
  147. /cognite/neat/{_graph → core/_graph}/queries/__init__.py +0 -0
  148. /cognite/neat/{_graph → core/_graph}/queries/_base.py +0 -0
  149. /cognite/neat/{_graph → core/_graph}/queries/_queries.py +0 -0
  150. /cognite/neat/{_graph → core/_graph}/transformers/__init__.py +0 -0
  151. /cognite/neat/{_issues → core/_issues}/__init__.py +0 -0
  152. /cognite/neat/{_issues → core/_issues}/formatters.py +0 -0
  153. /cognite/neat/{_utils → core/_rules}/__init__.py +0 -0
  154. /cognite/neat/{_rules → core/_rules}/_constants.py +0 -0
  155. /cognite/neat/{_rules → core/_rules}/analysis/__init__.py +0 -0
  156. /cognite/neat/{_rules → core/_rules}/catalog/__init__.py +0 -0
  157. /cognite/neat/{_rules → core/_rules}/catalog/classic_model.xlsx +0 -0
  158. /cognite/neat/{_rules → core/_rules}/catalog/hello_world_pump.xlsx +0 -0
  159. /cognite/neat/{_rules → core/_rules}/catalog/info-rules-imf.xlsx +0 -0
  160. /cognite/neat/{_rules → core/_rules}/exporters/__init__.py +0 -0
  161. /cognite/neat/{_rules → core/_rules}/importers/__init__.py +0 -0
  162. /cognite/neat/{_rules → core/_rules}/importers/_dtdl2rules/__init__.py +0 -0
  163. /cognite/neat/{_rules → core/_rules}/importers/_dtdl2rules/_unit_lookup.py +0 -0
  164. /cognite/neat/{_rules → core/_rules}/importers/_rdf/__init__.py +0 -0
  165. /cognite/neat/{_rules → core/_rules}/models/_base_input.py +0 -0
  166. /cognite/neat/{_rules → core/_rules}/models/entities/__init__.py +0 -0
  167. /cognite/neat/{_rules → core/_rules}/models/entities/_constants.py +0 -0
  168. /cognite/neat/{_rules → core/_rules}/models/entities/_types.py +0 -0
  169. /cognite/neat/{_rules → core/_rules}/models/entities/_wrapped.py +0 -0
  170. /cognite/neat/{_rules → core/_rules}/models/information/__init__.py +0 -0
  171. /cognite/neat/{_rules → core/_rules}/models/mapping/__init__.py +0 -0
  172. /cognite/neat/{_rules → core/_rules}/models/mapping/_classic2core.yaml +0 -0
  173. /cognite/neat/{_rules → core/_rules}/transformers/__init__.py +0 -0
  174. /cognite/neat/{_shared.py → core/_shared.py} +0 -0
  175. /cognite/neat/{_store → core/_store}/__init__.py +0 -0
  176. /cognite/neat/{_utils → core/_utils}/io_.py +0 -0
  177. /cognite/neat/{_utils → core/_utils}/reader/__init__.py +0 -0
  178. /cognite/neat/{_utils → core/_utils}/time_.py +0 -0
  179. /cognite/neat/{_utils → core/_utils}/xml_.py +0 -0
  180. /cognite/neat/{_session → session}/__init__.py +0 -0
  181. /cognite/neat/{_alpha.py → session/_experimental.py} +0 -0
  182. /cognite/neat/{_state → session/_state}/README.md +0 -0
  183. /cognite/neat/{_session → session}/engine/__init__.py +0 -0
  184. /cognite/neat/{_session → session}/engine/_import.py +0 -0
  185. /cognite/neat/{_session → session}/engine/_interface.py +0 -0
  186. {cognite_neat-0.119.9.dist-info → cognite_neat-0.121.0.dist-info}/WHEEL +0 -0
  187. {cognite_neat-0.119.9.dist-info → cognite_neat-0.121.0.dist-info}/licenses/LICENSE +0 -0
@@ -4,19 +4,19 @@ from typing import Any
4
4
 
5
5
  from rdflib import URIRef
6
6
 
7
- from cognite.neat._alpha import ExperimentalFlags
8
- from cognite.neat._graph.transformers import (
7
+ from cognite.neat.core._graph.transformers import (
9
8
  ConnectionToLiteral,
10
9
  ConvertLiteral,
11
10
  LiteralToEntity,
12
11
  RelationshipAsEdgeTransformer,
13
12
  )
14
- from cognite.neat._graph.transformers._rdfpath import MakeConnectionOnExactMatch
15
- from cognite.neat._issues import IssueList
16
- from cognite.neat._issues.errors import NeatValueError
17
- from cognite.neat._rules.transformers import PrefixEntities, StandardizeNaming
18
- from cognite.neat._rules.transformers._converters import StandardizeSpaceAndVersion
19
- from cognite.neat._utils.text import humanize_collection
13
+ from cognite.neat.core._graph.transformers._rdfpath import MakeConnectionOnExactMatch
14
+ from cognite.neat.core._issues import IssueList
15
+ from cognite.neat.core._issues.errors import NeatValueError
16
+ from cognite.neat.core._rules.transformers import PrefixEntities, StandardizeNaming
17
+ from cognite.neat.core._rules.transformers._converters import StandardizeSpaceAndVersion
18
+ from cognite.neat.core._utils.text import humanize_collection
19
+ from cognite.neat.session._experimental import ExperimentalFlags
20
20
 
21
21
  from ._state import SessionState
22
22
  from .exceptions import NeatSessionError, session_class_wrapper
@@ -4,37 +4,38 @@ from typing import Any, Literal, cast
4
4
  from cognite.client.data_classes.data_modeling import DataModelId, DataModelIdentifier
5
5
  from cognite.client.utils.useful_types import SequenceNotStr
6
6
 
7
- from cognite.neat._alpha import ExperimentalFlags
8
- from cognite.neat._client import NeatClient
9
- from cognite.neat._constants import (
7
+ from cognite.neat.core._client import NeatClient
8
+ from cognite.neat.core._constants import (
10
9
  CLASSIC_CDF_NAMESPACE,
11
10
  get_default_prefixes_and_namespaces,
12
11
  )
13
- from cognite.neat._graph import examples as instances_examples
14
- from cognite.neat._graph import extractors
15
- from cognite.neat._graph.transformers import (
12
+ from cognite.neat.core._graph import examples as instances_examples
13
+ from cognite.neat.core._graph import extractors
14
+ from cognite.neat.core._graph.extractors._classic_cdf._base import InstanceIdPrefix
15
+ from cognite.neat.core._graph.transformers import (
16
16
  ConvertLiteral,
17
17
  LiteralToEntity,
18
18
  Transformers,
19
19
  )
20
- from cognite.neat._graph.transformers._prune_graph import (
20
+ from cognite.neat.core._graph.transformers._prune_graph import (
21
21
  AttachPropertyFromTargetToSource,
22
22
  PruneDeadEndEdges,
23
23
  PruneInstancesOfUnknownType,
24
24
  PruneTypes,
25
25
  )
26
- from cognite.neat._issues import IssueList
27
- from cognite.neat._issues.errors import NeatValueError
28
- from cognite.neat._issues.warnings import MissingCogniteClientWarning
29
- from cognite.neat._rules import catalog, importers
30
- from cognite.neat._rules.importers import BaseImporter
31
- from cognite.neat._rules.models.entities._single_value import ViewEntity
32
- from cognite.neat._rules.transformers import ClassicPrepareCore
33
- from cognite.neat._rules.transformers._converters import (
26
+ from cognite.neat.core._issues import IssueList
27
+ from cognite.neat.core._issues.errors import NeatValueError
28
+ from cognite.neat.core._issues.warnings import MissingCogniteClientWarning
29
+ from cognite.neat.core._rules import catalog, importers
30
+ from cognite.neat.core._rules.importers import BaseImporter
31
+ from cognite.neat.core._rules.models.entities._single_value import ViewEntity
32
+ from cognite.neat.core._rules.transformers import ClassicPrepareCore
33
+ from cognite.neat.core._rules.transformers._converters import (
34
34
  ToEnterpriseModel,
35
35
  _SubsetEditableCDMRules,
36
36
  )
37
- from cognite.neat._utils.reader import NeatReader
37
+ from cognite.neat.core._utils.reader import NeatReader
38
+ from cognite.neat.session._experimental import ExperimentalFlags
38
39
 
39
40
  from ._state import SessionState
40
41
  from ._wizard import NeatObjectType, RDFFileType, XMLFileType, object_wizard, rdf_dm_wizard, xml_format_wizard
@@ -411,6 +412,119 @@ class CDFClassicAPI(BaseReadAPI):
411
412
 
412
413
  return all_issues
413
414
 
415
+ def time_series(self, data_set_external_id: str, identifier: Literal["id", "externalId"] = "id") -> IssueList:
416
+ """Read the time series from CDF into NEAT.
417
+
418
+ Args:
419
+ data_set_external_id: The external id of the data set
420
+ identifier: The identifier to use for the time series. Note selecting "id" can cause issues if the external
421
+ ID of the time series is missing. Default is "id".
422
+
423
+ Returns:
424
+ IssueList: A list of issues that occurred during the extraction.
425
+
426
+ Example:
427
+ ```python
428
+ neat.read.cdf.time_series("data_set_external_id")
429
+ ```
430
+
431
+ """
432
+ namespace = CLASSIC_CDF_NAMESPACE
433
+ self._state._raise_exception_if_condition_not_met(
434
+ "Read time series",
435
+ empty_rules_store_required=True,
436
+ empty_instances_store_required=True,
437
+ client_required=True,
438
+ )
439
+ extractor = extractors.TimeSeriesExtractor.from_dataset(
440
+ cast(NeatClient, self._state.client),
441
+ data_set_external_id=data_set_external_id,
442
+ namespace=namespace,
443
+ identifier=identifier,
444
+ prefix="Classic",
445
+ skip_connections=True,
446
+ )
447
+ self._state.instances.neat_prefix_by_predicate_uri.update(
448
+ {
449
+ namespace["dataSetId"]: InstanceIdPrefix.data_set,
450
+ namespace["assetId"]: InstanceIdPrefix.asset,
451
+ }
452
+ )
453
+ self._state.instances.neat_prefix_by_type_uri.update(
454
+ {namespace[f"Classic{extractor._default_rdf_type}"]: InstanceIdPrefix.time_series}
455
+ )
456
+ extract_issues = self._state.instances.store.write(extractor)
457
+
458
+ if identifier == "externalId":
459
+ self._state.quoted_source_identifiers = True
460
+
461
+ self._state.instances.store.transform(
462
+ ConvertLiteral(
463
+ namespace["ClassicTimeSeries"],
464
+ namespace["isString"],
465
+ lambda is_string: "string" if is_string else "numeric",
466
+ )
467
+ )
468
+
469
+ return extract_issues
470
+
471
+ def file_metadata(self, data_set_external_id: str, identifier: Literal["id", "externalId"] = "id") -> IssueList:
472
+ """Read the file metadata from CDF into NEAT.
473
+
474
+ Note all files that have InstanceId set will be silently skipped. This method is for extracting
475
+ non-contextualized file medata only. If you want to include the potential connection from file metadata
476
+ to assets, use the `neat.read.cdf.graph()` method instead and select the asset hierarchy connected to this file.
477
+
478
+ Args:
479
+ data_set_external_id: The external id of the data set
480
+ identifier: The identifier to use for the file metadata. Note selecting "id" can cause issues
481
+ if the external ID of the file metadata is missing. Default is "id".
482
+
483
+ Returns:
484
+ IssueList: A list of issues that occurred during the extraction.
485
+
486
+ Example:
487
+ ```python
488
+ neat.read.cdf.time_series("data_set_external_id")
489
+ ```
490
+ """
491
+ namespace = CLASSIC_CDF_NAMESPACE
492
+ self._state._raise_exception_if_condition_not_met(
493
+ "Read time series",
494
+ empty_rules_store_required=True,
495
+ empty_instances_store_required=True,
496
+ client_required=True,
497
+ )
498
+ extractor = extractors.FilesExtractor.from_dataset(
499
+ cast(NeatClient, self._state.client),
500
+ data_set_external_id=data_set_external_id,
501
+ namespace=namespace,
502
+ identifier=identifier,
503
+ prefix="Classic",
504
+ skip_connections=True,
505
+ )
506
+ self._state.instances.neat_prefix_by_predicate_uri.update(
507
+ {
508
+ namespace["dataSetId"]: InstanceIdPrefix.data_set,
509
+ namespace["assetId"]: InstanceIdPrefix.asset,
510
+ }
511
+ )
512
+ self._state.instances.neat_prefix_by_type_uri.update(
513
+ {namespace[f"Classic{extractor._default_rdf_type}"]: InstanceIdPrefix.time_series}
514
+ )
515
+ extract_issues = self._state.instances.store.write(extractor)
516
+
517
+ if identifier == "externalId":
518
+ self._state.quoted_source_identifiers = True
519
+
520
+ self._state.instances.store.transform(
521
+ LiteralToEntity(None, namespace["source"], "ClassicSourceSystem", "name"),
522
+ )
523
+ # The above transformations creates a new type, so we need to update
524
+ self._state.instances.neat_prefix_by_type_uri.update({namespace["ClassicSourceSystem"]: "ClassicSourceSystem_"})
525
+
526
+ return extract_issues
527
+
414
528
 
415
529
  @session_class_wrapper
416
530
  class ExcelReadAPI(BaseReadAPI):
@@ -1,14 +1,14 @@
1
1
  from cognite.client import CogniteClient
2
2
  from cognite.client import data_modeling as dm
3
3
 
4
- from cognite.neat._client import NeatClient
5
- from cognite.neat._constants import COGNITE_MODELS
6
- from cognite.neat._graph.transformers import SetType
7
- from cognite.neat._issues import IssueList
8
- from cognite.neat._issues.errors import NeatValueError
9
- from cognite.neat._rules.models import DMSRules
10
- from cognite.neat._rules.transformers import SetIDDMSModel
11
- from cognite.neat._utils.text import humanize_collection
4
+ from cognite.neat.core._client import NeatClient
5
+ from cognite.neat.core._constants import COGNITE_MODELS
6
+ from cognite.neat.core._graph.transformers import SetType
7
+ from cognite.neat.core._issues import IssueList
8
+ from cognite.neat.core._issues.errors import NeatValueError
9
+ from cognite.neat.core._rules.models import DMSRules
10
+ from cognite.neat.core._rules.transformers import SetIDDMSModel
11
+ from cognite.neat.core._utils.text import humanize_collection
12
12
 
13
13
  from ._state import SessionState
14
14
  from .exceptions import NeatSessionError, session_class_wrapper
@@ -6,11 +6,11 @@ import networkx as nx
6
6
  from IPython.display import HTML, display
7
7
  from pyvis.network import Network as PyVisNetwork # type: ignore
8
8
 
9
- from cognite.neat._constants import IN_NOTEBOOK, IN_PYODIDE
10
- from cognite.neat._rules.analysis._base import RulesAnalysis
11
- from cognite.neat._session.exceptions import NeatSessionError
12
- from cognite.neat._utils.io_ import to_directory_compatible
13
- from cognite.neat._utils.rdf_ import remove_namespace_from_uri, uri_display_name
9
+ from cognite.neat.core._constants import IN_NOTEBOOK, IN_PYODIDE
10
+ from cognite.neat.core._rules.analysis._base import RulesAnalysis
11
+ from cognite.neat.core._utils.io_ import to_directory_compatible
12
+ from cognite.neat.core._utils.rdf_ import remove_namespace_from_uri, uri_display_name
13
+ from cognite.neat.session.exceptions import NeatSessionError
14
14
 
15
15
  from ._state import SessionState
16
16
  from .exceptions import session_class_wrapper
@@ -3,16 +3,16 @@ from typing import Literal, cast
3
3
 
4
4
  from rdflib import URIRef
5
5
 
6
- from cognite.neat._client import NeatClient
7
- from cognite.neat._graph.extractors import KnowledgeGraphExtractor
8
- from cognite.neat._issues import IssueList
9
- from cognite.neat._rules.importers import BaseImporter, InferenceImporter
10
- from cognite.neat._rules.models import DMSRules, InformationRules
11
- from cognite.neat._rules.transformers import (
6
+ from cognite.neat.core._client import NeatClient
7
+ from cognite.neat.core._graph.extractors import KnowledgeGraphExtractor
8
+ from cognite.neat.core._issues import IssueList
9
+ from cognite.neat.core._rules.importers import BaseImporter, InferenceImporter
10
+ from cognite.neat.core._rules.models import DMSRules, InformationRules
11
+ from cognite.neat.core._rules.transformers import (
12
12
  VerifiedRulesTransformer,
13
13
  )
14
- from cognite.neat._store import NeatGraphStore, NeatRulesStore
15
- from cognite.neat._utils.upload import UploadResultList
14
+ from cognite.neat.core._store import NeatGraphStore, NeatRulesStore
15
+ from cognite.neat.core._utils.upload import UploadResultList
16
16
 
17
17
  from .exceptions import NeatSessionError, _session_method_wrapper
18
18
 
@@ -1,9 +1,12 @@
1
1
  import warnings
2
2
 
3
- from cognite.neat._alpha import ExperimentalFlags
4
- from cognite.neat._issues._base import IssueList
5
- from cognite.neat._rules.models.entities._single_value import ClassEntity, ViewEntity
6
- from cognite.neat._rules.transformers import SubsetDMSRules, SubsetInformationRules
3
+ from cognite.neat.core._issues._base import IssueList
4
+ from cognite.neat.core._rules.models.entities._single_value import (
5
+ ClassEntity,
6
+ ViewEntity,
7
+ )
8
+ from cognite.neat.core._rules.transformers import SubsetDMSRules, SubsetInformationRules
9
+ from cognite.neat.session._experimental import ExperimentalFlags
7
10
 
8
11
  from ._state import SessionState
9
12
  from .exceptions import NeatSessionError, session_class_wrapper
@@ -3,22 +3,23 @@ from typing import Any, Literal
3
3
 
4
4
  from cognite.client.data_classes.data_modeling import DataModelIdentifier
5
5
 
6
- from cognite.neat._alpha import ExperimentalFlags
7
- from cognite.neat._issues import IssueList, catch_issues
8
- from cognite.neat._rules._shared import ReadRules
9
- from cognite.neat._rules.exporters import ExcelExporter
10
- from cognite.neat._rules.importers import ExcelImporter
11
- from cognite.neat._rules.models import InformationInputRules
12
- from cognite.neat._rules.models._base_rules import RoleTypes
13
- from cognite.neat._rules.models.dms import DMSValidation
14
- from cognite.neat._rules.transformers import (
6
+ from cognite.neat.core._constants import BASE_MODEL
7
+ from cognite.neat.core._issues import IssueList, catch_issues
8
+ from cognite.neat.core._rules._shared import ReadRules
9
+ from cognite.neat.core._rules.exporters import ExcelExporter
10
+ from cognite.neat.core._rules.importers import ExcelImporter
11
+ from cognite.neat.core._rules.models import InformationInputRules
12
+ from cognite.neat.core._rules.models._base_rules import RoleTypes
13
+ from cognite.neat.core._rules.models.dms import DMSValidation
14
+ from cognite.neat.core._rules.transformers import (
15
15
  AddCogniteProperties,
16
16
  IncludeReferenced,
17
17
  ToDataProductModel,
18
18
  ToEnterpriseModel,
19
19
  VerifiedRulesTransformer,
20
20
  )
21
- from cognite.neat._utils.reader import NeatReader, PathReader
21
+ from cognite.neat.core._utils.reader import NeatReader, PathReader
22
+ from cognite.neat.session._experimental import ExperimentalFlags
22
23
 
23
24
  from ._state import SessionState
24
25
  from .exceptions import NeatSessionError, session_class_wrapper
@@ -126,19 +127,26 @@ class TemplateAPI:
126
127
  self._state.last_reference = last_rules
127
128
  return issues
128
129
 
129
- def conceptual_model(self, io: Any) -> None:
130
+ def conceptual_model(
131
+ self,
132
+ io: Any,
133
+ base_model: BASE_MODEL = "CogniteCore",
134
+ total_concepts: int | None = None,
135
+ ) -> None:
130
136
  """This method will create a template for a conceptual data modeling
131
137
 
132
138
  Args:
133
139
  io: file path to the Excel sheet
140
+ base_model: The base model to use for implements in the conceptual data model.
141
+ Currently only supporting CogniteCore.
142
+ total_concepts: The total number of concepts to provide in implements for selection.
143
+ Default is None, meaning all concepts will be provided.
134
144
 
135
145
  """
136
146
  reader = NeatReader.create(io)
137
147
  path = reader.materialize_path()
138
148
 
139
- ExcelExporter().template(RoleTypes.information, path)
140
-
141
- return None
149
+ ExcelExporter(base_model=base_model, total_concepts=total_concepts).template(RoleTypes.information, path)
142
150
 
143
151
  def expand(self, io: Any, output: str | Path | None = None, dummy_property: str = "GUID") -> IssueList:
144
152
  """Creates a template for an extension of a Cognite model by expanding properties from CDM.
@@ -6,18 +6,18 @@ from typing import Any, Literal, cast, overload
6
6
  from cognite.client import data_modeling as dm
7
7
  from cognite.client.data_classes.data_modeling import DataModelIdentifier
8
8
 
9
- from cognite.neat._alpha import ExperimentalFlags
10
- from cognite.neat._client._api_client import NeatClient
11
- from cognite.neat._constants import COGNITE_MODELS
12
- from cognite.neat._graph import loaders
13
- from cognite.neat._issues import IssueList, NeatIssue, catch_issues
14
- from cognite.neat._rules import exporters
15
- from cognite.neat._rules._constants import PATTERNS
16
- from cognite.neat._rules._shared import VerifiedRules
17
- from cognite.neat._rules.importers import DMSImporter
18
- from cognite.neat._rules.models import DMSRules, InformationRules
19
- from cognite.neat._rules.models.dms import DMSMetadata
20
- from cognite.neat._utils.upload import UploadResultList
9
+ from cognite.neat.core._client._api_client import NeatClient
10
+ from cognite.neat.core._constants import COGNITE_MODELS
11
+ from cognite.neat.core._graph import loaders
12
+ from cognite.neat.core._issues import IssueList, NeatIssue, catch_issues
13
+ from cognite.neat.core._rules import exporters
14
+ from cognite.neat.core._rules._constants import PATTERNS
15
+ from cognite.neat.core._rules._shared import VerifiedRules
16
+ from cognite.neat.core._rules.importers import DMSImporter
17
+ from cognite.neat.core._rules.models import DMSRules, InformationRules
18
+ from cognite.neat.core._rules.models.dms import DMSMetadata
19
+ from cognite.neat.core._utils.upload import UploadResultList
20
+ from cognite.neat.session._experimental import ExperimentalFlags
21
21
 
22
22
  from ._state import SessionState
23
23
  from .exceptions import NeatSessionError, session_class_wrapper
@@ -3,7 +3,7 @@ from typing import Literal, TypeVar, get_args
3
3
 
4
4
  from rich.prompt import IntPrompt, Prompt
5
5
 
6
- from cognite.neat._rules._constants import PATTERNS
6
+ from cognite.neat.core._rules._constants import PATTERNS
7
7
 
8
8
  RDFFileType = Literal["Ontology", "IMF Types", "Inference"]
9
9
  NeatObjectType = Literal["Data Model", "Instances"]
@@ -12,8 +12,8 @@ from cognite.client import CogniteClient
12
12
  from packaging.version import Version
13
13
  from packaging.version import parse as parse_version
14
14
 
15
- from cognite.neat._issues.errors import NeatValueError
16
15
  from cognite.neat._version import __engine__
16
+ from cognite.neat.core._issues.errors import NeatValueError
17
17
 
18
18
  ENVIRONMENT_VARIABLE = "NEATENGINE"
19
19
  PACKAGE_NAME = "neatengine"
@@ -3,10 +3,10 @@ import warnings
3
3
  from collections.abc import Callable
4
4
  from typing import Any
5
5
 
6
- from cognite.neat._alpha import ExperimentalFeatureWarning
7
- from cognite.neat._issues.errors import CDFMissingClientError, NeatImportError
8
- from cognite.neat._issues.errors._external import OxigraphStorageLockedError
9
- from cognite.neat._issues.errors._general import NeatValueError
6
+ from cognite.neat.core._issues.errors import CDFMissingClientError, NeatImportError
7
+ from cognite.neat.core._issues.errors._external import OxigraphStorageLockedError
8
+ from cognite.neat.core._issues.errors._general import NeatValueError
9
+ from cognite.neat.session._experimental import ExperimentalFeatureWarning
10
10
 
11
11
  from ._collector import _COLLECTOR
12
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognite-neat
3
- Version: 0.119.9
3
+ Version: 0.121.0
4
4
  Summary: Knowledge graph transformation
5
5
  Project-URL: Documentation, https://cognite-neat.readthedocs-hosted.com/
6
6
  Project-URL: Homepage, https://cognite-neat.readthedocs-hosted.com/
@@ -0,0 +1,187 @@
1
+ cognite/neat/__init__.py,sha256=12StS1dzH9_MElqxGvLWrNsxCJl9Hv8A2a9D0E5OD_U,193
2
+ cognite/neat/_version.py,sha256=xJwEparSzjV7HbmKhGalETztG6Tt0qxJf_4jvRe15wA,46
3
+ cognite/neat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ cognite/neat/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ cognite/neat/core/_config.py,sha256=WT1BS8uADcFvGoUYOOfwFOVq_VBl472TisdoA3wLick,280
6
+ cognite/neat/core/_constants.py,sha256=EAdGw6ZIg_5Bk8WfpVE26ul-xMC0BNL5RTev22f0iTA,8106
7
+ cognite/neat/core/_shared.py,sha256=Ov59SWYboRRsncB_5V1ZC_BAoACfNLjo80vqE5Ru6wo,2325
8
+ cognite/neat/core/_client/__init__.py,sha256=RQ7MwL8mwGqGHokRzsPqO3XStDzmI4-c12_gz1UPJ74,177
9
+ cognite/neat/core/_client/_api_client.py,sha256=4Wa4IWK6oUJEsS2PMw5k1fPI99xq2q-TCC3vpXow7us,719
10
+ cognite/neat/core/_client/testing.py,sha256=aIJWPWzl65OlF2Jr4yzKlC59TpLD8iHqpdU1Fwtkj-k,1180
11
+ cognite/neat/core/_client/_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ cognite/neat/core/_client/_api/data_modeling_loaders.py,sha256=YEZP0V_RXenzzFSxDzt4SbVnpzB4VP0fcI-Bab1VLw8,39815
13
+ cognite/neat/core/_client/_api/neat_instances.py,sha256=2rSt4FVPvLA0lzwwOvCC9fJk87jTF1vudLO9Z6pgpk4,3354
14
+ cognite/neat/core/_client/_api/schema.py,sha256=lbA8Cka_7K_RjmaxdeqkVkIwKPfWeDvpYvvEOGI07xo,6967
15
+ cognite/neat/core/_client/data_classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ cognite/neat/core/_client/data_classes/data_modeling.py,sha256=RvpUp9ygd-yffQFJ7O2mQqMLDPIa-dmip5zPb8QVIiw,6672
17
+ cognite/neat/core/_client/data_classes/neat_sequence.py,sha256=QZWSfWnwk6KlYJvsInco4Wdwc1U8DnOQKWmHebArbQY,10830
18
+ cognite/neat/core/_client/data_classes/schema.py,sha256=SpkBGbC2SUJG38Ixf1vYJINI66i_OZaT03q4XKRtK54,25067
19
+ cognite/neat/core/_graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ cognite/neat/core/_graph/_shared.py,sha256=6avH6mtjxjHI7JDLkXwICxGvZwooGBr6APs1_w1To-A,940
21
+ cognite/neat/core/_graph/_tracking/__init__.py,sha256=WOwsYieZtCW-iW15YkxUFrfKVVdLWdXHOGGStTwvE8A,91
22
+ cognite/neat/core/_graph/_tracking/base.py,sha256=tDS7UHFj58sT1CtqWjp3pL5P3n4qqJuf06MpdT2tA2g,826
23
+ cognite/neat/core/_graph/_tracking/log.py,sha256=rXjoRenOZO4TiZl7d1slBhwUUcEbtyD7uuKpg1MGmkg,933
24
+ cognite/neat/core/_graph/examples/Knowledge-Graph-Nordic44-dirty.xml,sha256=ujJip6XBs5n8enVDPzNnuGkMBwv8g21tIr1sEVJpK5M,1439359
25
+ cognite/neat/core/_graph/examples/Knowledge-Graph-Nordic44.xml,sha256=U2Ns-M4LRjT1fBkhmRj63ur7jDzlRtHK9yOLf_npZ_g,1437996
26
+ cognite/neat/core/_graph/examples/__init__.py,sha256=yAjHVY3b5jOjmbW-iLbhvu7BG014TpGi3K4igkDqW5I,368
27
+ cognite/neat/core/_graph/examples/skos-capturing-sheet-wind-topics.xlsx,sha256=CV_yK5ZSbYS_ktfIZUPD8Sevs47zpswLXQUDFkGE4Gw,45798
28
+ cognite/neat/core/_graph/extractors/__init__.py,sha256=6Rl6_za_F1nnLGwOhXvGohvM0-P1sFrxHJRUVqQVBWo,2209
29
+ cognite/neat/core/_graph/extractors/_base.py,sha256=FTCMv9O9Rj3YXpbeXtPiMT_urlbMi4RR8qET6hFWYY4,1937
30
+ cognite/neat/core/_graph/extractors/_dict.py,sha256=Y5J5WvrIQOa762y59Jv2jNLFQmTSUBwL8XY-ormd7R0,4331
31
+ cognite/neat/core/_graph/extractors/_dms.py,sha256=e687PHBnqh5CS292xaxIRsD9v2cdcsZU3Yg6aVVw4rQ,13840
32
+ cognite/neat/core/_graph/extractors/_dms_graph.py,sha256=_WhHqlazIZeIIWDBoYRR_Fc5YNGsy_75bY92B9a7yJg,9513
33
+ cognite/neat/core/_graph/extractors/_mock_graph_generator.py,sha256=rlm2AKGzlJV8-tgoIhCuTMrkDKAYMtaLej8S0EvinjI,15493
34
+ cognite/neat/core/_graph/extractors/_raw.py,sha256=Jw_Nci5giKgU7k8NV2SZvnYZ0ykPlE2NEIOZLcr0dlQ,2514
35
+ cognite/neat/core/_graph/extractors/_rdf_file.py,sha256=vZhjU6LQv7e5eu5SnPN9rDd3rFku6Dc-rUzpQCV4Jxc,2948
36
+ cognite/neat/core/_graph/extractors/_classic_cdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ cognite/neat/core/_graph/extractors/_classic_cdf/_assets.py,sha256=9WVFrAtUFAp_AAlb26Rtt2Axz9xsPQYetg7SKVrNCr4,1474
38
+ cognite/neat/core/_graph/extractors/_classic_cdf/_base.py,sha256=IJkdrKhUOfofPa1m751jgGIheLrCXWDUxXufOXUCKu8,18509
39
+ cognite/neat/core/_graph/extractors/_classic_cdf/_classic.py,sha256=bYzTTcjDWgBc7frY-q9cy6Nz8hKSXIex-6nfEv_m_a8,24272
40
+ cognite/neat/core/_graph/extractors/_classic_cdf/_data_sets.py,sha256=xRFv9pVFgIMTZ45E8teMC0Ynku_CuZdcZkVCbhPuPBk,1294
41
+ cognite/neat/core/_graph/extractors/_classic_cdf/_events.py,sha256=B8hRoMAg8GQvApjxals5PfPyjmdPO93U3nj_G7g0kDQ,1394
42
+ cognite/neat/core/_graph/extractors/_classic_cdf/_files.py,sha256=9lIleYyM3r0_CHteTEWboyknBeHYNtvgpNJuvS9UUU0,1894
43
+ cognite/neat/core/_graph/extractors/_classic_cdf/_labels.py,sha256=7guTZdGFT1r7ItE2VNgXwbBZ1y_005oB3fg1XbwT7WQ,2083
44
+ cognite/neat/core/_graph/extractors/_classic_cdf/_relationships.py,sha256=kNzrqHQuIZMBecZ8957Qs3-Pp2m2-k2CCfiUZlVwaD0,5395
45
+ cognite/neat/core/_graph/extractors/_classic_cdf/_sequences.py,sha256=zwHM52afnq-JHvLOTi4rH6DyfkTftxH6cmODwoZi8uw,11399
46
+ cognite/neat/core/_graph/extractors/_classic_cdf/_timeseries.py,sha256=Py8MDcn82MJcsDPbeqDHMx4g2rQHmEOSHNe6gOi5gew,2044
47
+ cognite/neat/core/_graph/loaders/__init__.py,sha256=XS6vwmxgBzntg7UuG_ct_1hfhShVnFH5u0gGrdA8WfA,699
48
+ cognite/neat/core/_graph/loaders/_base.py,sha256=bQMhykdxoVJy2fYEMDa1oFTjecKpSTZFjsVrTOPdN7w,4497
49
+ cognite/neat/core/_graph/loaders/_rdf2dms.py,sha256=zSS2YSv81_rTrFVSGggqBVZfx_uPnXI9UkGkZDIRp5w,34054
50
+ cognite/neat/core/_graph/queries/__init__.py,sha256=W477LMyB4l6HIRbQhJoFgA_MUBwVCh2GBvtFeZu0AUA,53
51
+ cognite/neat/core/_graph/queries/_base.py,sha256=APevHeeWQDEoOQ0MlBtVlPf9hbZukVkI5fOvt5oPJCE,543
52
+ cognite/neat/core/_graph/queries/_queries.py,sha256=4BidSQXhdZYZ6_kyG7jMJ2iG0UtSrbQxfmwPM7V167A,466
53
+ cognite/neat/core/_graph/queries/_select.py,sha256=ah4F03SJLUVsn_Fw4NHDi1KtiMXYNXpMYlalqW7eK_E,18533
54
+ cognite/neat/core/_graph/queries/_update.py,sha256=j2hU62rEIYWvZ_ZAkm9Khc2lNddnww0W-1jR7MJJbFY,1290
55
+ cognite/neat/core/_graph/transformers/__init__.py,sha256=YzC1Z8BuT77NwagWX4Z-F9R9BARLSS7zM4bCdxBbqKg,1761
56
+ cognite/neat/core/_graph/transformers/_base.py,sha256=WM2LotFRAtHFp6uh-mJMbj8VUdybyHBbrNN_6kEvDf4,4599
57
+ cognite/neat/core/_graph/transformers/_classic_cdf.py,sha256=BIU4lmehFBG1_tAInri4u_gZS3ne0TdI2j1xWvlQV1s,25324
58
+ cognite/neat/core/_graph/transformers/_prune_graph.py,sha256=fWE73BndkEB7qfMndrt3afNQ-EsBO7IOfh2-SXAAYK4,12635
59
+ cognite/neat/core/_graph/transformers/_rdfpath.py,sha256=NwK1uBj5fkAThSDRgcTE7Qc8SZKCMSM5oC9MggjC8-I,3161
60
+ cognite/neat/core/_graph/transformers/_value_type.py,sha256=lOIZGb93yE_ivlIVpfpzilG6cRkjE4dlCAULeve71Bo,15834
61
+ cognite/neat/core/_issues/__init__.py,sha256=NQ-PN3fqp-hBPlpG2AZEND4cDn3_3UXAPfhLNtF5mtc,457
62
+ cognite/neat/core/_issues/_base.py,sha256=IIHnYLBZHc1jX2s4T3JGCjGgM6rlF3-qG4N1acie9XA,11750
63
+ cognite/neat/core/_issues/_contextmanagers.py,sha256=5-QXVmfplt4S_k2csrQ2xuezOOuE5_FxSA9GVGVG1s4,1582
64
+ cognite/neat/core/_issues/_factory.py,sha256=F8xv1_qUAkavFM3s_8Lcsobm22H3zK0CVGSwl0YANoo,2821
65
+ cognite/neat/core/_issues/formatters.py,sha256=k2h_6wHW0ve52gXeuRoEcGwrxqqSe5sYFa_HycPiqW8,3323
66
+ cognite/neat/core/_issues/errors/__init__.py,sha256=ksvhk4suYcTMSu1KFF44EwcYMXNdFa6lphuhMndaz4M,2364
67
+ cognite/neat/core/_issues/errors/_external.py,sha256=AaKwO5-AvX01d7Hd83vqYl1qNmMtgsmShmvyH8ioZAM,2354
68
+ cognite/neat/core/_issues/errors/_general.py,sha256=R6TNBmvCsicqadC56ehiEc9lS18K5DMyK2_UXfv74uA,854
69
+ cognite/neat/core/_issues/errors/_properties.py,sha256=XkMLO4tkFX8vmGRixLdsmDAnlcipc78lypGccMYVAQk,2541
70
+ cognite/neat/core/_issues/errors/_resources.py,sha256=OHgOIv-GSpZh6VPUINUAIn-sboCdeawWH_Qnm0MO168,3997
71
+ cognite/neat/core/_issues/errors/_wrapper.py,sha256=aV7PEUcrAYNnHTxyS5aTawtObImvH2WTyhrpm6_Gva8,2317
72
+ cognite/neat/core/_issues/warnings/__init__.py,sha256=NHYh2zuRbKzbjP4PGSbmrRhHh7qTlNn9aV0XV4V5Kd0,3015
73
+ cognite/neat/core/_issues/warnings/_external.py,sha256=w-1R7ea6DXTIWqwlwMMjY0YxKDMSJ8gKAbp_nIIM1AI,1324
74
+ cognite/neat/core/_issues/warnings/_general.py,sha256=_6dAFaMz-LIv7GsBBIBq2d-kmbuxVXKvU4jZeb7tjAo,972
75
+ cognite/neat/core/_issues/warnings/_models.py,sha256=tqfpGHg6iWgZUkCz-ri-OjtlMN_JqI2HUSR6PnZLWZc,4383
76
+ cognite/neat/core/_issues/warnings/_properties.py,sha256=mMYjch6i0nkRMYb8YWeHDZ3S4uAWZi0L7OtlDSV3n18,3232
77
+ cognite/neat/core/_issues/warnings/_resources.py,sha256=_iPRq0pRMmRu3LFjqZTaG3OqOzw4f8-Vc9G4Im__FHc,3578
78
+ cognite/neat/core/_issues/warnings/user_modeling.py,sha256=Qn_S8TLw7MMYQaJcZBScJA48kz_PrTWz0NaepSR70Fk,4144
79
+ cognite/neat/core/_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
+ cognite/neat/core/_rules/_constants.py,sha256=XRcbXDyVlm9WkcMyJJUi8SfpLDWZTqERU7RMgZo3TSk,5922
81
+ cognite/neat/core/_rules/_shared.py,sha256=F3Afo5VwALtZi2yobihVge8yeUPHA76uycIj0jb5eR0,1385
82
+ cognite/neat/core/_rules/analysis/__init__.py,sha256=0Y7KiXpzrwOIU7GVlC3zlizj1TXe6sodAJzMh1rTZLE,62
83
+ cognite/neat/core/_rules/analysis/_base.py,sha256=vv_Wgu7nd9LYlPMiHd5bDzD4rKmWK2r5XC_6sfpEOaU,23625
84
+ cognite/neat/core/_rules/catalog/__init__.py,sha256=dwDB8b-5GKZuwVyPuiwsH0EaK2FY9-wJrkTjKoL8KE4,250
85
+ cognite/neat/core/_rules/catalog/classic_model.xlsx,sha256=YkocpkKypizjsWYwOdn5yzIz_BSl8T8SQLxgm4GIjLQ,15014
86
+ cognite/neat/core/_rules/catalog/hello_world_pump.xlsx,sha256=E63t5U1PQLIoUfXp1mEuhuq8I2TGKovZlEfIhO5bevw,23322
87
+ cognite/neat/core/_rules/catalog/info-rules-imf.xlsx,sha256=vrE5g8vBtsGpwJqygxG3t9I3x4SUAyQsi1vtWfZ8QW4,53682
88
+ cognite/neat/core/_rules/exporters/__init__.py,sha256=IYBa0DIYlx8cFItgYRw9W4FY_LmVEjuaqMz3JORZZX0,1204
89
+ cognite/neat/core/_rules/exporters/_base.py,sha256=-01nmHFtLgQjNa6sqD0UlQ07cgwkJUTI9USwYnwMSeM,2319
90
+ cognite/neat/core/_rules/exporters/_rules2dms.py,sha256=o2OwwL4LFzz0TVjkn09moL-K7Vp912wfPBF2fPVJUAA,19696
91
+ cognite/neat/core/_rules/exporters/_rules2excel.py,sha256=jwAo03-fx6A0UHlgCCJgPGMgh_LVCyJhQlspi16SbnY,25085
92
+ cognite/neat/core/_rules/exporters/_rules2instance_template.py,sha256=3yBiwUwYTTDPxRBFQnygb1vy8GJ0azHZjM5V81-PMOs,6009
93
+ cognite/neat/core/_rules/exporters/_rules2ontology.py,sha256=7uutg79xgV7-o2FrG7WLFXIsgLLHw27lo4qQ2_OwsRY,23107
94
+ cognite/neat/core/_rules/exporters/_rules2yaml.py,sha256=uJ-1lddUUDuWe4Uz6AGgx5Dok8wALz0EkcC194vpIoI,3165
95
+ cognite/neat/core/_rules/exporters/_validation.py,sha256=Sj2PKAlX7UX53sRhdA6LIIG3K-VTH9grZ9M95H3e-NQ,692
96
+ cognite/neat/core/_rules/importers/__init__.py,sha256=KiTNglSK6OVCdvPiGmO2dTKEGQJWT5Yxa6XWqm7YClQ,1408
97
+ cognite/neat/core/_rules/importers/_base.py,sha256=dkBv4fB_emVMbH8BOMEVUmiRSi8uIFvFIkmXWsyYy7c,1965
98
+ cognite/neat/core/_rules/importers/_dms2rules.py,sha256=4DdDG_FQre2bg9C6NQw7xo4_yvWfnvSrU1KzhedJM0s,27618
99
+ cognite/neat/core/_rules/importers/_spreadsheet2rules.py,sha256=3aJPuYXhLw8rbLeIeSV5UqfMgJny-AmB1uiezocMzYc,11012
100
+ cognite/neat/core/_rules/importers/_yaml2rules.py,sha256=qnJC4-RntmVxLbb1h8LoN3xOfD5v-XdA2OHgq2fVcOE,3921
101
+ cognite/neat/core/_rules/importers/_dtdl2rules/__init__.py,sha256=CNR-sUihs2mnR1bPMKs3j3L4ds3vFTsrl6YycExZTfU,68
102
+ cognite/neat/core/_rules/importers/_dtdl2rules/_unit_lookup.py,sha256=wW4saKva61Q_i17guY0dc4OseJDQfqHy_QZBtm0OD6g,12134
103
+ cognite/neat/core/_rules/importers/_dtdl2rules/dtdl_converter.py,sha256=H4Es2Jtn7WFMQTPqPQY7790eJ9uRCc_1Pj7a44KcJOc,11784
104
+ cognite/neat/core/_rules/importers/_dtdl2rules/dtdl_importer.py,sha256=Huugmriobk4zJC2hykrD9t2rwFdC-QBtxLn_SLTNE58,6169
105
+ cognite/neat/core/_rules/importers/_dtdl2rules/spec.py,sha256=vSuwGajmgdUzdAuDRJtR6nP57kOQF1UdU_L8uFv1WT0,12165
106
+ cognite/neat/core/_rules/importers/_rdf/__init__.py,sha256=2alnwoYVj1-F_M0R2NFFp7A9pZUbViJngygOydlC45Y,239
107
+ cognite/neat/core/_rules/importers/_rdf/_base.py,sha256=Pi473gj0CSGaYxTrdrfdfEbvFSv_AyffyouynG-BqWY,5833
108
+ cognite/neat/core/_rules/importers/_rdf/_imf2rules.py,sha256=LQWkfgj6eDLutkXgdIw9OCcsR0QtkMDIps0tCq2QiQU,3746
109
+ cognite/neat/core/_rules/importers/_rdf/_inference2rules.py,sha256=DBv7wJsunzTxj8Z4LkBy4bzAdgDkhnjNHoXgfs2pKT8,28762
110
+ cognite/neat/core/_rules/importers/_rdf/_owl2rules.py,sha256=-6S3moaqbeaGx03b30UhmeCLH2admEbUE_jxrPpc5l0,3415
111
+ cognite/neat/core/_rules/importers/_rdf/_shared.py,sha256=-modNxX6T5K5cBsY39i5DzjXZ2jtwtSc5JXoDJjEREc,5896
112
+ cognite/neat/core/_rules/models/__init__.py,sha256=ASpW2uPW4fJh160sfUVhXHsAeAVYZAJ2aVvjYET-xHw,1048
113
+ cognite/neat/core/_rules/models/_base_input.py,sha256=ZcSheXMz72w907RAcuMMupTk35zApQ8lS43As7dFVgA,6661
114
+ cognite/neat/core/_rules/models/_base_rules.py,sha256=gFRqxGV0k4WaH4dgGCwGYVth1Q7UTWUuLN6hD0YmZ08,15466
115
+ cognite/neat/core/_rules/models/_types.py,sha256=OemHq54PiTsVp62Vb7LPk_9Iy2ieUiJRIyfPGrLRj5s,5455
116
+ cognite/neat/core/_rules/models/data_types.py,sha256=4dh9WCnXK1dIbocvOo71Psms2Pb-ybSCDgJbYqTg__E,10136
117
+ cognite/neat/core/_rules/models/dms/__init__.py,sha256=0pCMFiq98BirgrgUZmDGkjuK_y63hc22csDfn7D20x8,700
118
+ cognite/neat/core/_rules/models/dms/_exporter.py,sha256=boU_0Wyf2N5cewe-O8KfLANWBtUnnPr9J1vXm1VGOqo,28646
119
+ cognite/neat/core/_rules/models/dms/_rules.py,sha256=0JDxoPEeOeIiCfKMK8m7obaAJAjCAJHWdcm-mxsQgrk,23582
120
+ cognite/neat/core/_rules/models/dms/_rules_input.py,sha256=K7DaalPThFg4mIrOS1MePQebPcuW4qn3VzQLx7J2F4M,16458
121
+ cognite/neat/core/_rules/models/dms/_validation.py,sha256=dCjcyuxIx56O77FqZc2H_DvVId9hafv309mPWxEBHyw,32941
122
+ cognite/neat/core/_rules/models/entities/__init__.py,sha256=Hlucp3LyV6ncLl79aqRTbSy2qgiGzoyN8x54D_zaJCY,1469
123
+ cognite/neat/core/_rules/models/entities/_constants.py,sha256=GXRzVfArwxF3C67VCkzy0JWTZRkRJUYXBQaaecrqcWc,351
124
+ cognite/neat/core/_rules/models/entities/_loaders.py,sha256=ddszAEMzcE7795DyA9LSKf3yPRKUcw1QfXLI5zER0kM,2738
125
+ cognite/neat/core/_rules/models/entities/_multi_value.py,sha256=YBaxZJ_Qm3m6_MKxWe4dlDK7ShL4lEqAne-OxocGE2k,2772
126
+ cognite/neat/core/_rules/models/entities/_single_value.py,sha256=7Ec0ewBXbCSJ6NK_rLCwUVV6eMeRK-v6vosc07h5fno,19906
127
+ cognite/neat/core/_rules/models/entities/_types.py,sha256=df9rnXJJKciv2Bp-Ve2q4xdEJt6WWniq12Z0hW2d6sk,1917
128
+ cognite/neat/core/_rules/models/entities/_wrapped.py,sha256=6ZpVTOmx08Q1FrvSjAHuixXqp3k4fH60Wr2de-c8Z2Q,7963
129
+ cognite/neat/core/_rules/models/information/__init__.py,sha256=lV7l8RTfWBvN_DFkzea8OzADjq0rZGgWe_0Fiwtfje0,556
130
+ cognite/neat/core/_rules/models/information/_rules.py,sha256=RdKDE4v3jHzpcKoopyJQji_GzlcR53i82qPGi3AzTps,13631
131
+ cognite/neat/core/_rules/models/information/_rules_input.py,sha256=z9GfIPmseo4xwzL0PvyD739j_lVpGEcl4enX2vzqTp4,6269
132
+ cognite/neat/core/_rules/models/information/_validation.py,sha256=QZ624uO8ZDfM9ncPQdQKbrN2D6VbTXpU7PenO6oSxwk,12220
133
+ cognite/neat/core/_rules/models/mapping/__init__.py,sha256=T68Hf7rhiXa7b03h4RMwarAmkGnB-Bbhc1H07b2PyC4,100
134
+ cognite/neat/core/_rules/models/mapping/_classic2core.py,sha256=qVyaWC4IlGOtgBxb5wkKfPp4K_yAJUdnmzYJFOimvJM,1236
135
+ cognite/neat/core/_rules/models/mapping/_classic2core.yaml,sha256=ei-nuivNWVW9HmvzDBKIPF6ZdgaMq64XHw_rKm0CMxg,22584
136
+ cognite/neat/core/_rules/transformers/__init__.py,sha256=icjtZq6Hc122fEj9AGEcDB8QuF2JL6dWe4utne73naQ,1617
137
+ cognite/neat/core/_rules/transformers/_base.py,sha256=rIs-yr035x-OcTVXicfBamF5TlyBKEJzEbbwUG53pok,2803
138
+ cognite/neat/core/_rules/transformers/_converters.py,sha256=DuuYey376_fsFvMCzJ9wy9dhStp4MW5i-C_-SBkJaoU,105468
139
+ cognite/neat/core/_rules/transformers/_mapping.py,sha256=LlBcA3MgjnAhlKo7yLhC7citvMrWrl92cDNtwOCxof8,18306
140
+ cognite/neat/core/_rules/transformers/_verification.py,sha256=3l4lHmovMEW5YlgKPOnWL_JVpzqP_4kKdIvP6Vuf5rs,4405
141
+ cognite/neat/core/_store/__init__.py,sha256=RrvuZrMdezqun5dOrwHWSk26kampZcvqiHBqSFumkEE,130
142
+ cognite/neat/core/_store/_graph_store.py,sha256=0vgAYfi386QbloEFHhW-rgRE5ImTQwTNmjL6GVaREwo,17349
143
+ cognite/neat/core/_store/_provenance.py,sha256=Am21MC1NKd7bnc0adC4YCEfMwI5oFkiz6242GhJt5g4,7316
144
+ cognite/neat/core/_store/_rules_store.py,sha256=ervEAoAo7kbm9pyAy7Ktx9B9vxYsA7hd1wgB02MwB3Y,18652
145
+ cognite/neat/core/_store/exceptions.py,sha256=I5olG2I3KKDk44Q-okhV1a0Sqe_Rnh-m9WvNUwQlhMA,1634
146
+ cognite/neat/core/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
147
+ cognite/neat/core/_utils/auth.py,sha256=tP_diUZdtacUkM8TLlbSOyHlNcq9VGh-4o_7myWRU_o,14763
148
+ cognite/neat/core/_utils/auxiliary.py,sha256=0A5dE0oLahErqAClF3OjRge_RFqnq3GBK6L3t-GpmuM,6850
149
+ cognite/neat/core/_utils/collection_.py,sha256=zVrSmm4045pjw6Pt6y4VPTIJ4dXdMJPyOV70LdFyDBM,2376
150
+ cognite/neat/core/_utils/graph_transformations_report.py,sha256=ORVH7lw357TPOq4elU5lH46Qx6GCLVrSj-1nX6Ggk1U,1235
151
+ cognite/neat/core/_utils/io_.py,sha256=D2Mg8sOxfBoDg3fC0jBzaxO3vkXmr0QvZSgYIv6xRkM,386
152
+ cognite/neat/core/_utils/rdf_.py,sha256=y29L_1gATbx7yQj99Wrk7t9S2PAnMHZjElYKIFhSdsE,9933
153
+ cognite/neat/core/_utils/spreadsheet.py,sha256=mD65PWW7EffSDU8Q6gXhhlE46fK5TioES29LUnxSo60,5744
154
+ cognite/neat/core/_utils/text.py,sha256=j8R2rkt0JLFJIO9uda2C1hOp_9rl_DWK2_w-bHuY_V0,8512
155
+ cognite/neat/core/_utils/time_.py,sha256=7ayUm0OWZm1JDmy32E4ip8WRr2o0GLwrHwJA8sJ43Z4,357
156
+ cognite/neat/core/_utils/upload.py,sha256=yR-BvvrWPh0XHoIGByXMEVi3JONzmc5xwXbmEDBdA8U,5860
157
+ cognite/neat/core/_utils/xml_.py,sha256=FQkq84u35MUsnKcL6nTMJ9ajtG9D5i1u4VBnhGqP2DQ,1710
158
+ cognite/neat/core/_utils/reader/__init__.py,sha256=fPkrNB_9hLB7CyHTCFV_xEbIfOMqUQzNly5JN33-QfM,146
159
+ cognite/neat/core/_utils/reader/_base.py,sha256=fRXxUWW8a3UFedeCLxDTDgFntWGlHaEGxmKLcITtiWE,5417
160
+ cognite/neat/session/__init__.py,sha256=fxQ5URVlUnmEGYyB8Baw7IDq-uYacqkigbc4b-Pr9Fw,58
161
+ cognite/neat/session/_base.py,sha256=8kITPVYfwHUhGesHXI8dkrjZZoDFOvklNFWsGADEXCg,12421
162
+ cognite/neat/session/_collector.py,sha256=-icWXOT9YBjAOVZfpPtBx-D39kpRP2RaQKdPtcr7Xm8,4233
163
+ cognite/neat/session/_drop.py,sha256=K0rCCStCMLfmAjrVkN9UgWpxUvqqYT9PnBlHaz2VyAY,4196
164
+ cognite/neat/session/_experimental.py,sha256=LvvLIpOO5OBC-fIXkhe-ghEF1uSeEYoWvwT6-ajrhQw,1219
165
+ cognite/neat/session/_explore.py,sha256=PLxpHDqBk5B0Q4a5tJKnF6KzL4heQ77b2qUETbf6iVQ,1599
166
+ cognite/neat/session/_fix.py,sha256=OJ6xE6Icfdh9pO-ObnlGt-7nwbVVS_nC2fyFoHCDhjg,908
167
+ cognite/neat/session/_inspect.py,sha256=Wual0vgetcIOje7IlTE0y-aM43Ydwf4WEr2LjbbBRZA,10116
168
+ cognite/neat/session/_mapping.py,sha256=sRSxrTq_ksUwt9NMgGDNXp5jd9U5ZXxYVZtpjrCBr1c,2670
169
+ cognite/neat/session/_prepare.py,sha256=s3sERSmdEHru80zO2W7CLrz7h9HuGVKubF7KNWK74qo,12742
170
+ cognite/neat/session/_read.py,sha256=otmmTZFH_Cq5SI_ns3pXEJezzzRvwPRVyfjNSJjQkLE,34999
171
+ cognite/neat/session/_set.py,sha256=p6uo3LUUm5XpkotXTfeoVdlETfSVNGBauTKLqa4jW_M,4518
172
+ cognite/neat/session/_show.py,sha256=Psu94RoAaSZ6KyzXFKNHYeOhHjGwz8c3u314X75-oR0,10565
173
+ cognite/neat/session/_state.py,sha256=8yLenza6rcvk1q2hY5mI1-OXfjocoEOHLBRyz23-Lbw,6353
174
+ cognite/neat/session/_subset.py,sha256=Fp-GdIHeh2yS7ueLR2RKbaqx90fISVV9won_UzfIDXk,2730
175
+ cognite/neat/session/_template.py,sha256=_vPQy9XalcoC7QTmnUJm6sgs534CE0_B9Ph6OIO6ZvE,9624
176
+ cognite/neat/session/_to.py,sha256=H5u2ze3ZACQCaKpxFd18kMFpJ3ip4La5ytdBioe5AL0,18877
177
+ cognite/neat/session/_wizard.py,sha256=TEnNebCqvdoixSIprynMqvYmbBVCS0x9D1ffrq4oI3k,1481
178
+ cognite/neat/session/exceptions.py,sha256=pZ6z5GXBTOjmh6xIszYMYL5LckOMcqfcT_BrxHQGOTo,3269
179
+ cognite/neat/session/_state/README.md,sha256=G6my1CtTDNyIR7G3H1Is_92dHsH_dXjmJmYQb9xh_dk,898
180
+ cognite/neat/session/engine/__init__.py,sha256=D3MxUorEs6-NtgoICqtZ8PISQrjrr4dvca6n48bu_bI,120
181
+ cognite/neat/session/engine/_import.py,sha256=1QxA2_EK613lXYAHKQbZyw2yjo5P9XuiX4Z6_6-WMNQ,169
182
+ cognite/neat/session/engine/_interface.py,sha256=3W-cYr493c_mW3P5O6MKN1xEQg3cA7NHR_ev3zdF9Vk,533
183
+ cognite/neat/session/engine/_load.py,sha256=g52uYakQM03VqHt_RDHtpHso1-mFFifH5M4T2ScuH8A,5198
184
+ cognite_neat-0.121.0.dist-info/METADATA,sha256=kVGUUswt8v2KCpVbTcSLM3Dw1--dcl1vzHyMP3oNl2s,7608
185
+ cognite_neat-0.121.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
186
+ cognite_neat-0.121.0.dist-info/licenses/LICENSE,sha256=W8VmvFia4WHa3Gqxq1Ygrq85McUNqIGDVgtdvzT-XqA,11351
187
+ cognite_neat-0.121.0.dist-info/RECORD,,