Skip to main content

cuffers

a python module to split a large file into smaller files.

install from github release

  1. go https://github.com/GGN-2015/cuffers/releases and download a .whl file.
  2. use pip install cuffers-<version>-py3-none-any.whl to install the package into your local environment.

install from pypi

pip install cuffers

usage

split file into small files (no more than 1MB)

python3 -m cuffers <input_file> <output_folder>

<output_folder> will be automatically generated when you run this command, and all fractions will be saved in that folder along with a file named summary.<index>.json.

merge fractions into a whole file

python3 -m cuffers --merge <input_folder>

a merged file will be generated based on the fractions in <input_folder> and the name stated in <input_folder>/summary.<index>.json. the newly generated file will be placed right outside the folder <input_folder>, and if there has already been a file with the same name, the merge operation will be ignored (and you will get a warning output to stderr).

Metadata

Release files for cuffers 0.0.2

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

Source distribution (sdist)

Source distribution for cuffers 0.0.2
File Size Uploaded
cuffers-0.0.2.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cuffers 0.0.2
File Interpreter ABI Platform
cuffers-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / cuffers-0.0.2.tar.gz

Download URL cuffers-0.0.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4272e1ce2c4ffb31586d4d834286adbf5f4b20f570dd779be1284c2b06df2809
BLAKE2b-256 checksum
How to use checksums
ccdb663ebbe00fe4f6e2504c50f3a5e4b40a157357bd6f64258ebf481983ddbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / cuffers-0.0.2-py3-none-any.whl

Download URL cuffers-0.0.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4544d54b9239236a09bddc440ff95bee0a690bde6d1e7a42a7e02a8b6607109d
BLAKE2b-256 checksum
How to use checksums
6055c3bae9d5a9184e5a312d4c4374902b421ae5a94d70b4c2ff212273a518ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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