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


Download files

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

Source Distribution

flatland-fork-0.1.post2.dev128296736.tar.gz (116.2 kB view details)

Uploaded Source

File details

Details for the file flatland-fork-0.1.post2.dev128296736.tar.gz.

File metadata

File hashes

Hashes for flatland-fork-0.1.post2.dev128296736.tar.gz
Algorithm Hash digest
SHA256 048578605bed632b0556279d2699f11baeb973b9c6bba602e4c1d33bf47acd8a
MD5 b38e3d5fb0dd7d7cb2926da27324ae94
BLAKE2b-256 3d42148651c9cfff6d81ab2b189c0f473c041234d1219a3004f20d0f19476036

See more details on using hashes here.

Supported by

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