๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’
Socket
DemoInstallSign in
Socket

textutility

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

textutility

Useful string and text manipulation tools

0.2.2
PyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts