Skip to main content

MADSci Experiment Application

The MADSci Experiment Application provides a framework for creating and managing scientific experiments within the MADSci ecosystem.

Overview

The ExperimentApplication class serves as a base class for creating experiment applications that can:

  • Manage experiment lifecycle (start, pause, cancel, end)
  • Interact with MADSci manager services (experiment, data, resource, workcell, event)
  • Handle experiment conditions and resource validation
  • Operate in both standalone and server modes

Key Features

  • Experiment Management: Start, pause, resume, cancel, and end experiments
  • Resource Validation: Evaluate resource conditions before experiment execution
  • Event Logging: Integrated logging through the event management system
  • Context Management: Automatic experiment context handling
  • Server Mode: Can operate as a REST node for remote experiment execution

Dependencies

  • madsci.common: Shared types and utilities
  • madsci.client: Client libraries for MADSci services
  • madsci.node_module: Node framework for REST endpoints

Usage

from madsci.experiment_application import ExperimentApplication

# Create an experiment application
app = ExperimentApplication(
    experiment_design=my_experiment_design,
    experiment_server_url="http://localhost:8002"
)

# Start and manage an experiment
with app.manage_experiment(run_name="My Experiment"):
    # Your experiment code here
    pass

Configuration

The application can be configured through environment variables, TOML files, or direct instantiation:

  • Environment prefix: EXPERIMENT_
  • Config files: experiment.env, experiment.settings.toml, etc.

Metadata

Release files for madsci.experiment_application 0.5.0

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

Source distribution (sdist)

Source distribution for madsci.experiment_application 0.5.0
File Size Uploaded Provenance Actions
madsci_experiment_application-0.5.0.tar.gz 10.7 kB Without provenance Details for madsci_experiment_application-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for madsci.experiment_application 0.5.0
File Interpreter ABI Platform Actions
madsci_experiment_application-0.5.0-py3-none-any.whl Python 3 none any Details for madsci_experiment_application-0.5.0-py3-none-any.whl

Total release size: 17.0 kB

Release files / madsci_experiment_application-0.5.0.tar.gz

Download URL madsci_experiment_application-0.5.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
58f4e595dfd6a26fef2394a36e9f70be40b7eb32e30ed58521154fc4ad75e4e0
BLAKE2b-256 checksum
How to use checksums
a199e7a31cf5a7f21d1ada981c0f9258d0301cf9343c0567ab36a8814d14426b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.26.0 CPython/3.9.23 Linux/6.11.0-1018-azure

Release files / madsci_experiment_application-0.5.0-py3-none-any.whl

Download URL madsci_experiment_application-0.5.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92612ca9e1aa9f8fb1237154358c38768b742f0c7ef19ce75f822b31a40ceeaf
BLAKE2b-256 checksum
How to use checksums
46f80d012158153dc9b6cdacceb8ce77fc7daf327bf06ef7163c5294b61dc8e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.26.0 CPython/3.9.23 Linux/6.11.0-1018-azure

Security for madsci.experiment_application 0.5.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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