Skip to main content

Python bindings to the IMAS Access Layer core

Project description

IMAS-Core

Build Open Issues License: LGPL-3.0

IMAS-Core is a lowlevel library with Python bindings for reading and writing fusion experiment data in standard IMAS format.

It provides easy access to data stored in HDF5, MDSplus, and other formats, making it simple to work with fusion physics data across platforms (Linux, macOS, Windows).

This repository contains the Lowlevel components of the Access Layer:

  • C lowlevel interface used by the various High Level Interfaces
  • Python bindings to the lowlevel interface
  • Backends for reading and writing IMAS data
  • MDS+ model logic for creating the models required by the MDS+ backend

Installation Options

For Python Users

# Install from PyPI
pip install imas-core

# Verify installation
python -c "import imas; print(imas.__version__)"

For Developers

To build IMAS-Core from source:

git clone https://github.com/iterorganization/IMAS-Core.git
cd IMAS-Core
cmake -Bbuild -GNinja -DAL_PYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX="$(pwd)/test-install"
cmake --build build --target install

See Developer Guide for build instructions.

Using IMAS-Core with High-Level Languages

When IMAS-Core is built and installed via CMake, it installs:

  • C/C++ Libraries (libal.so) with full headers
  • Python Bindings (imas_core Python package)
  • Fortran Support via pkg-config configuration
  • Java Support via imas.jar
  • MATLAB Support via MEX bindings
  • Models for MDSplus backend access

After installation, configure your environment:

export PATH="/path/to/install/bin:$PATH"
export LD_LIBRARY_PATH="/path/to/install/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/path/to/install/lib/pkgconfig:$PKG_CONFIG_PATH"
export HDF5_USE_FILE_LOCKING=FALSE
export PYTHONPATH="/path/to/install/lib/pythonX.X/site-packages:$PYTHONPATH"

Then use IMAS-Core from the required language:

  • Python: import imas (see examples above)
  • C/C++: Link against libal.so with provided headers
  • Fortran: Use pkg-config to get compiler flags
  • Java: Use imas.jar in your classpath
  • MATLAB: Add MEX directory to MATLAB path

See Building from Source for detailed build instructions.

Documentation

Available Backends

IMAS-Core supports these storage backends:

Backend Use Case Remote File-based
HDF5 Default, local storage No Yes
MDSplus ITER experiments Yes No
UDA Distributed access Yes No
Memory Testing No No
FlexBuffers Message passing No Yes
ASCII Debugging No Yes

Help

Links

License

IMAS-Core is released under the LGPL-3.0 License

Support

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

imas_core-5.7.0-cp314-cp314-win_amd64.whl (6.1 MB view details)

Uploaded CPython 3.14Windows x86-64

imas_core-5.7.0-cp314-cp314-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

imas_core-5.7.0-cp314-cp314-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

imas_core-5.7.0-cp313-cp313-win_amd64.whl (5.7 MB view details)

Uploaded CPython 3.13Windows x86-64

imas_core-5.7.0-cp313-cp313-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

imas_core-5.7.0-cp313-cp313-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

imas_core-5.7.0-cp312-cp312-win_amd64.whl (5.7 MB view details)

Uploaded CPython 3.12Windows x86-64

imas_core-5.7.0-cp312-cp312-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

imas_core-5.7.0-cp312-cp312-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

imas_core-5.7.0-cp311-cp311-win_amd64.whl (5.5 MB view details)

Uploaded CPython 3.11Windows x86-64

imas_core-5.7.0-cp311-cp311-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

imas_core-5.7.0-cp311-cp311-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

imas_core-5.7.0-cp310-cp310-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.10Windows x86-64

imas_core-5.7.0-cp310-cp310-manylinux_2_28_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

