Skip to main content

NTI ContentFragments

Project description

Latest release Supported Python versions https://travis-ci.org/NextThought/nti.contentfragments.svg?branch=master https://coveralls.io/repos/github/NextThought/nti.contentfragments/badge.svg Documentation Status

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.2.0.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

nti.contentfragments-1.2.0-py2.py3-none-any.whl (45.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: nti.contentfragments-1.2.0.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for nti.contentfragments-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b2eea0fdc6d2c2b45e6785b477e2d5af7c7c2aabf748a99b59341876ea6bba3a
MD5 7dd8179f7e9f41cbb3e4505fcc71e4d6
BLAKE2b-256 337c0ad2e9183456f1a3fd795db5ed2309a238e4994861a48dd6451d8ce7e021

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nti.contentfragments-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for nti.contentfragments-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb6c3d5b69c2e0da04fde6f7bd9392287718d692733c0b6207cfc947738b66a9
MD5 3a5697311da2f3feb4ccdf5f6a1ab8aa
BLAKE2b-256 63112f4b2854dc03a8005802f9cb73ce1ab2f2c87a3b2d561eeea68e9bd7a5f9

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