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:
- Python 3.6 and higher
- Poetry a python dependency manager
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
Release history Release notifications | RSS feed
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)
Built Distribution
flitch-0.1.1-py3-none-any.whl
(3.8 kB
view hashes)