Python Api For Encryption And Compression