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

Uploaded Source

Built Distribution

nti.contentfragments-1.2.1-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.1.tar.gz.

File metadata

  • Download URL: nti.contentfragments-1.2.1.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.5

File hashes

Hashes for nti.contentfragments-1.2.1.tar.gz
Algorithm Hash digest
SHA256 1b9b54d5877c0a4c93b9a192258904a1ea69244ef6adc601e68fbb3e6c30a06f
MD5 f37e432fc9b5f41fd54dda0c88fe0cc6
BLAKE2b-256 77bf38b53ca84f07dd8cab19170be12cee3d9a333b7e8e839af523e6d8773b9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nti.contentfragments-1.2.1-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.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.5

File hashes

Hashes for nti.contentfragments-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ccf918f2589acbbee04c21f78490473e750bdc9c563690453de7e8e665a941f9
MD5 0b041c1f807dbfd04cb09496832f5b05
BLAKE2b-256 9ffd1f96eb468df88f5d481a42603260fd87a278d6f1f8dcfecd56d736a1457a

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