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 xrpd users at Diamond
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="MY USERNAME", password="PASSWORD", destinations=my_destinations)
#if you want to connect to a specific message bus too:
client = Messenger(host=MY_HOST, port=MY_PORT, username="MY USERNAME", password="PASSWORD", destinations=my_destinations)
If you are an i11 user and want to reprocess your data from a nexus, you can use the following gui by typing into a terminal (after installation).
xrpd-toolbox bad_pixel_gui
and
xrpd-toolbox mythen_process_gui
Metadata
Release files for xrpd-toolbox 0.1.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xrpd_toolbox-0.1.5.7.tar.gz | 8.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xrpd_toolbox-0.1.5.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 MB
Release files / xrpd_toolbox-0.1.5.7.tar.gz
| Download URL | xrpd_toolbox-0.1.5.7.tar.gz |
|---|---|
| Size | 8.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
051d5a11d638cab6dbc36c15b4934b37d2d394e49828c1246b0c6f8685f0c647
|
|
BLAKE2b-256 checksum How to use checksums |
6e399582e7b4dad1a14d878004562a85fd52a3617688e825c7ed405a7fb98cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / xrpd_toolbox-0.1.5.7-py3-none-any.whl
| Download URL | xrpd_toolbox-0.1.5.7-py3-none-any.whl |
|---|---|
| Size | 6.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43ef398f7485c0622234208a8e9af2b9e095940ecc4f53ebb5327b6cb751e48f
|
|
BLAKE2b-256 checksum How to use checksums |
f0345c481ce3c57a68e5df9b1e5f2edb3c2387dd01276db2526022c9d44d756c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|