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.7.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.7-py3-none-any.whl (250.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xrpd_toolbox-0.1.3.7.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.7.tar.gz
Algorithm Hash digest
SHA256 bf9cfb59d225dd5b2a42283ceb17d404638bc0bd60659f10a1d9337dd687eccb
MD5 4ea90f90cdb62d980df71c993f3a60cc
BLAKE2b-256 90dbfa2a467388fa6fe74d49deb80751017556b1757f3dc5081964b285ac8c58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xrpd_toolbox-0.1.3.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ec5ebbe84683de3c3f0ff6a266220c4c5e5d8fcf51043f08e9755f6d89b2474c
MD5 00a47658af6605bb75aabe8160936223
BLAKE2b-256 ddefc644ae5b3929640f42b09e37ff3a4660880b4175c7e5ec4f0d4210483d05

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3.8

2 files

This release

0.1.3.7 This release

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