Skip to main content

CI Coverage PyPI License

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)

Metadata

Release files for xrpd-toolbox 0.1.4.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xrpd-toolbox 0.1.4.9
File Size Uploaded
xrpd_toolbox-0.1.4.9.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for xrpd-toolbox 0.1.4.9
File Interpreter ABI Platform
xrpd_toolbox-0.1.4.9-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / xrpd_toolbox-0.1.4.9.tar.gz

Download URL xrpd_toolbox-0.1.4.9.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
107d318f8a0ab4096fd3af6466a2fa962f7e0e30f2152059890802436b088a40
BLAKE2b-256 checksum
How to use checksums
d11e85c88434391bdb1b83f951ee478af951d74646db7c82ab24bc1a25a663b3
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.4.9-py3-none-any.whl

Download URL xrpd_toolbox-0.1.4.9-py3-none-any.whl
Size 275.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d375dbecdc1346dd0cf95f261909fc90a489ddc66dd4e2472a2a9161d317efb5
BLAKE2b-256 checksum
How to use checksums
3eebdfbe4a08bdc5fe6f7384443c440f10baf0745884f9e7bd6136ada9282050
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page