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.7.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.7.tar.gz.
File metadata
- Download URL: xrpd_toolbox-0.1.3.7.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 |
bf9cfb59d225dd5b2a42283ceb17d404638bc0bd60659f10a1d9337dd687eccb
|
|
| MD5 |
4ea90f90cdb62d980df71c993f3a60cc
|
|
| BLAKE2b-256 |
90dbfa2a467388fa6fe74d49deb80751017556b1757f3dc5081964b285ac8c58
|
File details
Details for the file xrpd_toolbox-0.1.3.7-py3-none-any.whl.
File metadata
- Download URL: xrpd_toolbox-0.1.3.7-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 |
ec5ebbe84683de3c3f0ff6a266220c4c5e5d8fcf51043f08e9755f6d89b2474c
|
|
| MD5 |
00a47658af6605bb75aabe8160936223
|
|
| BLAKE2b-256 |
ddefc644ae5b3929640f42b09e37ff3a4660880b4175c7e5ec4f0d4210483d05
|