You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because essentially the command line is the only stable and user-friendly API, as far as I'm concerned.
While this actually works quite cleanly, would it be sensible to wrap this same functionality internally from Comet and provide a Python API?
The text was updated successfully, but these errors were encountered:
The potential issue I see here is the management of the Twisted reactor and (potentially) its interaction with other event loops. Because comet-sendvo is its own process, it can safely start and stop the reactor at will. If there was another event loop running, it would be necessary to ensure they don't interfere with each other. Should be possible (somebody in the Twisted world must have done similar before) but it might take some effort to figure out how.
Hi John,
currently, to send VOEvents programmatically, I simply call out to comet-sendvo via the command line; a la:
https://github.com/timstaley/pysovo/blob/master/pysovo/comms/comet.py
Because essentially the command line is the only stable and user-friendly API, as far as I'm concerned.
While this actually works quite cleanly, would it be sensible to wrap this same functionality internally from Comet and provide a Python API?
The text was updated successfully, but these errors were encountered: