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
pip install MomentumPyClient[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
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.
Metadata
Release files for MomentumPyClient 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| momentumpyclient-0.0.5.tar.gz | 14.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| momentumpyclient-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / momentumpyclient-0.0.5.tar.gz
| Download URL | momentumpyclient-0.0.5.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66344edec2564f95af216a1161fd7a4464e5e90b6f5d732777c9159b52a74dd8
|
|
BLAKE2b-256 checksum How to use checksums |
0ad82e2df0bb9b97c430b0a1c39d91136fb87a32e712f63b496b1357c1cc7780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.11
|
Release files / momentumpyclient-0.0.5-py3-none-any.whl
| Download URL | momentumpyclient-0.0.5-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e95f882238067a9ea84d31bf4f8e2ef9d39bf4a5cbc944748cc948375e5803cc
|
|
BLAKE2b-256 checksum How to use checksums |
6b600792d59e9c14ecbd38d1090ca9057df32cd12501120a1e956b858a128954
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.11
|