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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xrpd_toolbox-0.1.3.8.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xrpd_toolbox-0.1.3.8-py3-none-any.whl (250.7 kB view details)

Uploaded Python 3

File details

Details for the file xrpd_toolbox-0.1.3.8.tar.gz.

File metadata

  • Download URL: xrpd_toolbox-0.1.3.8.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xrpd_toolbox-0.1.3.8.tar.gz
Algorithm Hash digest
SHA256 80f6fc87acf702ee0bde09d868c5b7cbe174d55910dea2c34ac4cd2bdb603508
MD5 89111b4162d11a8775ea197e9b90c1f1
BLAKE2b-256 6b839d0010ffeedb044dbd08df90020999d25982d63feeaa39d7417a84151ef9

See more details on using hashes here.

File details

Details for the file xrpd_toolbox-0.1.3.8-py3-none-any.whl.

File metadata

  • Download URL: xrpd_toolbox-0.1.3.8-py3-none-any.whl
  • Upload date:
  • Size: 250.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xrpd_toolbox-0.1.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7827f57ab50c0477490d53e3efd8e9d7517775756a960fd9b37fff36ea28ceb0
MD5 9e8623a60b9f3dd4804e9f220b513258
BLAKE2b-256 4dbb6a8ea2e858a7e57301670e31d6e6b58f9c91ca54893c33ba0f6d98fd0e34

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3.8 This release

2 files

0.1.3.7

2 files

0.1.3.6

2 files

0.1.3.5

2 files

0.1.3.4

2 files

0.1.3.3

2 files

0.1.3.2

2 files

0.1.3.1

2 files

0.1.3

2 files

0.1.2.9

2 files

0.1.2.8

2 files

0.1.2.7

2 files

0.1.2.6

2 files

0.1.2.5

2 files

0.1.2.4

2 files

0.1.2.3

2 files

0.1.2.2

2 files

0.1.2.1

2 files

0.1.2

2 files

0.1.1

2 files

0.1

2 files

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