BSD Ports

devel/py-flatland 1.0.0 FreeBSD

HTML form management and validation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
130.3 KiB, 795.1 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdevel/py-flatland1.0.0
DragonFlydevel/py-flatland0.9.1_1
HardenedBSDdevel/py-flatland1.0.0
GhostBSDdevel/py-flatland1.0.0

Install

Binary package:

pkg install py312-flatland

From the ports tree:

cd /usr/ports/devel/py-flatland/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-flatland>0:devel/py-flatland

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.01.0.0-0.9.1_11.0.0
FreeBSD:14:quarterly1.0.01.0.0n/a0.9.1_11.0.0
FreeBSD:15:latest1.0.01.0.0n/a0.9.1_10.9.1_1
FreeBSD:15:quarterly1.0.01.0.0n/an/an/a
FreeBSD:16:latest1.0.01.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 8
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
flatland-1.0.0.tar.gz313289179488455b906b204bb12bf6996211cea3ab6e8d12e3604511b8904e6f0d7c74
Master sites 2
  • PYPI
  • https://github.com/discorporate/flatland/releases/download/1.0.0

Commit history 0

No commits in the history this site was built from.