get_module_version#

ctapipe.core.get_module_version(name)[source]#

Get the version of a python module, something you can import.

If the module does not expose a __version__ attribute, this function will try to determine the distribution of the module and return its version.