Skip to content
Enhancements for zope.schema
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src/nti
.coveragerc
.gitignore
.isort.cfg
.travis.yml
AUTHORS
CHANGES.rst
LICENSE
MANIFEST.in
README.rst
babel.cfg
doc-requirements.txt
nose2.cfg
setup.cfg
setup.py
tox.ini

README.rst

nti.schema

Latest release Supported Python versions https://travis-ci.org/NextThought/nti.schema.svg?branch=master Documentation Status

nti.schema includes utilities for working with schema-driven development using zope.schema.

For complete details and the changelog, see the documentation.

Overview

Some of the most useful features include:

  • nti.schema.interfaces.find_most_derived_interface for finding a bounded interface.
  • nti.schema.eqhash.EqHash is a class-decorator for creating efficient, correct implementations of equality and hashing.
  • nti.schema.field contains various schema fields, including a Variant type and more flexible collection types, all of which produce better validation errors.
  • nti.schema.fieldproperty contains field properties that can adapt to interfaces or decode incoming text. The function createDirectFieldProperties can assign just the necessary properties automatically.
You can’t perform that action at this time.