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

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.4
File Size Uploaded Provenance Actions
xrpd_toolbox-0.1.6.4.tar.gz 26.1 MB Without provenance Details for xrpd_toolbox-0.1.6.4.tar.gz

Built distribution (wheel)

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

Total release size: 33.0 MB

Release files / xrpd_toolbox-0.1.6.4.tar.gz

Download URL xrpd_toolbox-0.1.6.4.tar.gz
Size 26.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b20982e0bc8655cf8f9089036d8ac386961a6638693634656e6e1238b5cd0089
BLAKE2b-256 checksum
How to use checksums
526805c357e191b35868b3039a908a2ff5df9c88f9450f617fb5da6c968551eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xrpd_toolbox-0.1.6.4-py3-none-any.whl

Download URL xrpd_toolbox-0.1.6.4-py3-none-any.whl
Size 6.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4744435c223ceb886804930484a92fb6b62cde262cf7476ce94fded1d47a0fef
BLAKE2b-256 checksum
How to use checksums
67a21fc8caeea5f10a00010e1d9aa830afe98bcca78bf6679d0b7ac745732c44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for xrpd-toolbox 0.1.6.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.6.4 This release

2 release files No provenance

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