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.
Links
Docs: https://flatland.readthedocs.io/
Repo / issue tracking: https://github.com/discorporate/flatland
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
File details
Details for the file flatland-0.9.1.tar.gz
.
File metadata
- Download URL: flatland-0.9.1.tar.gz
- Upload date:
- Size: 468.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e352911690bd8c056f4a6a558dee9ac4126bedbbb53a0bc2fd107ca155dac12 |
|
MD5 | f80c17bc9e27f08be7271cba0d9af7a5 |
|
BLAKE2b-256 | 7eb521d4a5270cd3eddd53412fc8d4889c926a3b860089c07634f796a59e3b13 |