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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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