Skip to main content

strip zip timestamps for reproducible builds

Project description

PyPi Package Build Status Codacy Rating


This package provides a stripzip script which will set all of the date/times in given zips to 1980-01-01 00:00:00 - the lowest valid value available in zips.

The purpose is to zip archive based builds deterministic, e.g. python wheels, AWS lambdas. There are no extra dependancies, and the package is available on PyPi which is probably the only advantage of this at the moment.

usage: stripzip [-h] zip [zip …]


You can pick one of:

pipsi install python-stripzip
pip install --user python-stripzip
git clone && cd python-stripzip && python install

See also

  • strip-nodeterminism - tool written in Perl and released as a Debian package; works on various archive formats
  • stripzip - tool written in C without binary releases; currently wipes out more zip metadata
  • SOURCE_DATE_EPOCH=315532800 python bdist_wheel

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-stripzip, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size python_stripzip-1.0.0-py2.py3-none-any.whl (4.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size python-stripzip-1.0.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page