added zip api to python level class