Skip to main content

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

Metadata

Release files for flitch 0.1.3

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

Source distribution (sdist)

Source distribution for flitch 0.1.3
File Size Uploaded
flitch-0.1.3.tar.gz 3.5 kB Details

Built distribution (wheel)

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

Total release size: 7.3 kB

Release files / flitch-0.1.3.tar.gz

Download URL flitch-0.1.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4828a4778ccebcee895bb984f4e6910c273fe3a83271137e58e836b80a51fbbc
BLAKE2b-256 checksum
How to use checksums
4ce932c99a6faf827c9257d87bfead818754b375b551d0816a63f2bb39559dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.7.6 Darwin/19.3.0

Release files / flitch-0.1.3-py3-none-any.whl

Download URL flitch-0.1.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2be9ecbe6f2c7d1882a83d6aa5c766a6efedc03abcc3b718bf1d5df100cfe663
BLAKE2b-256 checksum
How to use checksums
e23ca2995c30fa3254cb43df51421509d01554f37d9339275ec69320535c8449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.3 CPython/3.7.6 Darwin/19.3.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.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