def __init__(self, host='127.0.0.1', port=8080, **options): self.options = options self.host = host self.port = int(port)