Skip to main content

Source code for APIs for STEAM tools.

Project description

STEAM_SDK

Source code for STEAM SDK and various APIs. (Copyright © 2022, CERN, Switzerland. All rights reserved.)

Folders Structure

Alt text

User settings

Important: Before running the tests, make sure to set up your user settings.

  • The settings file must be located in the subfolder steam_sdk\tests
  • The file must be called settings.username.yaml, where username is your user name in the machine on which you are running the analysis. It is recommended to start by making a copy of the example settings.SYSTEM.yaml file.
  • Note: It is not recommended to change other settings files within this project (some files are generated by the software).

Documentation

https://steam-sdk.docs.cern.ch/

Installation

pip install steam-sdk

Test model library (steam_models submodule)

The magnet input models used by the tests live in the shared steam_models repository, included here as a git submodule at tests/_inputs_steam_models/ (magnets under tests/_inputs_steam_models/magnets/<MAGNET>/input/). It is pinned to a specific steam_models commit and configured as a shallow submodule (only the pinned revision is fetched, not the full history — steam_models is several GB).

First checkout — get the submodule

Clone with the submodule in one step:

git clone --recurse-submodules ssh://git@gitlab.cern.ch:7999/steam/steam_sdk.git

Already cloned without it? Initialise it (shallow):

git submodule update --init --recommend-shallow tests/_inputs_steam_models

PyCharm: on first opening a project with a submodule, PyCharm asks “Would you like to check out the submodules?” — click Yes. If dismissed, run Git ▸ Update Project… (Ctrl+T / ⌘T) and PyCharm checks the submodule out to the pinned commit.

Sync the submodule to the pinned commit

After pulling changes where someone moved the submodule pointer:

git submodule update --init --recommend-shallow tests/_inputs_steam_models

PyCharm: Git ▸ Update Project… (Ctrl+T / ⌘T) updates submodules to the pinned commit as part of the project update.

Update the submodule to the latest steam_models

To pull the newest magnet models (move the pin to the current steam_models master):

git submodule update --remote tests/_inputs_steam_models   # fetch steam_models master and check it out
git add steam_models                          # record the new pin in this repo
git commit -m "Bump steam_models submodule"

PyCharm: there is no one-click “advance submodule to latest” button — use the built-in Terminal (Alt+F12) for the commands above, or open steam_models/ as its own project, git pull there, then commit the moved pointer in this repo (Git ▸ Commit, then Git ▸ Push).

The submodule uses a relative URL (../steam_models.git), so it resolves over whatever transport you cloned this repo with (SSH for developers, HTTPS for CI) — no per-user URL tweaking.

Links

STEAM website: https://cern.ch/steam SDK section: https://steam.docs.cern.ch/tools/sdk/

Contact

steam-team@cern.ch

STEAM User Agreement

By using any software of the STEAM framework, users agree with this document: https://edms.cern.ch/document/2024516

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

steam_sdk-2026.7.3.tar.gz (488.2 kB view details)

Uploaded Source

Built Distribution

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

steam_sdk-2026.7.3-py3-none-any.whl (779.7 kB view details)

Uploaded Python 3

File details

Details for the file steam_sdk-2026.7.3.tar.gz.

File metadata

  • Download URL: steam_sdk-2026.7.3.tar.gz
  • Upload date:
  • Size: 488.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for steam_sdk-2026.7.3.tar.gz
Algorithm Hash digest
SHA256 b8f08b67c748c74f1ca2546a8e5c02dc51d420fc184e826516d29cf46ccad3a4
MD5 c9e92ee0c59bfa927b1ba25a53a62e58
BLAKE2b-256 b4c3f45410b44793a757d6100bac4e824f081666270752e392d7130e3ce43f44

See more details on using hashes here.

File details

Details for the file steam_sdk-2026.7.3-py3-none-any.whl.

File metadata

  • Download URL: steam_sdk-2026.7.3-py3-none-any.whl
  • Upload date:
  • Size: 779.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for steam_sdk-2026.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6397301b445573750ce698ac5377f915d83060933fd05fa57c17e87fa41aac8a
MD5 62c9186047ac4a7b407d0550a8ca8e6f
BLAKE2b-256 2941bc57ae4a473f302e81a91c2757735e4e8a892da23ff3ce5ead10c00a80cd

See more details on using hashes here.

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