mentat-sampler.py 1.27 KiB
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
# This file is part of Mentat system (https://mentat.cesnet.cz/).
#
# Copyright (C) since 2011 CESNET, z.s.p.o (http://www.ces.net/)
# Use of this source is governed by the MIT license.
#-------------------------------------------------------------------------------
"""
This Mentat module is a real-time message processing daemon capable of sampling
`IDEA <https://idea.cesnet.cz/en/index>`__ messages according to various policies.
To view built-in help please execute the application with ``--help`` command line
option::
mentat-sampler.py --help
To view local documentation please use ``pydoc3``::
pydoc3 mentat.module.sampler
The implementation is based on :py:mod:`pyzenkit.zendaemon` framework. Please see its
documentation for more details.
License
^^^^^^^
Copyright (C) since 2011 CESNET, z.s.p.o (http://www.ces.net/)
Use of this source is governed by the MIT license.
"""
__author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
from mentat.module.sampler import MentatSamplerDaemon
if __name__ == "__main__":
MentatSamplerDaemon().run()