it'd be great to have some peace of code to show how to use spylib