Skip to main content

The Modular Autonomous Discovery for Science (MADSci) Python Client and CLI.

Project description

MADSci Clients

Provides a collection of clients for interacting with the different components of a MADSci interface.

Clients

CLI

Note: the MADSci CLI is not currently stable, and commands/options/arguments may have breaking changes from update to update

The command line interface is a tool for MADSci-powered lab administrators and users to interact with the system. It's designed to facilitate common interactions with the definition files used to configure and control a MADSci Lab.

For a complete and up-to-date list of subcommands, run madsci --help. Alternatively, you can use the MADSci Terminal User Interface (TUI) to easily craft commands with madsci tui.

Usage: madsci [OPTIONS] COMMAND [ARGS]...

  MADSci command line interface.

Options:
  -q, --quiet  Run in quiet mode, skipping prompts.
  --help       Show this message and exit.

Commands:
  lab       Manage labs.
  manager   Manage lab system managers.
  module    Manage modules.
  node      Manage nodes.
  resource  Manage resources.
  tui       Open Textual TUI.
  version   Display the MADSci client version.
  workcell  Manage workcells

Node Clients

Node clients allow you to interface with MADSci Nodes to:

  • Send actions and get action results
  • Get information about the node
  • Get the current state and status of the node
  • Send administrative commands (safety stop, pause, resume, etc)

As MADSci is designed to support multiple communications protocols, we provide a client for each. In addition, an AbstractNodeClient base class is provided, which can be inherited from to implement your own node clients for different interfaces.

REST Client

The Rest Client

Event Client

Allows a user or system to interface with a MADSci EventManager, or log events locally if one isn't available/configured. Can be used to both log new events and query logged events.

For detailed documentation on usage, see the EventManager Documentation.

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

madsci_client-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

madsci_client-0.0.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file madsci_client-0.0.3.tar.gz.

File metadata

  • Download URL: madsci_client-0.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.9.2 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for madsci_client-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9dad8151f19e2f82a68744eb61d07f735dcfc7b8a90f889610dbd8655cd5b4e6
MD5 02bed65d0683c6e17190f4fbe9d5f0b8
BLAKE2b-256 4c885f2eb54cd3bb6014903079fba7038a6d0e2ed90b702fca5551339282a845

See more details on using hashes here.

File details

Details for the file madsci_client-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: madsci_client-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.9.2 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for madsci_client-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 250d9061d25446c8328d78f26e1991075c89ebed7a38c5d6d2b53d4375b6a155
MD5 3caf8c9ba929f0c6f89d729a9298a267
BLAKE2b-256 da7a7f96e57e845702efa338fb666df4d07ff36b45f36590c5372d06b15f6d76

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