Python library and practices