Text Management
Reversing a String by Words or Characters script allows you to reverse the characters or words of a string.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Characters, Characters Manipulation, Reversing, String, String Reversing, Words Management
License: Freeware | Download (58): Reversing a String by Words or Characters Download |
This script contains a function that takes in an arbitrary string and converts it into its raw string equivalent. It is very useful when a user needs to input text and you want the raw equivalent to be used and not the processed version.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Conversion, Raw String, String, String Conversion, String Manipulation, Text
License: Freeware | Download (58): Convert a string into a raw string Download |
This script is useful when you want to convert tabs in a string to the appropriate number of spaces, or vice versa.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Compressing, Compressing Tabs, Expanding, Expanding Tabs, String Manipulation, Tabs
License: Freeware | Download (58): Expanding and Compressing Tabs Download |
"Templating" (copying an input file to output, on the fly inserting Python expressions and statements) is a frequent need, and YAPTU is a small but complete Python module for that; expressions and statements are identified by arbitrary user-chosen regular-rexpressions.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Regular, Regular Expression, System, Templating, Templating System, Text Management
License: Freeware | Download (57): Yet Another Python Templating Utility (YAPTU) Download |
This script shows you how to use the Python standard re module to perform single-pass multiple string substitution using a dictionary.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Dictionary Tool, Pass, Pass Replace, Replacement, Text, Text Tool
License: Freeware | Download (58): Single-pass Multiple Replace Download |
It is not so easy to put template engine and the template itself together, and to separate logic and a template. This script should define the value substituted for the slot of the easy source code for using template engine, the function of template engine, a template, and a template, and they...
Platforms: Python,
Keyword: Email, Email Template, Engine, Template, Template Engine, Template Management
License: Freeware | Download (58): Wrapping template engine Download |
This script takes a UNICODE string and replaces Latin-1 characters with something equivalent in 7-bit ASCII and returns a plain ASCII string. This function makes a best effort to convert Latin-1 characters into ASCII equivalents. It does not just strip out the Latin-1 characters. All characters...
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: 7-bit Ascii, Ascii, Converter, Latin-1 Characters, Latin1, Latin1 To Ascii
License: Freeware | Download (65): Latin1 to ASCII Download |
This script is a codec for converting unicodes to LaTeX markup and vice versa.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Codec, Latex, Latex Codec, Unicode, Unicode Converter, Unicodes To Latex
License: Freeware | Download (58): LaTeX codec Download |
This module introduces an alternative syntax a-la shell pipes for sequence-oriented functions, such as filter, map, etc., via certain classes that override __ror__ method.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Data, Data Processing, Processing, Sequence Filter, Shell, Shell Pipes
License: Freeware | Download (59): Shell-like data processing Download |
This script interates all files in a directory and finds and replaces a string. In this case an IP address.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Find String, Replace String, Replacement, String, String Replacement, Tool
License: Freeware | Download (64): Find and replace string in all files Download |
This function will split and (optionally) validate UK postcodes.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Parser, Parsing Postcode, Postcode, Postcode Parser, Text, Uk Postcode
License: Freeware | Download (57): Parsing a UK postcode Download |
This script converts OpenOffice documents to XML and text. It is useful when you want to index the contents of your documents written with OpenOffice.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Openoffice, Openoffice Converter, Openoffice To Text, Openoffice To Xml, Text, Xml
License: Freeware | Download (57): OpenOffice to xml and/or text Download |
This script presents you a method to parse a file like object containing data in the record jar format.
Platforms: *nix, Linux, Python, BSD
Keyword: File, File Parser, Jar Format, Parser, Unix, Unix Programming
License: Freeware | Download (64): Record-Jar Parser Download |
This script uses an efficient way to tranform a file's text to something else, with conditions for few lines.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Converter, Text, Text Converter, Text Processing, Text Transformer, Transformer
License: Freeware | Download (60): Text transformer with conditions Download |
The misspell class takes a string and slightly mangles it by randomly transposing two adjacent characters while leaving the first and last characters intact.The resulting text is almost completely misspelled but still completely readable. Words less than four characters, numbers, email addresses...
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Different Signature, Misspell, Misspell Words, Text, Text Transpose, Words
License: Freeware | Download (59): Misspell words to avoid detection Download |
This script allows you to try a small, powerful templating language using template strings embedded in standard Python syntax. Templates are valid Python source, compiled directly to bytecode. Variable substitution is performed using 'string.Template'.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Standard Syntax, Strings, Strings Template, Template, Templating Language
License: Freeware | Download (57): Good enough templating Download |
This function accepts a string and returns a string with whitespace(one space) inserted between words with leading capitalized letters.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Split, Split String, String, Text, Text Processing, Text Split
License: Freeware | Download (57): Split string on capitalized/uppercase char Download |
Python's built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This script introduces an enhanced version of str() and unicode() that could be used as handy functions to convert between byte string and unicode. This...
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Byte, Byte String Converter, String, Text Converter, Unicode, Unicode Converter
License: Freeware | Download (58): Conversion to unicode or byte string Download |
AWK is a text processing language that makes it easy to "search files for lines [...] that contain certain patterns. When a line matches one of the patterns, awk performs specified actions on that line." (GNU Awk User's Guide). This script provides a way to do the same thing in python.
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Processing, Text, Text Management, Text Processing, Text Tool, Tool
License: Freeware | Download (58): AWK like text processing Download |
QuackTemplate.Wrapper is a template helper class: it takes arbitrary Python objects and uses__gettitem__ so that the wrapped object can be passed into the standard Python string substitution mechanism. It can follow method calls, dict keys and list members (to some extent).
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python, BSD Solaris
Keyword: Helper, Helper Class, Template, Template Helper, Template Wrapper, Wrapper
License: Freeware | Download (57): QuackTemplate.Wrapper Download |