Support for working with string-based content in a Zope3/ZTK environment.
In a client/server environment dealing with various types of content from users, it’s important to know what not just the Python type of a particular string is, but also what the semantic type of the string is: HTML, plain text, LaTeX, etc.
This package defines interfaces and classes to be able to record this information. It also features a framework for transforming between the various supported semantic types (e.g., HTML to plain text).
- Support for making arbitrary incoming HTML safe (sanitizing it).
- Support for very configurable (optionally) event-based profanity censoring that integrates with nti.schema/zope.schema.
See the documentation for more details.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|nti.contentfragments-1.1.1-py2.py3-none-any.whl (43.6 kB) Copy SHA256 hash SHA256||Wheel||py2.py3||Jun 29, 2018|
|nti.contentfragments-1.1.1.tar.gz (45.1 kB) Copy SHA256 hash SHA256||Source||None||Jun 29, 2018|