bringing sanity to world of messed-up data
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

sanitize is a Python module for making sure various things (e.g. HTML) are safe to use. It was originally written by Mark Pilgrim and is distributed under the BSD license.


>>> import sanitize
>>> sanitize.HTML('safe<meta http-equiv="Refresh" content="0; URL=/">')

How to do a release

  1. Update the version in
  2. Update the version in
  3. Run the test cases: python
  4. Run python sdist upload
  5. git commit -am "released version XX"
  6. git push