Skip to main content

Append a single file to zip, overwriting the existing file if necessary

Project description

append-zip

Appends a file to a zip file, overwriting the existing file there if necessary

Performance

Not efficient; extracts all the files in the zip, copies over the new file, and compresses a brand new zip replacing the original one. You will need enough disk space to duplicate the zip file.

Caveats

for some reason, windows has a different file length after unzipping (by 10-20 bytes). So beware how this works on windows

Project details


Download files

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

Source Distribution

appendzip-0.0.4.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

appendzip-0.0.4-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file appendzip-0.0.4.tar.gz.

File metadata

  • Download URL: appendzip-0.0.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for appendzip-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d1a9dcf139a604d7f9a5f3e2fdef19ff59f2e5dcdac28df8e3986701c63f9da0
MD5 3f3647c2665635fbfabf2ff940189777
BLAKE2b-256 ce20861d88555eb38f0b05bc20281c6b32653caa918da56ef5acbda141d4ced5

See more details on using hashes here.

File details

Details for the file appendzip-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: appendzip-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for appendzip-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3b759c81e94a649d00da71d6325cb4bea15383b1a96ff99cd48b21828de3a5c
MD5 3e39ba4b1af6f198868631caca50dceb
BLAKE2b-256 9fd7fe93cbadb4790f5743f11cc9908e4a95892b3ac1f3f9e7d8f7d55af5d210

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page