zope.schema 4.2.0

zope.interface extension for defining data schemas
zope.schema is intended to be independently reusable in any Python project. It is maintained by the Zope Toolkit project.

Schemas extend the notion of interfaces to detailed descriptions of Attributes (but not methods). Every schema is an interface and specifies the public fields of an object. A field roughly corresponds to an attribute of a python object. But a Field provides space for at least a title and a description. It can also constrain its value and provide a validation method. Besides you can optionally specify characteristics such as its value being read-only or not required.

Zope 3 schemas were born when Jim Fulton and Martijn Faassen thought about Formulator for Zope 3 and PropertySets while at the Zope 3 sprint at the Zope BBQ in Berlin. They realized that if you strip all view logic from forms then you have something similar to interfaces. And thus schemas were born.

last updated on:
May 17th, 2012, 12:33 GMT
license type:
ZPL (Zope Public License) 
developed by:
Zope Corporation and Contributors
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • Automated build of Sphinx HTML docs and running doctest snippets via tox.
  • Dropped explicit support for Python 3.1.
  • Introduce NativeString and NativeStringLine which are equal to Bytes and BytesLine on Python 2 and Text and TextLine on Python 3.
  • Change IURI from a Bytes string to a "native" string. This is a backwards incompatibility which only affects Python 3.
read full changelog

Add your review!