python module to query range server