Python allows you to quickly create zip/tar archives.

Following command will zip the entire directory
shutil.make_archive(output_filename, 'zip', dir_name)

Following command gives you control on the files you want to archive

ZipFile.write(filename)