zope.schema 4.2.0

zope.interface extension for defining data schemas

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in zope.schema 4.2.0:

  • 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
send us
an update
LICENSE TYPE:
ZPL (Zope Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Zope Corporation and Contributors
HOMEPAGE:
pypi.python.org
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
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

requirements

#zope.interface extension #data schemas #zope.interface #extension #data #schemas

Add your review!

SUBMIT