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

As of now there is no released version of pylife-odbserver, same for pylife-odbclient. Therefore there are some manual steps required.

  • Clone the pyLife repository.

  • Change to the directory tools/odbserver

  • Create and activate a plain python-2.7 environment without additional packages.

  • Run pip install -e .

  • See the instructions in pylife-odbclient on how to install the client.

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.0a4.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

pylife_odbserver-2.0.0a4-py2.py3-none-any.whl (10.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pylife-odbserver-2.0.0a4.tar.gz.

File metadata

  • Download URL: pylife-odbserver-2.0.0a4.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pylife-odbserver-2.0.0a4.tar.gz
Algorithm Hash digest
SHA256 3c5a1ff8d1d84b6664c734ac3c24a4b546dd29ac8a99b98c53353250b9d42e17
MD5 c696e81d7728ae4d00019f2d61798ef5
BLAKE2b-256 35e098dcf4c36048a12b86c1dae9c795020fad04f9537073d3930239b9e755da

See more details on using hashes here.

File details

Details for the file pylife_odbserver-2.0.0a4-py2.py3-none-any.whl.

File metadata

  • Download URL: pylife_odbserver-2.0.0a4-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for pylife_odbserver-2.0.0a4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f36e1e9a6332bd2a71733c4c6d9cde73bf59961cef3c04a637d918f58fd0c221
MD5 cca873e7076eccebceabdbb0fc58d92f
BLAKE2b-256 28f91d1e878360267726d300474dd9118cc46efc62cef5af72ac8b5e6b484294

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