python common lib