Skip to main content

A simple text file splitting utility

Project description

Flitch is a collection of simple utilities for splitting text files

Table of contents

Prerequisites

The following set of technologies is required to be installed:

Installation

poetry install

Examples

The following section demonstrates usage of various file splitting functions available.

Splitting text file into n parts

Example below demonstrated a sample invocation of parts splitter.

import flitch

flitch.split_into_parts("{input_file}", "{output_folder}", 10)

For more details refer to Documentation

Testing

The following assumes that all dependencies are installed and virtual environment is activated via poetry.

pytest

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

flitch-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

flitch-0.1.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded 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