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

Uploaded Source

File details

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

File metadata

  • Download URL: flatland-0.9.0.tar.gz
  • Upload date:
  • Size: 468.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for flatland-0.9.0.tar.gz
Algorithm Hash digest
SHA256 13c223ed313e7f8a70d9a3ec7639b21639683882837e9392378ff97476efc7c1
MD5 841b604247066e61c0d360255bef47a4
BLAKE2b-256 be7aa710cd75d8c77788b3a4ffda380e422d706f4dc84f073b0604b81ca52b4a

See more details on using hashes here.

Provenance

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