Skip to main content

Additional schema fields for Zope 3

Project description

Zaehlwerk Fields

  • Color field

  • Email field

Color Field

The string contained in the field describes a RGB color in hexdecimal format. Let’s first generate a color field:

>>> from zw.schema.color import Color
>>> color = Color()

Make sure the colors validate:

>>> color.validate('aa00cc')
>>> color.validate('00aa000')
Traceback (most recent call last):
InvalidColor: 00aa000


Version 0.2.2 (2008-04-14)

  • packaging bug fixed.

Version 0.2.1 (2008-04-13)

  • Remove email field. (It can be found in z3c.schema)

Version 0.2 (2008-04-11)

  • Added email field

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

zw.schema-0.2.2.tar.gz (17.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page