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.1-cp314-cp314-win_amd64.whl (5.4 MB view details)

Uploaded CPython 3.14Windows x86-64

imas_core-5.7.1-cp314-cp314-manylinux_2_28_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

imas_core-5.7.1-cp314-cp314-macosx_14_0_arm64.whl (14.0 MB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

imas_core-5.7.1-cp313-cp313-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.13Windows x86-64

imas_core-5.7.1-cp313-cp313-manylinux_2_28_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

imas_core-5.7.1-cp313-cp313-macosx_14_0_arm64.whl (14.0 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

imas_core-5.7.1-cp312-cp312-win_amd64.whl (5.1 MB view details)

Uploaded CPython 3.12Windows x86-64

imas_core-5.7.1-cp312-cp312-manylinux_2_28_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

imas_core-5.7.1-cp312-cp312-macosx_14_0_arm64.whl (14.0 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

imas_core-5.7.1-cp311-cp311-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.11Windows x86-64

imas_core-5.7.1-cp311-cp311-manylinux_2_28_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

imas_core-5.7.1-cp311-cp311-macosx_14_0_arm64.whl (14.0 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

imas_core-5.7.1-cp310-cp310-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.10Windows x86-64

imas_core-5.7.1-cp310-cp310-manylinux_2_28_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

imas_core-5.7.1-cp310-cp310-macosx_14_0_arm64.whl (14.0 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: imas_core-5.7.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 5.4 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.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4c48e2d260f47733994edf6a3e4130803204247795aa22f09c02eefaa3037cc4
MD5 4e9f62c6e7d6ab423dad03cc4c71fefa
BLAKE2b-256 b8dc1e0a9eb11779dc7985ff75f03baa2e0d3060fbb6d64e4271f65093592501

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 095164d0217fe616b3f6e3a336c6cfbcc6f096ae1bb2d49908f2f5cab4cdc75a
MD5 b95ef8440a05475d56a4adcf1463362a
BLAKE2b-256 235cd5cd7048c277ed12e93629ba50aa21e701c2b7e416705be344a41fcce24a

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aaa0f69b0f080b945787acf3a7006b87ee4410c711a2aab4429c2d45f3cf369a
MD5 4874de6a39a6405bcaf2065d4baf67d0
BLAKE2b-256 724ad6eb010b70f275ac1abcf233e00a9964cc88bd9f8b87a44e2194cd319795

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 5.0 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.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7ce91409db41d6edd36980d02496fbe07ba291ce7a0e2e6489cece9050a37603
MD5 44ef7bab5c6a90db72c38b735992f99a
BLAKE2b-256 fe27775d7b70b42347973242b54976f26df9cc8aa345b31cd2f26dfbe84307cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a96d46da6406f16288548f145bd53f5836aa101a8b24f4d01d27876fcb8e5cc5
MD5 5d1e30f9d807131a8df9f8731b5252ef
BLAKE2b-256 0adfd5270dd34b8ba59d2d11933a6bbb9e328a0a9ca07eb0b540fa124639efcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ed62ff23b27f728eb0aac96bf3bdc8d941beaf731afbccbfc83ab150b75b4f17
MD5 70eac41fd2ce2ca4d4979bffe9bf06a2
BLAKE2b-256 42f64c8f8239b0922d2fe667cf021d043f02425e426289feab0f1328a644cb4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 5.1 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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 464751dc483a33ab7d7b4ad802614f50c13538c8dabbce93aaafdee622882bef
MD5 c4b95e25bedc9ccd6759cf6c697a8d2e
BLAKE2b-256 a1b9e6b7f068467e9ec42e399e1302fff7e1e2b3c5279848b2a844daad37ac5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 17b9ca4bddadd7368b844bb8e6c9286faa7ffa6ee6c1758a9aef1c4734fea4ef
MD5 ee53f56fc5a450673b257526e75d1fa0
BLAKE2b-256 ed1f368efbf83651abf3f8be5993edccc6a8a20a62a02b5cf838212ef514a282

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e19f6f69e05829804c22e11898017f38d8f1867afe6375136942be094cc25114
MD5 190d6e7e7056c3432ecdb39351f53e44
BLAKE2b-256 664221a2daa0b4c3e2eabbcabece09669693320a09cb9dbd7e727a86df0a9098

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 4.8 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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 462d489c0ade85f105d7316b5618e7dd08f2a4600834dac334599f3aa2bdbaf5
MD5 ee4fb890995c4bca1d10acb707376a4d
BLAKE2b-256 6b68eaf7e0341c310b15312b09b798871746c1cdd94d981e759a9099fcb9fd1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f02aebdcfc3ac31ab4e6d481a76cc74a5f8afe9de438e92e32e2c0fec58714d1
MD5 d005b4d78590faf4f63e119f9846d02d
BLAKE2b-256 cafdfa921a6002b80bd49ce8a094cd1bbd4129fb1d83f6209bb98f9a97784324

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 995e42b24d8e7ea8ccc31b9de2c670d12af5f94d7062f7f5ca8a372ace27ec30
MD5 34122b023691de7def4431ea68b141c8
BLAKE2b-256 f15728f2af2fbdb73ef72f972b66248e8c1157c8db81caab4a924546a6fed5f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: imas_core-5.7.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 4.5 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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c71c48e7f0147608dd745ec7774bfa7f51407e3d61d65cf219e2ee0d710618fc
MD5 47c6f63c0df878f9be32d1a52f9444c7
BLAKE2b-256 eb8492255d7ccb92f2e209fffcab15109a88221f78d8b75f4704e1af5423c134

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f666330ede5a9afce76542864230f1004f4788220baca003dcbc3f2c73225a5
MD5 53bace4bc91fe8e166948577c49a70fb
BLAKE2b-256 47abcb68a9456469f01a942e1cfe9f049b7f3093917bfcac0ae84310cd2c9077

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for imas_core-5.7.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 479f8e9787842fd990462598e2b5aaee19adfda59ad69fe91df43b311fdf7f8e
MD5 d358a08047977c1dbbc7731be1977975
BLAKE2b-256 fd8bfd5dbddcc152e05e62fcf17ef035a3c18c45136236be51f32254e86988c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for imas_core-5.7.1-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