Skip to main content

HTML form management and validation

Project description

Flatland maps between rich, structured Python application data and the string-oriented flat namespace of web forms, key/value stores, text files and user input. Flatland provides a schema-driven mapping toolkit with optional data validation.

Flatland is great for:

  • Collecting, validating, re-displaying and processing HTML form data
  • Dealing with rich structures (lists, dicts, lists of dicts, etc.) in web data
  • Validating JSON, YAML, and other structured formats
  • Associating arbitrary Python types with JSON, .ini, or sys.argv members that would otherwise deserialize as simple strings.
  • Reusing a single data schema for HTML, JSON apis, RPC, …

The core of the flatland toolkit is a flexible and extensible declarative schema system representing many data types and structures.

A validation system and library of schema-aware validators is also provided, with rich i18n capabilities for use in HTML, network APIs and other environments where user-facing messaging is required.

Availability

The hg flatland tip can be installed via easy_install flatland==dev.

Project details


Release history Release notifications

History Node

0.4.post2

History Node

0.4.post1.dev40550160

History Node

0.4

History Node

0.3

This version
History Node

0.2

History Node

0.1.post2.dev128296736

History Node

0.1.post1.dev169702827

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
flatland-fork-0.2.tar.gz (114.7 kB) Copy SHA256 hash SHA256 Source None Aug 27, 2014
flatland-fork-0.2.zip (150.6 kB) Copy SHA256 hash SHA256 Source None Sep 26, 2014

Supported by

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