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.

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-0.8.1.tar.gz (477.6 kB view details)

Uploaded Source

File details

Details for the file flatland-0.8.1.tar.gz.

File metadata

  • Download URL: flatland-0.8.1.tar.gz
  • Upload date:
  • Size: 477.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for flatland-0.8.1.tar.gz
Algorithm Hash digest
SHA256 a6bbd95522fd4287576022739655ff2091563841ed2b0d7e196fa32d4753ccaa
MD5 aca2d7f8dbded2b3fb0ff9f20b591ae1
BLAKE2b-256 d13bd1d66d452216335b30254de5a7be0d638dfa054acbfc2f7570e3061b9b09

See more details on using hashes here.

Supported by

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