Skip to main content

pylife-odbserver

A server for odbAccess to be accessed by pylife-odbclient

Purpose

Unfortunately Abaqus usually comes with an outdated python engine. So you can't access an Abaqus odb file from within modern python code using the latest packages. This python package is the client part of a client server setup to make odb files accessible from within python code using a current python version in a transparent way.

Solution

This package provides a slim server that as python software that is running with old python versions of Abaqus (even 2.7), 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
    

    Instead of 2.7 you must choose the python version of your abaqus version. You can find it out using

    abaqus python --version
    
  • Run

    pip install pylife-odbserver
    
  • Set environment variables (optional)

    The odbclient will look for your Abaqus binary in

    • C:/Program Files/SIMULIA/<release_year>/EstProducts/win_b64/code/bin/SMALauncher.exe

    and for the above Python environment in:

    • <repo_root>/.venv-odbserver
    • C:/Users/<yourname>/.conda/envs/odbserver
    • C:/Users/<yourname>/.virtualenvs/odbserver

    If your paths are different, you must either specify them each time you run the odbclient, or you can set them as environment variables as follows:

    [Environment]::SetEnvironmentVariable("ODBSERVER_ABAQUS_BIN", "<absolute/path/to/your/abq.exe>", "User")
    [Environment]::SetEnvironmentVariable("ODBSERVER_PYTHON_ENV_PATH", "<absolute/path/to/the/above/python/env>", "User")
    

    You can check the above with:

    [Environment]::GetEnvironmentVariable("ODBSERVER_ABAQUS_BIN", "User")
    [Environment]::GetEnvironmentVariable("ODBSERVER_PYTHON_ENV_PATH", "User")
    
  • See the instructions in pylife-odbclient on how to install the client.

Release files for pylife-odbserver 2.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylife-odbserver 2.3.1
File Size Uploaded
pylife_odbserver-2.3.1.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylife-odbserver 2.3.1
File Interpreter ABI Platform
pylife_odbserver-2.3.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 25.8 kB

Release files / pylife_odbserver-2.3.1.tar.gz

Download URL pylife_odbserver-2.3.1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
15f3c6c8ec4f7562d6d2109edc3e3fdb67f6c10d0aa4db68a06175109c0014d6
BLAKE2b-256 checksum
How to use checksums
09b65513ac0dd06165879519fe69c04e33f6cd7628efbf8c6ddb9470cfdadc5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.

Transparency log

Release files / pylife_odbserver-2.3.1-py2.py3-none-any.whl

Download URL pylife_odbserver-2.3.1-py2.py3-none-any.whl
Size 12.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fb823f941d1b64653b649d8306eb27ef2a4a9ca6c0ef0e6cfb17dcb23a565fef
BLAKE2b-256 checksum
How to use checksums
fa50a7a14150b1e2b465c9b12aa55bcb94283fb01fd7f68c791fa89154f74011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.3.1 This release

2 release files

2.3.0

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page