Simple, generic library for escaping strings
This Python library provides a programming interface to, given a set of safe characters and an escape character, escape safe strings and unescape the result.