Skip to main content

Helper utilities for eexp_engine - supporting ProActive and Kubeflow execution environments

Project description

eexp_engine_utils

Helper utilities for the ExtremeXP Experimentation Engine that automatically adapt to different execution environments (Kubeflow, ProActive, Local).

Overview

This package provides a transparent proxy that automatically routes function calls to the appropriate implementation based on your execution environment. No more manual environment checking or conditional imports!

Installation

pip install eexp_engine_utils

Quick Start

from eexp_engine_utils import utils

# Load a dataset
data = utils.load_dataset(variables, resultMap, "input_data")

# Process your data
processed_data = your_processing_function(data)

# Save the result
utils.save_dataset(variables, resultMap, "output_data", processed_data)

That's it! The utils proxy automatically detects your execution environment and routes calls to the correct implementation.

Available Functions

Dataset Management

  • load_dataset(variables, resultMap, key) - Load a single dataset
  • load_datasets(variables, resultMap, key) - Load multiple datasets
  • save_dataset(variables, resultMap, key, value) - Save a single dataset
  • save_datasets(variables, resultMap, key, values, file_names) - Save multiple datasets

Helpers

  • get_experiment_results(variables) - Get experiment results
  • load_dataset_by_path(file_path) - Load from specific path
  • load_pickled_dataset_by_path(file_path) - Load pickled data

Requirements

  • Python >= 3.8
  • requests >= 2.25.0
  • fsspec >= 2021.0.0
  • s3fs >= 2021.0.0
  • minio >= 7.0.0

License

Apache License 2.0

Links

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

eexp_engine_utils-1.0.3.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

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

eexp_engine_utils-1.0.3-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file eexp_engine_utils-1.0.3.tar.gz.

File metadata

  • Download URL: eexp_engine_utils-1.0.3.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for eexp_engine_utils-1.0.3.tar.gz
Algorithm Hash digest
SHA256 933fbce378a91e1c6b0670235883ef2ed6a54df41f0a6a38d1846ded4b703fd0
MD5 d1c7a80953896b250547693f126b3b63
BLAKE2b-256 bd765b4b436072d3f390ee828b4ee20be38d28da4ae42004043656f2e7e0e7ef

See more details on using hashes here.

File details

Details for the file eexp_engine_utils-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for eexp_engine_utils-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8e8e79a48f2b4d0825aebc79b7cb8e31957331906fe84a3d5053575b1d58c987
MD5 b54fc29fdbe5ded849f8c11a3a2424d6
BLAKE2b-256 09fb8e7e1420d9cc865162dc0d8fd3e333ff843e391e170353c56576ea4cf283

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