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.1

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.1
File Size Uploaded Provenance Actions
madsci_experiment_application-0.5.1.tar.gz 10.7 kB Without provenance Details for madsci_experiment_application-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 17.0 kB

Release files / madsci_experiment_application-0.5.1.tar.gz

Download URL madsci_experiment_application-0.5.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1d332d613e4ab7da34d97ff4e4eeb7215e42a3c8dc86cf23fb79d7f7f85ac2b5
BLAKE2b-256 checksum
How to use checksums
fb85a77a27e284ae0efde3510e3a7ef0c1ab0ffc77a845c014aa8266c338497d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.26.1 CPython/3.9.24 Linux/6.11.0-1018-azure

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

Download URL madsci_experiment_application-0.5.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e45fa4ebd0bb4b1abd489cfef4083a9285f600d1f92b64878985c6c74996093
BLAKE2b-256 checksum
How to use checksums
786ab1b70c0b1447db0000ff9bfc6aabb99eb267565f02eba6185810ce079146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.26.1 CPython/3.9.24 Linux/6.11.0-1018-azure

Security for madsci.experiment_application 0.5.1

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