Skip to content

OiNutter/Plissken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plissken

Snake Plissken

Plissken is a python wrapper for the Houdini string escaping library.

Install

$ pip install plissken

Usage

import plissken

plissken.escape_html('&')
# >> &

plissken.unescape_html('&')
# >> &

plissken.escape_xml('')
# >>

plissken.unescape_uri('')
# >>

plissken.escape_url('')
# >>

plissken.unescape_url('')
# >>

plissken.escape_href('')
# >>

plissken.escape_js('"')
# >> \"

plissken.unescape_js('\"')
# >> "

Contributing

Just fork, commit and submit!

Credits

@vmg for the Houdini library and @brianmario for his escape_utils gem, which was really helpful in figuring out the required C code to interface with Houdini

About

Python wrapper for the C Houdini library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published