Skip to main content

Python package for connection to Web Services of Momentum Scheduler (Thermo Scientific)

Project description

MomentumPyClient

This package simplifies the connection to the Web Services of the Momentum Scheduler from Thermo Scientific.

Description

MomentumPyClient is a Python wrapper for the web services Swagger API interface for Momentum. It includes UI functions to facilitate data visualization and control of Momentum directly from simple Streamlit apps.

Visuals

screenshot

Prerequisites

  • API credentials for Momentum Web Services

Installation

pip install MomentumPyClient[streamlit]

Configuration

  1. Create a .env file in the root directory.
  2. Add your API credentials to the .env file:
    momentum_user=<username>
    momentum_passwd=<password>
    momentum_verify=False
    momentum_url="https://localhost/api/"
    

Usage

from MomentumPyClient import Momentum

m = Momentum()
m.get_status()

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or support, please contact jsqp@novonordisk.com.

Streamlit example

Here is a simple example of how to use this package with Streamlit:

import streamlit as st
import MomentumPyClient.ui as stm

st.write(stm.ws.get_status())

stm.show_store("Carousel")

Documentation

For detailed API documentation, please refer to the official Thermo Fisher Lab automation documentation.

Support

If you encounter any issues or have questions, feel free to open an issue on GitHub or contact the support team.

Acknowledgements

Special thanks to Søren Furbo, Erik Trygg and the open-source community for their valuable input and support.

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

momentumpyclient-0.0.4.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

momentumpyclient-0.0.4-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file momentumpyclient-0.0.4.tar.gz.

File metadata

  • Download URL: momentumpyclient-0.0.4.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for momentumpyclient-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a094fceb9176d5e304e55ff308fe4a00c5b5fef20414ca876008a0a5680ea819
MD5 093750bd002d01ab1dc137db8abb7f61
BLAKE2b-256 3343e592d5538b014e491b2589a474188dbb1deac89174fe720f084074c3a72b

See more details on using hashes here.

File details

Details for the file momentumpyclient-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for momentumpyclient-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42faa92871c4a3652d7d80e8bca546302d0149b57e2496a0697693099b6a0bb7
MD5 7f6bc0aa1cdb20e12df0f6ec3e509b1a
BLAKE2b-256 ee8c0da918bb6a2d1652e458f73b63712988eda6e6e656fe9e7cc8761cbcfc66

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