Skip to main content

Text Tools

Description

Various tools for manipulating text.

Installation

pip install text-tools

Usage

from text_tools.finders import find_best_string

corpus = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."
query = "Ipsum"

first_match = find_best_string(query, corpus)

Metadata

Release files for text-tools 1.0.0

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

Source distribution (sdist)

Source distribution for text-tools 1.0.0
File Size Uploaded
text-tools-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for text-tools 1.0.0
File Interpreter ABI Platform
text_tools-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / text-tools-1.0.0.tar.gz

Download URL text-tools-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e262d0f51b58c94ce427646a2a64b731bd99a5488518dc9f74797555fb19871
BLAKE2b-256 checksum
How to use checksums
fdfdb59c55b8818a5a61993ff61f5d09cc20b5f3090ae4f223cbac5aa94121ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / text_tools-1.0.0-py3-none-any.whl

Download URL text_tools-1.0.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50f9c636e40635936de1c7b0d8115a35dda01ae65e86be6ff2ff12f79882ab71
BLAKE2b-256 checksum
How to use checksums
0cd4f3267af1190e4d096bd8e10f911f40e9afe3fd10ee6d4cc9bbe2703ef864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

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