finish python lib