ansys-api-systemcoupling 0.1.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.
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/LICENSE +21 -21
- {ansys-api-systemcoupling-0.1.0/src/ansys_api_systemcoupling.egg-info → ansys_api_systemcoupling-0.3.1}/PKG-INFO +84 -72
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/README.md +60 -60
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/pyproject.toml +3 -3
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/setup.cfg +4 -4
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/setup.py +53 -50
- ansys_api_systemcoupling-0.3.1/src/ansys/api/systemcoupling/VERSION +1 -0
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/__init__.py +8 -8
- ansys_api_systemcoupling-0.3.1/src/ansys/api/systemcoupling/v0/chart.proto +159 -0
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/command.proto +23 -23
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/error.proto +8 -8
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/output_stream.proto +15 -15
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/process.proto +15 -15
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/solution.proto +30 -30
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/v0/variant.proto +51 -51
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1/src/ansys_api_systemcoupling.egg-info}/PKG-INFO +84 -72
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/SOURCES.txt +1 -0
- ansys_api_systemcoupling-0.3.1/src/ansys_api_systemcoupling.egg-info/requires.txt +2 -0
- ansys-api-systemcoupling-0.1.0/src/ansys/api/systemcoupling/VERSION +0 -1
- ansys-api-systemcoupling-0.1.0/src/ansys_api_systemcoupling.egg-info/requires.txt +0 -2
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys/api/systemcoupling/py.typed +0 -0
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/dependency_links.txt +0 -0
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/entry_points.txt +0 -0
- {ansys-api-systemcoupling-0.1.0 → ansys_api_systemcoupling-0.3.1}/src/ansys_api_systemcoupling.egg-info/top_level.txt +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 ANSYS, Inc. All rights reserved.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 ANSYS, Inc. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,72 +1,84 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: ansys-api-systemcoupling
|
|
3
|
-
Version: 0.1
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-systemcoupling, built on
|
|
5
|
-
Home-page: https://github.com/ansys/ansys-api-systemcoupling
|
|
6
|
-
Author: ANSYS, Inc.
|
|
7
|
-
Author-email: support@ansys.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Requires-Python: >=3.7
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
License-File: LICENSE
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
####
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ansys-api-systemcoupling
|
|
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
|
+
Home-page: https://github.com/ansys/ansys-api-systemcoupling
|
|
6
|
+
Author: ANSYS, Inc.
|
|
7
|
+
Author-email: support@ansys.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
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
|
|
24
|
+
|
|
25
|
+
### ansys-api-systemcoupling gRPC Interface Package
|
|
26
|
+
|
|
27
|
+
This Python package contains the auto-generated gRPC Python interface files for
|
|
28
|
+
System Coupling.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
#### Installation
|
|
32
|
+
|
|
33
|
+
Provided that these wheels have been published to public PyPI, they can be
|
|
34
|
+
installed with:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
pip install ansys-api-systemcoupling
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### Build
|
|
41
|
+
|
|
42
|
+
To build the gRPC packages, run:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
pip install build
|
|
46
|
+
python -m build
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
This will create both the source distribution containing just the protofiles
|
|
50
|
+
along with the wheel containing the protofiles and build Python interface
|
|
51
|
+
files.
|
|
52
|
+
|
|
53
|
+
Note that the interface files are identical regardless of the version of Python
|
|
54
|
+
used to generate them, but the last pre-built wheel for ``grpcio~=1.30`` was
|
|
55
|
+
Python 3.7, so to improve your build time, use Python 3.7 when building the
|
|
56
|
+
wheel.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
#### Manual Deployment
|
|
60
|
+
|
|
61
|
+
After building the packages, manually deploy them with:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
pip install twine
|
|
65
|
+
twine upload dist/*
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Note that this is automatically done through CI/CD.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
#### Automatic Deployment
|
|
72
|
+
|
|
73
|
+
This repository contains GitHub CI/CD that enables the automatic building of
|
|
74
|
+
source and wheel packages for these gRPC Python interface files. By default,
|
|
75
|
+
these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
76
|
+
are uploaded for each PR.
|
|
77
|
+
|
|
78
|
+
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
79
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
git tag v0.5.0
|
|
83
|
+
git push --tags
|
|
84
|
+
```
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
### ansys-api-systemcoupling gRPC Interface Package
|
|
2
|
-
|
|
3
|
-
This Python package contains the auto-generated gRPC Python interface files for
|
|
4
|
-
System Coupling.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
#### Installation
|
|
8
|
-
|
|
9
|
-
Provided that these wheels have been published to public PyPI, they can be
|
|
10
|
-
installed with:
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
pip install ansys-api-systemcoupling
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
#### Build
|
|
17
|
-
|
|
18
|
-
To build the gRPC packages, run:
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
pip install build
|
|
22
|
-
python -m build
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
This will create both the source distribution containing just the protofiles
|
|
26
|
-
along with the wheel containing the protofiles and build Python interface
|
|
27
|
-
files.
|
|
28
|
-
|
|
29
|
-
Note that the interface files are identical regardless of the version of Python
|
|
30
|
-
used to generate them, but the last pre-built wheel for ``grpcio~=1.30`` was
|
|
31
|
-
Python 3.7, so to improve your build time, use Python 3.7 when building the
|
|
32
|
-
wheel.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
#### Manual Deployment
|
|
36
|
-
|
|
37
|
-
After building the packages, manually deploy them with:
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
pip install twine
|
|
41
|
-
twine upload dist/*
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Note that this is automatically done through CI/CD.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
#### Automatic Deployment
|
|
48
|
-
|
|
49
|
-
This repository contains GitHub CI/CD that enables the automatic building of
|
|
50
|
-
source and wheel packages for these gRPC Python interface files. By default,
|
|
51
|
-
these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
52
|
-
are uploaded for each PR.
|
|
53
|
-
|
|
54
|
-
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
55
|
-
push tags. For example, for the version ``v0.5.0``.
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
git tag v0.5.0
|
|
59
|
-
git push --tags
|
|
60
|
-
```
|
|
1
|
+
### ansys-api-systemcoupling gRPC Interface Package
|
|
2
|
+
|
|
3
|
+
This Python package contains the auto-generated gRPC Python interface files for
|
|
4
|
+
System Coupling.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
#### Installation
|
|
8
|
+
|
|
9
|
+
Provided that these wheels have been published to public PyPI, they can be
|
|
10
|
+
installed with:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
pip install ansys-api-systemcoupling
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
#### Build
|
|
17
|
+
|
|
18
|
+
To build the gRPC packages, run:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
pip install build
|
|
22
|
+
python -m build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This will create both the source distribution containing just the protofiles
|
|
26
|
+
along with the wheel containing the protofiles and build Python interface
|
|
27
|
+
files.
|
|
28
|
+
|
|
29
|
+
Note that the interface files are identical regardless of the version of Python
|
|
30
|
+
used to generate them, but the last pre-built wheel for ``grpcio~=1.30`` was
|
|
31
|
+
Python 3.7, so to improve your build time, use Python 3.7 when building the
|
|
32
|
+
wheel.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
#### Manual Deployment
|
|
36
|
+
|
|
37
|
+
After building the packages, manually deploy them with:
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
pip install twine
|
|
41
|
+
twine upload dist/*
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Note that this is automatically done through CI/CD.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
#### Automatic Deployment
|
|
48
|
+
|
|
49
|
+
This repository contains GitHub CI/CD that enables the automatic building of
|
|
50
|
+
source and wheel packages for these gRPC Python interface files. By default,
|
|
51
|
+
these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
52
|
+
are uploaded for each PR.
|
|
53
|
+
|
|
54
|
+
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
55
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
git tag v0.5.0
|
|
59
|
+
git push --tags
|
|
60
|
+
```
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools >= 42.0.0", "wheel", "ansys_tools_protoc_helper"]
|
|
3
|
-
build-backend = "setuptools.build_meta:__legacy__"
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools >= 42.0.0", "wheel", "ansys_tools_protoc_helper>=0.4.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta:__legacy__"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
"""Installation file for the ansys-api-systemcoupling package"""
|
|
2
|
-
|
|
3
|
-
import os
|
|
4
|
-
from datetime import datetime
|
|
5
|
-
|
|
6
|
-
import setuptools
|
|
7
|
-
|
|
8
|
-
from ansys.tools.protoc_helper import CMDCLASS_OVERRIDE
|
|
9
|
-
|
|
10
|
-
# Get the long description from the README file
|
|
11
|
-
HERE = os.path.abspath(os.path.dirname(__file__))
|
|
12
|
-
with open(os.path.join(HERE, "README.md"), encoding="utf-8") as f:
|
|
13
|
-
long_description = f.read()
|
|
14
|
-
|
|
15
|
-
product = "systemcoupling"
|
|
16
|
-
library = ""
|
|
17
|
-
package_info = ["ansys", "api", product, library, "v0"]
|
|
18
|
-
with open(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
"""Installation file for the ansys-api-systemcoupling package"""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
|
|
6
|
+
import setuptools
|
|
7
|
+
|
|
8
|
+
from ansys.tools.protoc_helper import CMDCLASS_OVERRIDE
|
|
9
|
+
|
|
10
|
+
# Get the long description from the README file
|
|
11
|
+
HERE = os.path.abspath(os.path.dirname(__file__))
|
|
12
|
+
with open(os.path.join(HERE, "README.md"), encoding="utf-8") as f:
|
|
13
|
+
long_description = f.read()
|
|
14
|
+
|
|
15
|
+
product = "systemcoupling"
|
|
16
|
+
library = ""
|
|
17
|
+
package_info = ["ansys", "api", product, library, "v0"]
|
|
18
|
+
with open(
|
|
19
|
+
os.path.join(HERE, "src", "ansys", "api", product, library, "VERSION"),
|
|
20
|
+
encoding="utf-8",
|
|
21
|
+
) as f:
|
|
22
|
+
version = f.read().strip()
|
|
23
|
+
|
|
24
|
+
package_name = "ansys-api-systemcoupling"
|
|
25
|
+
dot_package_name = ".".join(filter(None, package_info))
|
|
26
|
+
|
|
27
|
+
description = f"Autogenerated python gRPC interface package for {package_name}, built on {datetime.now().strftime('%H:%M:%S on %d %B %Y')}"
|
|
28
|
+
|
|
29
|
+
if __name__ == "__main__":
|
|
30
|
+
setuptools.setup(
|
|
31
|
+
name=package_name,
|
|
32
|
+
version=version,
|
|
33
|
+
author="ANSYS, Inc.",
|
|
34
|
+
author_email="support@ansys.com",
|
|
35
|
+
description=description,
|
|
36
|
+
long_description=long_description,
|
|
37
|
+
long_description_content_type="text/markdown",
|
|
38
|
+
url=f"https://github.com/ansys/{package_name}",
|
|
39
|
+
license="MIT",
|
|
40
|
+
python_requires=">=3.7",
|
|
41
|
+
install_requires=["grpcio~=1.30", "protobuf>=3.19,<7"],
|
|
42
|
+
package_dir={"": "src"},
|
|
43
|
+
packages=setuptools.find_namespace_packages("src", include=("ansys.*",)),
|
|
44
|
+
package_data={
|
|
45
|
+
"": ["*.proto", "*.pyi", "py.typed", "VERSION"],
|
|
46
|
+
},
|
|
47
|
+
entry_points={
|
|
48
|
+
"ansys.tools.protoc_helper.proto_provider": [
|
|
49
|
+
f"{dot_package_name}={dot_package_name}"
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
cmdclass=CMDCLASS_OVERRIDE,
|
|
53
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"""Autogenerated Python gRPC interface package for ansys-api-systemcoupling."""
|
|
2
|
-
|
|
3
|
-
import pathlib
|
|
4
|
-
|
|
5
|
-
__all__ = ["__version__"]
|
|
6
|
-
|
|
7
|
-
with open(pathlib.Path(__file__).parent / "VERSION", encoding="utf-8") as f:
|
|
8
|
-
__version__ = f.read().strip()
|
|
1
|
+
"""Autogenerated Python gRPC interface package for ansys-api-systemcoupling."""
|
|
2
|
+
|
|
3
|
+
import pathlib
|
|
4
|
+
|
|
5
|
+
__all__ = ["__version__"]
|
|
6
|
+
|
|
7
|
+
with open(pathlib.Path(__file__).parent / "VERSION", encoding="utf-8") as f:
|
|
8
|
+
__version__ = f.read().strip()
|
|
@@ -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,23 +1,23 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
import "ansys/api/systemcoupling/v0/variant.proto";
|
|
7
|
-
|
|
8
|
-
service Command {
|
|
9
|
-
rpc InvokeCommand (CommandRequest) returns (CommandResponse) {}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
message CommandRequest {
|
|
13
|
-
message Argument {
|
|
14
|
-
string name = 1;
|
|
15
|
-
Variant val = 2;
|
|
16
|
-
}
|
|
17
|
-
string command = 1;
|
|
18
|
-
repeated Argument args = 2;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message CommandResponse {
|
|
22
|
-
Variant result = 1;
|
|
23
|
-
}
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
import "ansys/api/systemcoupling/v0/variant.proto";
|
|
7
|
+
|
|
8
|
+
service Command {
|
|
9
|
+
rpc InvokeCommand (CommandRequest) returns (CommandResponse) {}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message CommandRequest {
|
|
13
|
+
message Argument {
|
|
14
|
+
string name = 1;
|
|
15
|
+
Variant val = 2;
|
|
16
|
+
}
|
|
17
|
+
string command = 1;
|
|
18
|
+
repeated Argument args = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message CommandResponse {
|
|
22
|
+
Variant result = 1;
|
|
23
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
message ErrorDetails {
|
|
7
|
-
string exception_classname = 1;
|
|
8
|
-
string stack_trace = 2;
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
message ErrorDetails {
|
|
7
|
+
string exception_classname = 1;
|
|
8
|
+
string stack_trace = 2;
|
|
9
9
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
service OutputStream {
|
|
7
|
-
rpc BeginStdStreaming(StdStreamRequest) returns (stream StdStreamResponse) {}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
message StdStreamRequest {
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
message StdStreamResponse {
|
|
14
|
-
string text = 1;
|
|
15
|
-
}
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
service OutputStream {
|
|
7
|
+
rpc BeginStdStreaming(StdStreamRequest) returns (stream StdStreamResponse) {}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message StdStreamRequest {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message StdStreamResponse {
|
|
14
|
+
string text = 1;
|
|
15
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
service Process {
|
|
7
|
-
rpc Ping (PingRequest) returns (PingResponse) {}
|
|
8
|
-
rpc Quit (QuitRequest) returns (QuitResponse) {}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
message PingRequest {}
|
|
12
|
-
message PingResponse {}
|
|
13
|
-
|
|
14
|
-
message QuitRequest {}
|
|
15
|
-
message QuitResponse {}
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
service Process {
|
|
7
|
+
rpc Ping (PingRequest) returns (PingResponse) {}
|
|
8
|
+
rpc Quit (QuitRequest) returns (QuitResponse) {}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message PingRequest {}
|
|
12
|
+
message PingResponse {}
|
|
13
|
+
|
|
14
|
+
message QuitRequest {}
|
|
15
|
+
message QuitResponse {}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
service Solution {
|
|
7
|
-
rpc Solve (SolveRequest) returns (SolveResponse) {}
|
|
8
|
-
rpc Interrupt (InterruptRequest) returns (InterruptResponse) {}
|
|
9
|
-
rpc Abort (AbortRequest) returns (AbortResponse) {}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// Note that all responses are currently empty messages
|
|
13
|
-
// In particular no status info for solve is returned -
|
|
14
|
-
// failure or early termination of solve will be
|
|
15
|
-
// communicated by an exception as for commands
|
|
16
|
-
// via the Command service.
|
|
17
|
-
|
|
18
|
-
message SolveRequest {}
|
|
19
|
-
message SolveResponse {}
|
|
20
|
-
|
|
21
|
-
message InterruptRequest {
|
|
22
|
-
string reason = 1;
|
|
23
|
-
}
|
|
24
|
-
message InterruptResponse {}
|
|
25
|
-
|
|
26
|
-
message AbortRequest {
|
|
27
|
-
string reason = 1;
|
|
28
|
-
}
|
|
29
|
-
message AbortResponse {}
|
|
30
|
-
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
service Solution {
|
|
7
|
+
rpc Solve (SolveRequest) returns (SolveResponse) {}
|
|
8
|
+
rpc Interrupt (InterruptRequest) returns (InterruptResponse) {}
|
|
9
|
+
rpc Abort (AbortRequest) returns (AbortResponse) {}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Note that all responses are currently empty messages
|
|
13
|
+
// In particular no status info for solve is returned -
|
|
14
|
+
// failure or early termination of solve will be
|
|
15
|
+
// communicated by an exception as for commands
|
|
16
|
+
// via the Command service.
|
|
17
|
+
|
|
18
|
+
message SolveRequest {}
|
|
19
|
+
message SolveResponse {}
|
|
20
|
+
|
|
21
|
+
message InterruptRequest {
|
|
22
|
+
string reason = 1;
|
|
23
|
+
}
|
|
24
|
+
message InterruptResponse {}
|
|
25
|
+
|
|
26
|
+
message AbortRequest {
|
|
27
|
+
string reason = 1;
|
|
28
|
+
}
|
|
29
|
+
message AbortResponse {}
|
|
30
|
+
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package ansys.api.systemcoupling.v0;
|
|
5
|
-
|
|
6
|
-
enum NoneValue {
|
|
7
|
-
NONE_VALUE=0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
message StringVector {
|
|
11
|
-
repeated string item = 1;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
message DoubleVector {
|
|
15
|
-
repeated double item = 1;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message BoolVector {
|
|
19
|
-
repeated bool item = 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
message Int64Vector {
|
|
23
|
-
repeated sint64 item = 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message VariantMap {
|
|
27
|
-
map<string, Variant> item = 1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
message VariantVector {
|
|
31
|
-
repeated Variant item = 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message Variant {
|
|
35
|
-
oneof as {
|
|
36
|
-
NoneValue none_state = 1;
|
|
37
|
-
|
|
38
|
-
bool bool_state = 2;
|
|
39
|
-
sint64 int64_state = 3;
|
|
40
|
-
double double_state = 5;
|
|
41
|
-
string string_state = 6;
|
|
42
|
-
|
|
43
|
-
BoolVector bool_vector_state = 7;
|
|
44
|
-
Int64Vector int64_vector_state = 8;
|
|
45
|
-
DoubleVector double_vector_state = 9;
|
|
46
|
-
StringVector string_vector_state = 10;
|
|
47
|
-
VariantVector variant_vector_state = 11;
|
|
48
|
-
VariantMap variant_map_state = 12;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
1
|
+
// Copyright (C) 2023 ANSYS, Inc. and/or its affiliates.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package ansys.api.systemcoupling.v0;
|
|
5
|
+
|
|
6
|
+
enum NoneValue {
|
|
7
|
+
NONE_VALUE=0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message StringVector {
|
|
11
|
+
repeated string item = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message DoubleVector {
|
|
15
|
+
repeated double item = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message BoolVector {
|
|
19
|
+
repeated bool item = 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message Int64Vector {
|
|
23
|
+
repeated sint64 item = 1;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message VariantMap {
|
|
27
|
+
map<string, Variant> item = 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message VariantVector {
|
|
31
|
+
repeated Variant item = 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message Variant {
|
|
35
|
+
oneof as {
|
|
36
|
+
NoneValue none_state = 1;
|
|
37
|
+
|
|
38
|
+
bool bool_state = 2;
|
|
39
|
+
sint64 int64_state = 3;
|
|
40
|
+
double double_state = 5;
|
|
41
|
+
string string_state = 6;
|
|
42
|
+
|
|
43
|
+
BoolVector bool_vector_state = 7;
|
|
44
|
+
Int64Vector int64_vector_state = 8;
|
|
45
|
+
DoubleVector double_vector_state = 9;
|
|
46
|
+
StringVector string_vector_state = 10;
|
|
47
|
+
VariantVector variant_vector_state = 11;
|
|
48
|
+
VariantMap variant_map_state = 12;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -1,72 +1,84 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
2
|
-
Name: ansys-api-systemcoupling
|
|
3
|
-
Version: 0.1
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-systemcoupling, built on
|
|
5
|
-
Home-page: https://github.com/ansys/ansys-api-systemcoupling
|
|
6
|
-
Author: ANSYS, Inc.
|
|
7
|
-
Author-email: support@ansys.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Requires-Python: >=3.7
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
License-File: LICENSE
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
####
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ansys-api-systemcoupling
|
|
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
|
+
Home-page: https://github.com/ansys/ansys-api-systemcoupling
|
|
6
|
+
Author: ANSYS, Inc.
|
|
7
|
+
Author-email: support@ansys.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
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
|
|
24
|
+
|
|
25
|
+
### ansys-api-systemcoupling gRPC Interface Package
|
|
26
|
+
|
|
27
|
+
This Python package contains the auto-generated gRPC Python interface files for
|
|
28
|
+
System Coupling.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
#### Installation
|
|
32
|
+
|
|
33
|
+
Provided that these wheels have been published to public PyPI, they can be
|
|
34
|
+
installed with:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
pip install ansys-api-systemcoupling
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### Build
|
|
41
|
+
|
|
42
|
+
To build the gRPC packages, run:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
pip install build
|
|
46
|
+
python -m build
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
This will create both the source distribution containing just the protofiles
|
|
50
|
+
along with the wheel containing the protofiles and build Python interface
|
|
51
|
+
files.
|
|
52
|
+
|
|
53
|
+
Note that the interface files are identical regardless of the version of Python
|
|
54
|
+
used to generate them, but the last pre-built wheel for ``grpcio~=1.30`` was
|
|
55
|
+
Python 3.7, so to improve your build time, use Python 3.7 when building the
|
|
56
|
+
wheel.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
#### Manual Deployment
|
|
60
|
+
|
|
61
|
+
After building the packages, manually deploy them with:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
pip install twine
|
|
65
|
+
twine upload dist/*
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Note that this is automatically done through CI/CD.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
#### Automatic Deployment
|
|
72
|
+
|
|
73
|
+
This repository contains GitHub CI/CD that enables the automatic building of
|
|
74
|
+
source and wheel packages for these gRPC Python interface files. By default,
|
|
75
|
+
these are built on PRs, the main branch, and on tags when pushing. Artifacts
|
|
76
|
+
are uploaded for each PR.
|
|
77
|
+
|
|
78
|
+
To publicly release wheels to PyPI, ensure your branch is up-to-date and then
|
|
79
|
+
push tags. For example, for the version ``v0.5.0``.
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
git tag v0.5.0
|
|
83
|
+
git push --tags
|
|
84
|
+
```
|
|
@@ -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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|