twnet_parser/README.md
2023-03-12 22:12:07 +01:00

305 B

A Python teeworlds client & server library, designed according to sans I/O (http://sans-io.readthedocs.io/) principles

msg = twnet_parser.parse(b'\x10\x10\x00\x04\x9a\xcb9\xc9')
print(msg)

# <class '__main__.CtrlMessage'>: {'name': 'disconnect', 'token': b'\x9a\xcb9\xc9', 'fields': {}}