ansys-api-systemcoupling 0.2.0__tar.gz → 0.3.1__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.
Files changed (24) hide show
  1. {ansys-api-systemcoupling-0.2.0/src/ansys_api_systemcoupling.egg-info → ansys_api_systemcoupling-0.3.1}/PKG-INFO +15 -3
  2. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/setup.py +1 -1
  3. ansys_api_systemcoupling-0.3.1/src/ansys/api/systemcoupling/VERSION +1 -0
  4. ansys_api_systemcoupling-0.3.1/src/ansys/api/systemcoupling/v0/chart.proto +159 -0
  5. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1/src/ansys_api_systemcoupling.egg-info}/PKG-INFO +15 -3
  6. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/SOURCES.txt +1 -0
  7. ansys_api_systemcoupling-0.3.1/src/ansys_api_systemcoupling.egg-info/requires.txt +2 -0
  8. ansys-api-systemcoupling-0.2.0/src/ansys/api/systemcoupling/VERSION +0 -1
  9. ansys-api-systemcoupling-0.2.0/src/ansys_api_systemcoupling.egg-info/requires.txt +0 -2
  10. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/LICENSE +0 -0
  11. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/README.md +0 -0
  12. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/pyproject.toml +0 -0
  13. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/setup.cfg +0 -0
  14. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/__init__.py +0 -0
  15. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/py.typed +0 -0
  16. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/command.proto +0 -0
  17. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/error.proto +0 -0
  18. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/output_stream.proto +0 -0
  19. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/process.proto +0 -0
  20. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/solution.proto +0 -0
  21. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/variant.proto +0 -0
  22. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/dependency_links.txt +0 -0
  23. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/entry_points.txt +0 -0
  24. {ansys-api-systemcoupling-0.2.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: ansys-api-systemcoupling
3
- Version: 0.2.0
4
- Summary: Autogenerated python gRPC interface package for ansys-api-systemcoupling, built on 15:37:49 on 09 July 2024
3
+ Version: 0.3.1
4
+ Summary: Autogenerated python gRPC interface package for ansys-api-systemcoupling, built on 11:30:16 on 06 February 2026
5
5
  Home-page: https://github.com/ansys/ansys-api-systemcoupling
6
6
  Author: ANSYS, Inc.
7
7
  Author-email: support@ansys.com
@@ -9,6 +9,18 @@ License: MIT
9
9
  Requires-Python: >=3.7
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
+ Requires-Dist: grpcio~=1.30
13
+ Requires-Dist: protobuf<7,>=3.19
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: home-page
19
+ Dynamic: license
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
12
24
 
13
25
  ### ansys-api-systemcoupling gRPC Interface Package
14
26
 
@@ -38,7 +38,7 @@ if __name__ == "__main__":
38
38
  url=f"https://github.com/ansys/{package_name}",
39
39
  license="MIT",
40
40
  python_requires=">=3.7",
41
- install_requires=["grpcio~=1.30", "protobuf>=3.19,<5"],
41
+ install_requires=["grpcio~=1.30", "protobuf>=3.19,<7"],
42
42
  package_dir={"": "src"},
43
43
  packages=setuptools.find_namespace_packages("src", include=("ansys.*",)),
44
44
  package_data={
@@ -0,0 +1,159 @@
1
+ syntax = "proto3";
2
+
3
+ package ansys.api.systemcoupling.v0;
4
+
5
+ // Enum containing the different types of chart series.
6
+ enum TransferSeriesType {
7
+ SERIES_TYPE_UNKNOWN=0;
8
+ SERIES_TYPE_CONVERGENCE = 1;
9
+ SERIES_TYPE_SUM = 2;
10
+ SERIES_TYPE_WEIGHTED_AVERAGE = 3;
11
+ }
12
+
13
+ // Information about the chart series data associated with a data transfer.
14
+ message TransferSeriesInfo {
15
+ // The type of line series.
16
+ TransferSeriesType series_type = 1;
17
+ // The unique internal name of the data transfer.
18
+ string transfer_name = 2;
19
+ // The unique internal name of the participant. This is required for transfer value series
20
+ // but is empty for CONVERGENCE series. Used in chart labelling.
21
+ string participant_name = 3;
22
+ // The suffix for this component series, if applicable. This is only needed for
23
+ // transfer value series that have multiple components, such as complex or vector
24
+ // values. Suffixes for complex components are "real" and "imag", and suffixes for
25
+ // vector components are "x", "y", and "z". A combination is possible, such as
26
+ // "y real" and "x imag". (Empty for CONVERGENCE series)
27
+ string component_suffix = 4;
28
+ }
29
+
30
+ // Information about the chart series data associated with a single interface.
31
+ message InterfaceInfo {
32
+ // The name of the coupling interface data model object.
33
+ string interface_name = 1;
34
+ // The list of TransferSeriesInfo associated with this interface.
35
+ repeated TransferSeriesInfo transfer_info = 2;
36
+ }
37
+
38
+ // Complete metadata for available chart series.
39
+ message ChartMetadata {
40
+ // Whether the chart is for a transient analysis.
41
+ bool is_transient = 1;
42
+ // The metadata for the series associated with each interface.
43
+ repeated InterfaceInfo interface_info = 2;
44
+ }
45
+
46
+ // The plot data for a single chart line series and information to allow
47
+ // it to be associated with chart metadata.
48
+ // An instance of this type is assumed to be associated with a single interface.
49
+ // This message supports per-iteration incremental data, batched data for a
50
+ // subset of iterations, or complete data for all iterations.
51
+ message SeriesData {
52
+ // The name of the interface this series is associated with.
53
+ string interface_name = 1;
54
+ // Index of the TransferSeriesInfo metadata for this series within the
55
+ // InterfaceInfo for the interface this series is associated with.
56
+ int32 transfer_series_index = 2;
57
+ // The 0-based start index of the data field. This defaults to 0 and
58
+ // only needs to be set to a different value if incremental data, such
59
+ // as might arise during "live" update of plots, has become available.
60
+ // Data indexes correspond to iterations. Iteration N will have an
61
+ // index of N-1.
62
+ int32 start_index = 3;
63
+ // The series data. This is always indexed by iteration. Extract time
64
+ // step-based data by using a time step to iteration mapping.
65
+ repeated double data = 4;
66
+ }
67
+
68
+
69
+ // Message providing notification and details of a new timestep in a transient analysis.
70
+ // This message is intended for use in live updates. See TimestepData for
71
+ // cumulative timestep information.
72
+ message TimestepStart {
73
+ // The timestep count of the new timestep.
74
+ int32 timestep_count = 1;
75
+ // The end time of the current timestep.
76
+ // For the first timestep, this is the timestep size. For subsequent
77
+ // timesteps, the timestep size can be determined by subtracting the previous
78
+ // time value from the current time value.
79
+ double time = 2;
80
+ }
81
+
82
+ // Message providing notification and details of the end of a timestep in a transient analysis.
83
+ // This message is intended for use in live updates. See TimestepData for
84
+ // cumulative timestep information.
85
+ message TimestepEnd {
86
+ // The timestep count of the ended timestep.
87
+ int32 timestep_count = 1;
88
+ // The ending iteration for the timestep. NB: This is a 1-based iteration count.
89
+ int32 iteration_count = 2;
90
+ }
91
+
92
+ // Chart data event that can contain different types of chart data.
93
+ // The first event in a stream will typically contain interface metadata,
94
+ // followed by series data and timestep data as they become available.
95
+ message ChartDataEvent {
96
+ oneof event_data {
97
+ // Metadata containing information about the available series.
98
+ ChartMetadata metadata = 1;
99
+ // Series data for a specific chart line series.
100
+ SeriesData series_data = 2;
101
+ // Timestep start notification for transient analyses.
102
+ TimestepStart timestep_start = 3;
103
+ // Timestep end notification for transient analyses.
104
+ TimestepEnd timestep_end = 4;
105
+ }
106
+ }
107
+
108
+ // Message providing all series data for all interfaces.
109
+ // For use in post-solve, non-streaming retrieval of chart data.
110
+ message AllSeriesData {
111
+ // List of all available series data.
112
+ repeated SeriesData series_data = 1;
113
+ }
114
+
115
+ // Message providing all timestep data for transient analyses.
116
+ // For use in post-solve, non-streaming retrieval of chart data.
117
+ message TimestepData {
118
+ // The mapping of timestep count to iteration count.
119
+ // NB: these are 1-based step and iteration counts.
120
+ repeated int32 timestep_to_iteration = 1;
121
+ // The time values for each timestep.
122
+ repeated double time_values = 2;
123
+ }
124
+
125
+ // Service for querying chart data, both as a "live" stream during a solve
126
+ // and as non-streaming requests for data after a solve has been performed.
127
+ service ChartData {
128
+ // Streams chart data events starting with interface metadata followed by
129
+ // series data and timestep data as they become available on the server.
130
+ // For transient cases, timestep data will be included in the stream.
131
+ rpc StreamChartData(ChartDataRequest) returns (stream ChartDataEvent);
132
+
133
+ // The following RPCs provide non-streaming access to chart data.
134
+ // This should be available as long as a solve has been performed
135
+ // in the current session.
136
+
137
+ // Retrieves the chart metadata for all available series.
138
+ rpc GetChartMetadata(ChartMetadataRequest) returns (ChartMetadata);
139
+ // Retrieves all data for all chart series.
140
+ rpc GetChartSeriesData(ChartSeriesDataRequest) returns (AllSeriesData);
141
+ // Retrieves all data for all chart timesteps.
142
+ rpc GetChartTimestepData(ChartTimestepDataRequest) returns (TimestepData);
143
+ }
144
+
145
+ // Request message for chart data streaming.
146
+ message ChartDataRequest {
147
+ }
148
+
149
+ // Request message for chart metadata retrieval.
150
+ message ChartMetadataRequest {
151
+ }
152
+
153
+ // Request message for all chart series data retrieval.
154
+ message ChartSeriesDataRequest {
155
+ }
156
+
157
+ // Request message for chart timestep data retrieval.
158
+ message ChartTimestepDataRequest {
159
+ }
@@ -1,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: ansys-api-systemcoupling
3
- Version: 0.2.0
4
- Summary: Autogenerated python gRPC interface package for ansys-api-systemcoupling, built on 15:37:49 on 09 July 2024
3
+ Version: 0.3.1
4
+ Summary: Autogenerated python gRPC interface package for ansys-api-systemcoupling, built on 11:30:16 on 06 February 2026
5
5
  Home-page: https://github.com/ansys/ansys-api-systemcoupling
6
6
  Author: ANSYS, Inc.
7
7
  Author-email: support@ansys.com
@@ -9,6 +9,18 @@ License: MIT
9
9
  Requires-Python: >=3.7
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
+ Requires-Dist: grpcio~=1.30
13
+ Requires-Dist: protobuf<7,>=3.19
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: description
17
+ Dynamic: description-content-type
18
+ Dynamic: home-page
19
+ Dynamic: license
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+ Dynamic: requires-python
23
+ Dynamic: summary
12
24
 
13
25
  ### ansys-api-systemcoupling gRPC Interface Package
14
26
 
@@ -5,6 +5,7 @@ setup.py
5
5
  src/ansys/api/systemcoupling/VERSION
6
6
  src/ansys/api/systemcoupling/__init__.py
7
7
  src/ansys/api/systemcoupling/py.typed
8
+ src/ansys/api/systemcoupling/v0/chart.proto
8
9
  src/ansys/api/systemcoupling/v0/command.proto
9
10
  src/ansys/api/systemcoupling/v0/error.proto
10
11
  src/ansys/api/systemcoupling/v0/output_stream.proto
@@ -0,0 +1,2 @@
1
+ grpcio~=1.30
2
+ protobuf<7,>=3.19
@@ -1,2 +0,0 @@
1
- grpcio~=1.30
2
- protobuf<5,>=3.19