Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for zw.schema, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size zw.schema-0.2.2.tar.gz (17.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page