Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylife_odbserver-2.1.1a1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

pylife_odbserver-2.1.1a1-py2.py3-none-any.whl (11.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pylife_odbserver-2.1.1a1.tar.gz.

File metadata

  • Download URL: pylife_odbserver-2.1.1a1.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pylife_odbserver-2.1.1a1.tar.gz
Algorithm Hash digest
SHA256 869b18419147e3972d338e403d9bde38c526ff69747b9b888242318a0e41f953
MD5 68a99da0774f798aa13d824d8e52b665
BLAKE2b-256 215f2eee154db400149377f9602615b9689c7fa05a78bb21da996c58ad19537e

See more details on using hashes here.

File details

Details for the file pylife_odbserver-2.1.1a1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pylife_odbserver-2.1.1a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 497b65529a588052cee48b917c8c90810d283a137a0e3c51cc4d60f5a1dcc943
MD5 23f517bf656832ab7a74b79e0cabc2b6
BLAKE2b-256 bfcf45e26b1008997fcb24d73d6c1f723913c2ea207b574cffc13780c787de37

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page