generated from ansys/template
-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Feat/add local launcher #454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 44 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
c043605
add speos rpc launcher for local execution
StefanThoene dfeb48a
add speos rpc launcher for local execution
StefanThoene d0c90b3
add speos rpc launcher for local execution
StefanThoene 056186f
add speos rpc launcher for local execution
StefanThoene 0a0fccf
add speos rpc launcher for local execution
StefanThoene e90c237
move to ansys tools path pacjage
StefanThoene e9ea54f
remove Path from requirments and switch to inbuild pathlib
StefanThoene 1a98126
adjust docstring
StefanThoene 03e78ef
adjust docstring
StefanThoene 6f79019
adjust docstring
StefanThoene ede5986
Merge branch 'main' into feat/add-local-launcher
StefanThoene 15a48c4
merge main
StefanThoene b5faf6a
remove try kill instance
StefanThoene b744de7
remove try kill instance
StefanThoene 24b90d7
adjust close and test
StefanThoene 2eae017
add psutil to test req
StefanThoene 781eb7f
add psutil to test req
StefanThoene a7b5268
fix Path(None) issue on test
StefanThoene 4a00b41
fix Path(None) issue on test
StefanThoene 6602d2e
Merge branch 'main' into feat/add-local-launcher
StefanThoene af1097e
adjust test to only test on windows
StefanThoene ed28bae
adjust test to only test on windows
StefanThoene 9a03cd5
adjust test to only test on windows
StefanThoene 94c6c6f
Merge branch 'main' into feat/add-local-launcher
StefanThoene aa03f05
improve code coverage
StefanThoene d5ce90d
fix test issue
StefanThoene 1703727
avoid error
StefanThoene 99d3c1a
avoid error
StefanThoene a59737a
improve test
StefanThoene b60b24b
chore: adding changelog file 454.added.md [dependabot-skip]
pyansys-ci-bot 21a908e
improve test
StefanThoene 67a1c5c
fix unit test for Speos launcher
StefanThoene bb1a02d
improve unit test
StefanThoene 2e756b7
improve unit test
StefanThoene b98662b
improve unit test
StefanThoene 4529c22
fix issue with close
StefanThoene 05f08e5
fix issue with close
StefanThoene 9c97efc
improve coverage by created function for closed connection error
StefanThoene de17dbc
move install not found error to general methods for reuse
StefanThoene d81ac41
Merge branch 'main' into feat/add-local-launcher
StefanThoene 2273299
adjust code based on code review
StefanThoene 14dc7b3
adjust code based on code review
StefanThoene 2b40e04
fix circular import and side effects
StefanThoene d1fe2c6
Merge branch 'main' into feat/add-local-launcher
StefanThoene 89fdaf3
implment adjustment based on code review
StefanThoene 045ff8e
Apply suggestions from code review
StefanThoene aeadbef
Merge branch 'main' into feat/add-local-launcher
StefanThoene c5583ef
Update src/ansys/speos/core/kernel/client.py
StefanThoene 82afa35
Merge branch 'main' into feat/add-local-launcher
StefanThoene 6938d3d
Merge branch 'main' into feat/add-local-launcher
StefanThoene 2a4c0f8
Merge branch 'main' into feat/add-local-launcher
StefanThoene File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Feat/add local launcher |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright (C) 2021 - 2025 ANSYS, Inc. and/or its affiliates. | ||
# SPDX-License-Identifier: MIT | ||
# | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in all | ||
# copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
# SOFTWARE. | ||
|
||
"""Collection of all constants used in pySpeos.""" | ||
|
||
import os | ||
|
||
DEFAULT_HOST = "localhost" | ||
"""Default host used by Speos RPC server and client """ | ||
DEFAULT_PORT = "50098" | ||
"""Default port used by Speos RPC server and client """ | ||
LATEST_VERSION = "251" | ||
"""Latest supported Speos version of the current PySpeos Package""" | ||
MAX_MESSAGE_LENGTH = int(os.environ.get("SPEOS_MAX_MESSAGE_LENGTH", 256 * 1024**2)) | ||
"""Maximum message length value accepted by the Speos RPC server, | ||
By default, value stored in environment variable SPEOS_MAX_MESSAGE_LENGTH or 268 435 456. | ||
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.