close #30 version 3.1 published on pypi