Skip to main content

flatland

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.

Metadata

Release files for flatland 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flatland 0.8.1
File Size Uploaded Provenance Actions
flatland-0.8.1.tar.gz 477.6 kB Without provenance Details for flatland-0.8.1.tar.gz

Release files / flatland-0.8.1.tar.gz

Download URL flatland-0.8.1.tar.gz
Size 477.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a6bbd95522fd4287576022739655ff2091563841ed2b0d7e196fa32d4753ccaa
BLAKE2b-256 checksum
How to use checksums
d13bd1d66d452216335b30254de5a7be0d638dfa054acbfc2f7570e3061b9b09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for flatland 0.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.1 This release

1 release file No provenance

0.0.2

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page