Hi Anthony
TD and Darwin aren't too different in terms of connection other than the sorts
of details you'd expect to be different (credentials, hostname, etc).
I wrote a short demonstration script in python for another mailing list member,
you may also find it useful. You'll need to install the dependencies using pip
(stomp.py==7.0.0, termcolor==1.1.0), and replace the email and password
placeholders near the top with your actual credentials.
If all goes well it should show formatted TD messages from all areas in your
terminal.
https://gist.github.com/EvelynSubarrow/53a78988371ee512e30063bf51518c3c
Evelyn
2022-06-12T08:19:33-0700 Anthony Patman <
atp...@gmail.com>:
> 1. I cannot find any record anywhere of a package called "PPv16".
> Python rejects the command to import it. PIP does not recognise
> it and a Web search yields pages about some aeronautical
> engineering pipe elbow. pyxb is something new to me but I see it
> isn't imported in the code and the application of PPv16 seems to
> be to do with decoding the messages, so I'm assuming PPv16 is a
> component of pyxb (since that is the specified dependency), yet
> Python simply does not understand the import reference.
> 2. The script runs fine once I've hacked past issue no. 1 (by just
>
https://groups.google.com/d/msgid/openraildata-talk/760001fa-8682-4490-ad6d-d0eeb2332355n%40googlegroups.com.