xrpd_toolbox
A repository for useful python data analysis tools for the X-ray powder diffraction beamlines at Diamond Light Source
This is where you should write a short paragraph that describes what your module does, how it does it, and why people should use it.
| What | Where |
|---|---|
| Source | https://github.com/DiamondLightSource/xrpd-toolbox |
| PyPI | pip install xrpd-toolbox |
| Docker | docker run ghcr.io/diamondlightsource/xrpd-toolbox:latest |
| Releases | https://github.com/DiamondLightSource/xrpd-toolbox/releases |
from xrpd_toolbox import __version__
print(f"Hello xrpd_toolbox {__version__}")
Here are some useful things for
from xrpd_toolbox.utils.messenger import Messenger
client = Messenger("i15-1", broker="rabbitmq", username="guest", password="guest") #this will connect to i15-1's raabitmq
client.send_message("/topic/public.worker.event", "MY MESSAGE")
client.listen() #to listen to what is happening on the default destinations
DEFAULT_DESTINATIONS = [
"/topic/public.worker.event",
"/topic/gda.messages.scan",
]
my_destinations = ["/topic/my_dest"]
#if you want to listen on other you can use:
client = Messenger("i15-1", broker="rabbitmq", username="guest", password="guest", destinations=my_destinations)
#if you want to connect to a specific message bus too:
client = Messenger(host=MY_HOST, port=MY_PORT, username="guest", password="guest", destinations=my_destinations)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xrpd_toolbox-0.1.3.8.tar.gz
(1.5 MB
view details)
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 xrpd_toolbox-0.1.3.8.tar.gz.
File metadata
- Download URL: xrpd_toolbox-0.1.3.8.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80f6fc87acf702ee0bde09d868c5b7cbe174d55910dea2c34ac4cd2bdb603508
|
|
| MD5 |
89111b4162d11a8775ea197e9b90c1f1
|
|
| BLAKE2b-256 |
6b839d0010ffeedb044dbd08df90020999d25982d63feeaa39d7417a84151ef9
|
File details
Details for the file xrpd_toolbox-0.1.3.8-py3-none-any.whl.
File metadata
- Download URL: xrpd_toolbox-0.1.3.8-py3-none-any.whl
- Upload date:
- Size: 250.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7827f57ab50c0477490d53e3efd8e9d7517775756a960fd9b37fff36ea28ceb0
|
|
| MD5 |
9e8623a60b9f3dd4804e9f220b513258
|
|
| BLAKE2b-256 |
4dbb6a8ea2e858a7e57301670e31d6e6b58f9c91ca54893c33ba0f6d98fd0e34
|