a small diameter capable library in python