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.0.3rc1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

pylife_odbserver-2.0.3rc1-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pylife-odbserver-2.0.3rc1.tar.gz.

File metadata

  • Download URL: pylife-odbserver-2.0.3rc1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pylife-odbserver-2.0.3rc1.tar.gz
Algorithm Hash digest
SHA256 a01041bf860baa827f2937b76fe6e578cd6469fbf65f96f41cf0fafe3c4c683f
MD5 074f423f8faa4c934d9896810e90767d
BLAKE2b-256 c1e71502b92d760d7570bfff9f3a7e0e1b157bb4f73ad1ab3205180361d6d1ff

See more details on using hashes here.

File details

Details for the file pylife_odbserver-2.0.3rc1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pylife_odbserver-2.0.3rc1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0afabadc4ee671eb35b5fa1364079ccdc5154c4d6cf2cd9643da417a5ad50f0
MD5 2621d034208adb66be645aff198a5d81
BLAKE2b-256 a79d274a0acd9d1c6939f7f540dd248e740b4afee6d9a292c4d009c71ae25251

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