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.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

flitch-0.1.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for flitch-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4828a4778ccebcee895bb984f4e6910c273fe3a83271137e58e836b80a51fbbc
MD5 04feebd78440969b82229ff19cc20441
BLAKE2b-256 4ce932c99a6faf827c9257d87bfead818754b375b551d0816a63f2bb39559dbe

See more details on using hashes here.

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

Hashes for flitch-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2be9ecbe6f2c7d1882a83d6aa5c766a6efedc03abcc3b718bf1d5df100cfe663
MD5 b32e16311c9fbf715e8a50ab3e557d38
BLAKE2b-256 e23ca2995c30fa3254cb43df51421509d01554f37d9339275ec69320535c8449

See more details on using hashes here.

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