Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0rc3

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.0rc3
File Size Uploaded Provenance Actions
madsci_experiment_application-0.5.0rc3.tar.gz 10.8 kB Without provenance Details for madsci_experiment_application-0.5.0rc3.tar.gz

Built distribution (wheel)

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

Total release size: 17.0 kB

Release files / madsci_experiment_application-0.5.0rc3.tar.gz

Download URL madsci_experiment_application-0.5.0rc3.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
147497bb4c88640afc770ee524fcd825bc46781d048b4ee1c826f7cfc801e14e
BLAKE2b-256 checksum
How to use checksums
f91ae3abc89ed6c64b1dc152af1002db81cf327f81c703cd5150448d2c37e8f3
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.0rc3-py3-none-any.whl

Download URL madsci_experiment_application-0.5.0rc3-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86396221f69e7325ec85302e6f59757e09e7fa9d1a6264c7b132fb6353be8200
BLAKE2b-256 checksum
How to use checksums
9a7546bb8bb72a72861861783ff85b60822dcf92b1e47233bbbfd53cd1bee96c
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.0rc3

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