Skip to main content

Zope schema related support

Project description

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

nti.schema offers a set of classes and functions that make schema-based development with zope.schema easier.

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.

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.schema-1.1.3.tar.gz (36.0 kB view hashes)

Uploaded Source

Built Distribution

nti.schema-1.1.3-py2.py3-none-any.whl (38.8 kB view hashes)

Uploaded Python 2 Python 3

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