Skip to main content

zipind - From a folder, make a splitted ZIP with INDependent parts

Project description

zipind

https://img.shields.io/pypi/v/zipind.svg Documentation Status

zipind - From a folder, make a splitted ZIP with INDependent parts

Features

  • Compact folder to .zip or .rar, dividing it into independent parts, grouping your files in alphanumeric order.

  • Preserve the ordering of folders and files.

  • Preserve the internal structure of folders.

  • If any file exceeds the defined maximum size, the specific file is splitted in dependent mode.

  • Set the file types to be ignored in compression (config/ignore_extensions.txt)

  • Verify that the file path length is less than the specified limit (default 250 characters).

  • Sanitize the folder and file names characters to ensure compatibility with UTF-8 encoding, by auto-renaming.

Requirements

  • To compress to Zip format, It is necessary to have 7Zip app installed and added in system variables

  • To compress to Rar format, It is necessary to have Winrar app installed and added in system variables

Usage

Let’s zip a folder, with a maximum of 100MB per file, in zip mode and ignoring ‘ISO’ extension files.

Through python script importation

import zipind

path_folder = r'c://my_project'

zipind.run(path_folder, mode='zip', mb_perfile=100, mode='zip', ignore_extensions=['iso'])

Through terminal in chatbot-like style

$ zipind

Zipind will start by responding:

Zipind - From a folder, make a splitted ZIP with INDependent parts
>> github.com/apenasrr/zipind <<

Paste the folder path to be compressed:

Now paste the folder path to be compressed:

Paste the folder path to be compressed: c://my_project

Answer the questions to customize the parameters and your project will be processed.

CLI Mode

Soon…

We recommend

mises.org - Educate yourself about economic and political freedom

lbry.tv - Store files and videos on blockchain ensuring free speech

A Cypherpunk’s Manifesto - How encryption is essential to Free Speech and Privacy

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

Tired of dealing with dependent-mode slicing folders and not finding applications to be able to slice folders in independent pieces, the 2020 tyrannical lock-down time was used to create the first version of this tool.

0.1.0 (2020-04)

  • Birth of the first beta version

1.1.0 (2022-09-04)

  • First release on PyPI.

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

zipind-1.1.3.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

zipind-1.1.3-py2.py3-none-any.whl (13.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zipind-1.1.3.tar.gz.

File metadata

  • Download URL: zipind-1.1.3.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for zipind-1.1.3.tar.gz
Algorithm Hash digest
SHA256 601f99758f1e4c23dbee4e3269d8de0397535b8c37060a8c47f6f2f49b7b7826
MD5 6de817268d64af1b0794bdb9123977a7
BLAKE2b-256 7ee84d425ba457090ba5828ef55b8734a99b802999cf3ff0065f14c961219e14

See more details on using hashes here.

File details

Details for the file zipind-1.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: zipind-1.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for zipind-1.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cc9119efe7d6234faabcb0388cad36752b2ee4403fb339166217247c1d14392c
MD5 747e3913a55ec66e096314d5a16d849f
BLAKE2b-256 0e822dc7d9e66c69655b7f9604181cfb16943098d10b7fb77e66dcde8a61d2b9

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