Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install zw.schema

How to install zw.schema

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install zw.schema
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3.0b2.1 Available View build log
Windows (64-bit)
0.3.0b2.1 Available View build log
Mac OS X (10.5+)
0.3.0b2.1 Available View build log
Linux (32-bit)
0.3.0b2.1 Available View build log
Linux (64-bit)
0.3.0b2.1 Available View build log
 
Author
License
GPLv3
Depended by
Lastest release
version 0.3.0b2.1 on Jan 5th, 2011

Zaehlwerk Fields

  • Color field
  • Reference field
  • Rich text 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

Reference Field

Rich text Field

The text contained in the field describes a rich field in HTML format. Let's first generate a such a field:

>>> from zw.schema.richtext import RichText
>>> richtext = RichText()

CHANGES

Version 0.3.0b2.1 (2008-10-06)

  • fixed a packaging error
Version 0.3.0b2 (2008-06-17)
  • added: Reference and RichText field
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

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.