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.2.0a1.tar.gz
.
File metadata
- Download URL: pylife-odbserver-2.2.0a1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eccc07faa196bba76b567e3e93e7a64001e1389bef6d23aa01fe3b14c7c7b9d4 |
|
MD5 | 05b96c0c029240ee18a4a81b6314f860 |
|
BLAKE2b-256 | 0a7f220ea425721fa04aeddc0ef68cdf7e500ea488ef5ddf27e2de63d04d4a3e |
File details
Details for the file pylife_odbserver-2.2.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: pylife_odbserver-2.2.0a1-py2.py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbc84dd699dcec5d52118cbedc4bee0f7058bb4701bb8b5c5740bf664d616e30 |
|
MD5 | f8fb5d632ddd708c1cbd2f1859a58c70 |
|
BLAKE2b-256 | 9f3079d98de6b953c5e73fe87c848017ecfedd76aa5660b7a248a3468ca24058 |