Skip to main content

Useful string and text manipulation tools

Project description

textutility

A set of useful functions for analyzing and manipulating strings in Python.


✨ Features

  • Check if a string is a number, float, or boolean
  • Reverse strings and detect palindromes
  • Convert between snake_case and camelCase
  • Print boxed output with exclusive_print()
  • Detect types using what_type()
  • And more!

📦 What's new (v0.2.2)

  • what_type() — detects whether a string represents int, float, bool, or plain string
  • 🧾 exclusive_print() — prints any text inside a fancy ASCII box
  • 📐 printBox() — a context manager version of exclusive_print() that works with with:
    with printBox("Hello box!"):
        pass
    

Installation

pip install textutility

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

textutility-0.2.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textutility-0.2.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file textutility-0.2.2.tar.gz.

File metadata

  • Download URL: textutility-0.2.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for textutility-0.2.2.tar.gz
Algorithm Hash digest
SHA256 110ef5687626e515ffac5c92d2d7c8d5b7c4c9c9e2fcf0319871b1540591292a
MD5 e35ccc2c16fb7a957ad94c1d7c1b52d5
BLAKE2b-256 72d22a7b557b2059fd4cb1b3fd9bb9168981beb6dd3e03d51419daf479bb5f05

See more details on using hashes here.

File details

Details for the file textutility-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: textutility-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for textutility-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d438904b18f03fc91aac950ad02a60e5037daaaf844650881f48e21a3433bf08
MD5 f1531d6fdaffdd0941b2b6b07d6454cb
BLAKE2b-256 44ebf4e8d512d1dac346f8a5dc0dea55a85d6bd700ebf4d82e3ae4b3c1d7ab27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page