Skip to content
Snippets Groups Projects
wrapper.py 525 B
Newer Older
##
# This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.
# © Copyright Utrecht University (Department of Information and Computing Sciences)
##

#!/usr/bin/env python
from centrality import MLServer
import MLDriver

##
# __main__ starts the MLServer and listens for incoming messages
#   Return: None, returns nothing
##
def __main__():
    server = MLServer()   
    MLDriver.listen(next(iter(server.this)), server.handleJSON)

__main__()