ansys-api-discovery 0.5.1__tar.gz → 0.5.2__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.
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/PKG-INFO +3 -3
- ansys_api_discovery-0.5.2/ansys/api/discovery/VERSION +1 -0
- ansys_api_discovery-0.5.2/ansys/api/discovery/v0/conditions.proto +67 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/definedvariationstable.proto +1 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/discoverymodels.proto +45 -0
- ansys_api_discovery-0.5.2/ansys/api/discovery/v0/messaging.proto +21 -0
- ansys_api_discovery-0.5.2/ansys/api/discovery/v0/simulations.proto +23 -0
- ansys_api_discovery-0.5.2/ansys/api/discovery/v0/solution.proto +29 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/PKG-INFO +3 -3
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/SOURCES.txt +4 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/requires.txt +1 -1
- ansys_api_discovery-0.5.2/pyproject.toml +8 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/setup.py +1 -1
- ansys-api-discovery-0.5.1/ansys/api/discovery/VERSION +0 -1
- ansys-api-discovery-0.5.1/pyproject.toml +0 -3
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/LICENSE +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/README.md +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/__init__.py +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/py.typed +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/__init__.py +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/historytrackparameters.proto +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/scriptparameters.proto +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/units.proto +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/dependency_links.txt +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/entry_points.txt +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/top_level.txt +0 -0
- {ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-api-discovery
|
|
3
|
-
Version: 0.5.
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on
|
|
3
|
+
Version: 0.5.2
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 14:18:53 on 26 April 2024
|
|
5
5
|
Home-page: https://github.com/ansys/ansys-api-discovery
|
|
6
6
|
Author: ANSYS, Inc.
|
|
7
7
|
Author-email: support@ansys.com
|
|
@@ -11,7 +11,7 @@ Description-Content-Type: text/markdown
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: grpcio~=1.47
|
|
13
13
|
Requires-Dist: protobuf<5,>=3.19
|
|
14
|
-
Requires-Dist: ansys-api-dbu==0.
|
|
14
|
+
Requires-Dist: ansys-api-dbu==0.3.0
|
|
15
15
|
|
|
16
16
|
### ansys-api-discovery gRPC Interface Package
|
|
17
17
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.5.2
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
import "google/protobuf/empty.proto";
|
|
8
|
+
|
|
9
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
10
|
+
|
|
11
|
+
service Conditions
|
|
12
|
+
{
|
|
13
|
+
//Heat methods
|
|
14
|
+
rpc CreateHeat(HeatCreationRequest) returns (Heat);
|
|
15
|
+
|
|
16
|
+
rpc ChangeHeatLocation(HeatChangeLocationRequest) returns(ConditionChangedResponse);
|
|
17
|
+
|
|
18
|
+
rpc ChangeTotalHeat(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
19
|
+
|
|
20
|
+
rpc ChangeHeatPerUnitVolume(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
21
|
+
|
|
22
|
+
rpc ChangeHeatPerUnitArea(ChangeQuantityRequest) returns(ConditionChangedResponse);
|
|
23
|
+
|
|
24
|
+
rpc ChangeHeatSpecification(HeatSpecificationRequest) returns(ConditionChangedResponse);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message ChangeLocationRequest{
|
|
28
|
+
string object_id = 1;
|
|
29
|
+
repeated string locations = 2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message ChangeQuantityRequest{
|
|
33
|
+
string object_id = 1;
|
|
34
|
+
QuantityType quantity_type = 2;
|
|
35
|
+
double quantity_value = 3;
|
|
36
|
+
int32 unit = 4;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message ConditionChangedResponse {
|
|
40
|
+
bool success = 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//Heat methods
|
|
44
|
+
|
|
45
|
+
message HeatSpecificationRequest {
|
|
46
|
+
string object_id = 1;
|
|
47
|
+
HeatSpecification heat_specifcation = 2;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message HeatChangeLocationRequest
|
|
51
|
+
{
|
|
52
|
+
ChangeLocationRequest change_locationrequest = 1;
|
|
53
|
+
LocationSpecification location_specification = 2;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Inputs for heat creation
|
|
57
|
+
message HeatCreationRequest {
|
|
58
|
+
string simulation = 1;
|
|
59
|
+
LocationSpecification location_specification = 2;
|
|
60
|
+
repeated string locations = 3;
|
|
61
|
+
HeatSpecification heat_specifcation = 4;
|
|
62
|
+
QuantityType quantity_type = 5;
|
|
63
|
+
double quantity_value = 6;
|
|
64
|
+
int32 unit = 7;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
{ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys/api/discovery/v0/discoverymodels.proto
RENAMED
|
@@ -84,8 +84,52 @@ message ScriptParameter {
|
|
|
84
84
|
ansys.api.dbu.v0.DimensionType dimension_type = 3;
|
|
85
85
|
double dimension_value = 4;
|
|
86
86
|
}
|
|
87
|
+
//
|
|
88
|
+
// SIMULATIONS PROTOS
|
|
89
|
+
//
|
|
90
|
+
message Simulation {
|
|
91
|
+
string id = 1;
|
|
92
|
+
string label = 2;
|
|
93
|
+
}
|
|
94
|
+
//
|
|
95
|
+
// CONDITIONS PROTOS
|
|
96
|
+
//
|
|
87
97
|
|
|
98
|
+
// Heat
|
|
88
99
|
//
|
|
100
|
+
|
|
101
|
+
// Defines how heat is specified
|
|
102
|
+
enum HeatSpecification {
|
|
103
|
+
TOTALHEAT = 0;
|
|
104
|
+
HEATPERUNITVOLUMEORAREA = 1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// Defines whether heat is applied to body or face
|
|
108
|
+
enum LocationSpecification {
|
|
109
|
+
FACELOCATIONS = 0;
|
|
110
|
+
BODYLOCATIONS = 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Heat definition
|
|
114
|
+
message Heat {
|
|
115
|
+
string id = 1;
|
|
116
|
+
string parentid = 2;
|
|
117
|
+
string label = 3;
|
|
118
|
+
repeated string locations = 4;
|
|
119
|
+
bool suppressed = 5;
|
|
120
|
+
HeatSpecification heat_specifcation = 6;
|
|
121
|
+
Quantity total_heat = 7;
|
|
122
|
+
Quantity heat_per_unitvolume = 8;
|
|
123
|
+
Quantity heat_per_unitarea = 9;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
message Quantity {
|
|
127
|
+
QuantityType quantity_type = 1;
|
|
128
|
+
double quantity_value = 2;
|
|
129
|
+
int32 unit = 3;
|
|
130
|
+
string unit_abbreviation = 4;
|
|
131
|
+
}
|
|
132
|
+
|
|
89
133
|
// Represents the quantity type for a physics parameter.
|
|
90
134
|
enum QuantityType {
|
|
91
135
|
QUANTITY_TYPE_ACCELERATION=0;
|
|
@@ -168,4 +212,5 @@ enum QuantityType {
|
|
|
168
212
|
QUANTITY_TYPE_VOLUME_FLOW=77;
|
|
169
213
|
QUANTITY_TYPE_VOLUME_PER_LENGTH=78;
|
|
170
214
|
QUANTITY_TYPE_WARPING_MOMENT_OF_INERTIA=79;
|
|
215
|
+
QUANTITY_TYPE_NONE=80;
|
|
171
216
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.discovery.v0.messaging;
|
|
5
|
+
|
|
6
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
7
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
8
|
+
import "google/protobuf/empty.proto";
|
|
9
|
+
|
|
10
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Messaging";
|
|
11
|
+
|
|
12
|
+
// Messaging service for getting events out of Discovery
|
|
13
|
+
//
|
|
14
|
+
service Messaging{
|
|
15
|
+
rpc GetMessages(google.protobuf.Empty) returns(stream MessagingResponse);
|
|
16
|
+
rpc ClearMessages(google.protobuf.Empty) returns(google.protobuf.Empty);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message MessagingResponse{
|
|
20
|
+
string event_message = 1;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.simulations;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
import "google/protobuf/empty.proto";
|
|
8
|
+
|
|
9
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Simulations";
|
|
10
|
+
|
|
11
|
+
service Simulations
|
|
12
|
+
{
|
|
13
|
+
// Creates a new simulation
|
|
14
|
+
rpc CreateSimulation(google.protobuf.Empty) returns (Simulation);
|
|
15
|
+
|
|
16
|
+
// Lists all simulations
|
|
17
|
+
rpc GetAll(google.protobuf.Empty) returns(GetAllResponse);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message GetAllResponse{
|
|
21
|
+
// The simulations in the study.
|
|
22
|
+
repeated Simulation simulations = 1;
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.solution;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
import "google/protobuf/empty.proto";
|
|
8
|
+
|
|
9
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Solution";
|
|
10
|
+
|
|
11
|
+
service Solution
|
|
12
|
+
{
|
|
13
|
+
rpc GetSolverFidelity(SimulationStageRequest) returns (SolverFidelityResponse);
|
|
14
|
+
rpc SetSolverFidelity(SolverFidelityRequest) returns (google.protobuf.Empty);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message SolverFidelityRequest{
|
|
18
|
+
SimulationStageRequest simulation_stage = 1;
|
|
19
|
+
double value = 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message SimulationStageRequest{
|
|
23
|
+
string simulation = 1;
|
|
24
|
+
string stage = 2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message SolverFidelityResponse{
|
|
28
|
+
double value = 1;
|
|
29
|
+
}
|
{ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/PKG-INFO
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ansys-api-discovery
|
|
3
|
-
Version: 0.5.
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on
|
|
3
|
+
Version: 0.5.2
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 14:18:53 on 26 April 2024
|
|
5
5
|
Home-page: https://github.com/ansys/ansys-api-discovery
|
|
6
6
|
Author: ANSYS, Inc.
|
|
7
7
|
Author-email: support@ansys.com
|
|
@@ -11,7 +11,7 @@ Description-Content-Type: text/markdown
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: grpcio~=1.47
|
|
13
13
|
Requires-Dist: protobuf<5,>=3.19
|
|
14
|
-
Requires-Dist: ansys-api-dbu==0.
|
|
14
|
+
Requires-Dist: ansys-api-dbu==0.3.0
|
|
15
15
|
|
|
16
16
|
### ansys-api-discovery gRPC Interface Package
|
|
17
17
|
|
{ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/SOURCES.txt
RENAMED
|
@@ -6,10 +6,14 @@ ansys/api/discovery/VERSION
|
|
|
6
6
|
ansys/api/discovery/__init__.py
|
|
7
7
|
ansys/api/discovery/py.typed
|
|
8
8
|
ansys/api/discovery/v0/__init__.py
|
|
9
|
+
ansys/api/discovery/v0/conditions.proto
|
|
9
10
|
ansys/api/discovery/v0/definedvariationstable.proto
|
|
10
11
|
ansys/api/discovery/v0/discoverymodels.proto
|
|
11
12
|
ansys/api/discovery/v0/historytrackparameters.proto
|
|
13
|
+
ansys/api/discovery/v0/messaging.proto
|
|
12
14
|
ansys/api/discovery/v0/scriptparameters.proto
|
|
15
|
+
ansys/api/discovery/v0/simulations.proto
|
|
16
|
+
ansys/api/discovery/v0/solution.proto
|
|
13
17
|
ansys/api/discovery/v0/units.proto
|
|
14
18
|
ansys_api_discovery.egg-info/PKG-INFO
|
|
15
19
|
ansys_api_discovery.egg-info/SOURCES.txt
|
|
@@ -35,7 +35,7 @@ if __name__ == "__main__":
|
|
|
35
35
|
url=f"https://github.com/ansys/{package_name}",
|
|
36
36
|
license="MIT",
|
|
37
37
|
python_requires=">=3.7",
|
|
38
|
-
install_requires=["grpcio~=1.47", "protobuf>=3.19,<5", "ansys-api-dbu==0.
|
|
38
|
+
install_requires=["grpcio~=1.47", "protobuf>=3.19,<5", "ansys-api-dbu==0.3.0"],
|
|
39
39
|
packages=setuptools.find_namespace_packages(".", include=("ansys.*",)),
|
|
40
40
|
package_data={
|
|
41
41
|
"": ["*.proto", "*.pyi", "py.typed", "VERSION"],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.5.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ansys-api-discovery-0.5.1 → ansys_api_discovery-0.5.2}/ansys_api_discovery.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|