Skip to main content

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.

Metadata

Release files for zipind 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zipind 1.1.3
File Size Uploaded
zipind-1.1.3.tar.gz 20.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zipind 1.1.3
File Interpreter ABI Platform
zipind-1.1.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 33.6 kB

Release files / zipind-1.1.3.tar.gz

Download URL zipind-1.1.3.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
601f99758f1e4c23dbee4e3269d8de0397535b8c37060a8c47f6f2f49b7b7826
BLAKE2b-256 checksum
How to use checksums
7ee84d425ba457090ba5828ef55b8734a99b802999cf3ff0065f14c961219e14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / zipind-1.1.3-py2.py3-none-any.whl

Download URL zipind-1.1.3-py2.py3-none-any.whl
Size 13.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cc9119efe7d6234faabcb0388cad36752b2ee4403fb339166217247c1d14392c
BLAKE2b-256 checksum
How to use checksums
0e822dc7d9e66c69655b7f9604181cfb16943098d10b7fb77e66dcde8a61d2b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page