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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flitch-0.1.3.tar.gz.
File metadata
- Download URL: flitch-0.1.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.6 Darwin/19.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4828a4778ccebcee895bb984f4e6910c273fe3a83271137e58e836b80a51fbbc
|
|
| MD5 |
04feebd78440969b82229ff19cc20441
|
|
| BLAKE2b-256 |
4ce932c99a6faf827c9257d87bfead818754b375b551d0816a63f2bb39559dbe
|
File details
Details for the file flitch-0.1.3-py3-none-any.whl.
File metadata
- Download URL: flitch-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.6 Darwin/19.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2be9ecbe6f2c7d1882a83d6aa5c766a6efedc03abcc3b718bf1d5df100cfe663
|
|
| MD5 |
b32e16311c9fbf715e8a50ab3e557d38
|
|
| BLAKE2b-256 |
e23ca2995c30fa3254cb43df51421509d01554f37d9339275ec69320535c8449
|