Skip to main content

NTI ContentFragments

Project description

https://travis-ci.org/NextThought/nti.contentfragments.svg?branch=master https://coveralls.io/repos/github/NextThought/nti.contentfragments/badge.svg?branch=master

Support for working with string-based content in a Zope3/ZTK environment.

Overview

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).

Other features:

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nti.contentfragments-1.1.0.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

nti.contentfragments-1.1.0-py2.py3-none-any.whl (45.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nti.contentfragments-1.1.0.tar.gz.

File metadata

File hashes

Hashes for nti.contentfragments-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3dd4d0a6afc53f1b1dbf359b33857e39d910c18d506d12f1d0c8f2fb050e1b75
MD5 d017028349618c478f648f0e94917325
BLAKE2b-256 df71d88a4e1ded2ee911692983949e489b8e6058d7ccf200b87e6459cbde919d

See more details on using hashes here.

File details

Details for the file nti.contentfragments-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nti.contentfragments-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9721324054f8e23163ed03ce3f094a7afb0767f16a828c94b336ef83553af2f0
MD5 73a1fa32886db95a34bd18b306765c6a
BLAKE2b-256 5550a47dc2f9bd72f10399a14266f2ac1bbd3bf7c4017fa77e717cb5898f9414

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page