some handy python samples for dev purposes