imas_core-5.7.0-cp310-cp310-macosx_14_0_arm64.whl (14.6 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file imas_core-5.7.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imas_core-5.7.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f2fb676b9e5b6e260f93f084aa44e8803f2697ce2f280e54aa4aa0a75a88f7e6
MD5 7c5138cc89fd3f509cc84ea8bee2f3fd
BLAKE2b-256 ef203a4cfa2e17927785ea8d2e367ec583eb34a6ee81e97c21001de34cdc0fc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp314-cp314-win_amd64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4264e8445ef219d82488a6c4de42b36754bb2a8c36a6b203a516106948084c3f
MD5 4b92324b27e07a68d823da1238151c93
BLAKE2b-256 c158aec9e54ab5c2aa07b35d6445fbafbbe152273991d3b8fa3958bd3e0f0b91

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f6945ed23931fa483d644280fa9988f6ec6ee414dc72ba2251ae08cd06fbf172
MD5 cb6e866825476675b186313afc7f9af1
BLAKE2b-256 8da891bef28599154716a0d917d4b409635c7ce16e0a95dcc96c7f67da336cf2

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp314-cp314-macosx_14_0_arm64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imas_core-5.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 383d94dc2b717939fd12a7b6c90687dd69607bed009847334e0873c367518d54
MD5 6b8b9712c09868dc9c0e5641f2e54c5a
BLAKE2b-256 031029fdbdc0ccc9f717c5c674e231986fba20cd104b2a76a118b3fa4b01b870

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c06d73b8da566cd5d86a04326aec1950d283e58111548c06588d964fe093a742
MD5 61b3dcaede403796711ae09769d3b00d
BLAKE2b-256 c88c2b75225b2e08e5f7f7ae218b0e8973cef17f57ba947d23f1bbdf44b2ac3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fbd243b588e1c17fb497218ecf3f6960d7986041d2df8d1213275280fc9fa843
MD5 77aea1a87c4d00facf2bc216e637890a
BLAKE2b-256 aa342dfea3b99bddc1306f7b38777dabddcc07bf9ea2c9fe601d6bd577cf9a68

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.7 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imas_core-5.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b72a94d84f6602b4a3c4117bc5bdcd23071963a1549ac81130eeef5c6355692a
MD5 f764b0f21cc2c9ba1eea93bd43281940
BLAKE2b-256 42949641f67de47da9ed5a8da2f1bc56ab7a9b5e02f2558f43df267f597c1829

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b5522586cdee6f70b19f6f5d854aa315202acbf4183edefea7caba0dc6c2199
MD5 6330d5b22ec3dd73255aa7298a859a25
BLAKE2b-256 d9d4aa1656d282b69c555ac400fb1c278f39e1292da32d60fdca0d7f727e8ea7

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 08a704712ff66980e5fe635b2e3f49c15905983e27e74207795589722b173e3d
MD5 68ad60bd09d5e66f3cfc57773912c1ae
BLAKE2b-256 8468930e68d96cbe6ecf353e3c2c9e673efcaa9d032774da96e11d88f6fc8621

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imas_core-5.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e67c709b42bd2e1c6185ff9684e39b2581ab9ac1e4146600a2bf0db09e19a9ee
MD5 33a96acc1f2ffa8cebacffe9a28ceabb
BLAKE2b-256 3f25f5ce8867f88271eebe35c2289b797068f5d0cbb4d50860e7cd29cc115542

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1ef0fdb8896e4ba40935a234e29658bff8888fd6e2f70c0df55f2f7855dfa953
MD5 6209886b63e8a10ad7abe50350885517
BLAKE2b-256 b8a0699619d1b8fc1b9c3e20f24a7e738afc2a827a9affb0347625d01a8875f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 af031b15e195afa1c84d5e7c745e2b3cbcc4f84cdcc45fc576c76665535b3f22
MD5 2dc06a539df6ed532c08dae795596517
BLAKE2b-256 c586cc632e060e2dc0f3bd35e68c1b0949c98ac26108a6a0b8ca3d695dec20d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 5.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imas_core-5.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5a8e4d5db9b74f2a21ed0adebbc7d950865c3ff3db41be20776d4430c5b8e5e0
MD5 f55c847e79b1deef9bd97e92912389df
BLAKE2b-256 022e91b4eb04dace06a5fc988d97c3675db1ec357edc9eb6c26df3850419a541

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d5ed8a53aca9acefc5a39a3a55bc72dccd27af536ec87ab9e4c55f97db449668
MD5 75baf1e9e97acfc800db3b1b15d2cef1
BLAKE2b-256 dfeb8bccce42a8deda9b7afa9d249ae2c9a7da19a40c75d01a8cc286df6174cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imas_core-5.7.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7848631026e758930428ebbec819e8e2d7f02b3eb8c5aa397bf517d062f64024
MD5 dbdd9407589ca15062ca7443db544cb0
BLAKE2b-256 13eea46dfe01f24efe66cb4ee834bff1d7216ad420fcca25460bc8eca0ec96b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.0-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: wheels.yml on iterorganization/IMAS-Core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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