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
Prerequisites
- API credentials for Momentum Web Services
Installation
- Clone the repository:
git clone https://github.com/novonordisk-research/MomentumPyClient.git
- Navigate to the project directory:
cd MomentumPyClient
- Install :
pip install .[streamlit]
Configuration
- Create a
.envfile in the root directory. - Add your API credentials to the
.envfile:momentum_user=<username> momentum_passwd=<password> momentum_verify=False momentum_url="https://localhost/api/"
Usage
- Start the application:
cd examples/ streamlit run testing.py
- The application will connect to the Momentum Scheduler API and perform the necessary operations.
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.
Example
Here is a simple example of how to use this package:
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 the contributors 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file momentumpyclient-0.0.1.tar.gz.
File metadata
- Download URL: momentumpyclient-0.0.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a84e7ed32eb9664428007b487f8144b0569fb5c6dbbc2475a91f9d10816d586c
|
|
| MD5 |
e6a9cf567fbb5c5a99aaf5bcefaf7207
|
|
| BLAKE2b-256 |
4c70bd81468d5ee2147e157fa43fc2dbf3bc8c89596ae8536c213e20fd249c8b
|
File details
Details for the file momentumpyclient-0.0.1-py3-none-any.whl.
File metadata
- Download URL: momentumpyclient-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db692cd2a83d4de860bdd88d99327ca2115f6783f793785e89f3cd6d01657cef
|
|
| MD5 |
5c6b25c5c169cf5459caa32b9dcb0a7e
|
|
| BLAKE2b-256 |
70a92387de89cafa335c40d09c2b43c60d19bf4cbbbc40604b432b6bdfa247e0
|