The API for this library appears to be very tiny. Would be awesome to add type hints to the input/output functions!