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 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.6.1

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.6.1
File Size Uploaded
xrpd_toolbox-0.1.6.1.tar.gz 24.3 MB Details

Built distribution (wheel)

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

Total release size: 31.1 MB

Release files / xrpd_toolbox-0.1.6.1.tar.gz

Download URL xrpd_toolbox-0.1.6.1.tar.gz
Size 24.3 MB
Tags Source
SHA-256 checksum
How to use checksums
b69c4f83970bc171d7f5147864b5fa5342040344dfbf70f8b7e8f43cabf0a616
BLAKE2b-256 checksum
How to use checksums
a4c894f553be7404eb6b56a2f59d44f01ba4c53eadeb4fb879adcd9163c2207e
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.6.1-py3-none-any.whl

Download URL xrpd_toolbox-0.1.6.1-py3-none-any.whl
Size 6.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
baa0a7d9df68c02e9e7ff5504c5d7930363479ac0a53f565a1a100891e7dd521
BLAKE2b-256 checksum
How to use checksums
537a6c9bed98c45ed231e23190a3a26d76c38e9aa8e7c2bae0d8692109cb0862
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