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)
Release files for xrpd-toolbox 0.1.3.6
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.3.6.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xrpd_toolbox-0.1.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:1.7 MB
Release files / xrpd_toolbox-0.1.3.6.tar.gz
| Download URL | xrpd_toolbox-0.1.3.6.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22e0baa4753a12780e4601f68bb66e7893196c3d11071fb8c0a31a1b8e5827b6
|
|
BLAKE2b-256 checksum How to use checksums |
9e9764dc9655928dc42048b919e6db9625ee65c8c0f9e098a9691e32ccae68b2
|
| 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.3.6-py3-none-any.whl
| Download URL | xrpd_toolbox-0.1.3.6-py3-none-any.whl |
|---|---|
| Size | 250.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5d579859b43220234e16391b7873c3f8dea3134f18c335f621bcdaa3d6b0174
|
|
BLAKE2b-256 checksum How to use checksums |
f1f7a15fc3b9dcf2a6f0dd2976904f11104a5bdc2d2c0c057cab16c16a448a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|