A server for odbAccess to be acessed by pylife-odbclient
Project description
pylife-odbserver
A server for odbAccess to be accessed by pylife-odbclient
Purpose
Unfortunately Abaqus still comes with a python-2.x engine. So you can't access an Abaqus odb file from within modern python code. This python package is the client part of a client server setup to make odb files accessible from within python-3.x code in a transparent way.
Solution
This package provides a slim server that as python-2.7 software, that can be
run inside the Abaqus python engine. It accepts command via sys.stdin
and
according to the command is querying data from the odbAccess
interface and
returning them in a pickle object.
The sibling package pylife-odbclient
comes with a python class OdbClient
that spawns the server in the background when an instance of OdbClient
is
instantiated. Then the client object can be used to transparently access data
from the odb file via the server. Once the client object goes out of scope
i.e. is deleted, the server process is stopped automatically.
Installation
- Create and activate a plain python-2.7 environment without additional packages. For example by
conda create -n odbserver python=2.7 pip
- Run
pip install pylife-odbserver
- See the instructions in
pylife-odbclient
on how to install the client.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylife_odbserver-2.1.3.tar.gz
.
File metadata
- Download URL: pylife_odbserver-2.1.3.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84174777ca94a62c9d27f5082568a5004e45e2f76e535d32a7b8bbec6d1d43c4 |
|
MD5 | 71f3bb2401c5a59b4261f76733eb76ef |
|
BLAKE2b-256 | fb24c28d894e065b0af1fbcd507b05a48eb6a3a71c42c513fab9efc2a5e7282f |
File details
Details for the file pylife_odbserver-2.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: pylife_odbserver-2.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896db518a9adfc253040f1584c80b1392cf672ebc73b9c461f792cc8afa6476a |
|
MD5 | fd071ed7fb8beab9240f61a799b07205 |
|
BLAKE2b-256 | 63543ee8f1fb37d5c67ee075946a86aa7220d30b544c05db1a36717938dd3877 |