Skip to main content

Simple file splitter

Project description

slice - Simple file splitter



Slice is pretty straightforward: it slice your files.


This package requires at least Python 3.9 and humanfriendly 10.0 package.

If you want to run tests, Slice needs PyTest 7.0.1


This package is hosted on PyPi repository.

To install it, run

python -m pip install slice-shukuru --upgrade


Once installed, just run it with

python -m slice

This program is far from being complicated to use, have a look to CLI help:

usage: slice [-h] [-v] [-V] (-s CHUNK SIZE | -c PARTS COUNT) file

Simple file splitter

positional arguments:
  file                  Path to file you want to be sliced

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Output process on stdout
  -V, --version         Output program version and exit
                        Numeric or human-readable chunk size value (1024, 16MB, 1GiB, ...)
                        Total parts count to slice the file in

TL;DR: -s optional parameter to slice on parts size, -c to slice on part total count.

Actually, there's no option to concatenate parts and "re-build" the original file. You have to use UNIX cat command to do so.

cat *.[0-9] > original_filename


Feel free to open a merge request to propose features or an issue if you found a bug. You can also contribute to documentation or tests writing.


This program is distributed under BSD 3-Clause License.

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

slice-shukuru-1.0.2.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

slice_shukuru-1.0.2-py3-none-any.whl (5.7 kB view hashes)

Uploaded py3

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