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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-flatland | 1.0.0 |
| DragonFly | devel/py-flatland | 0.9.1_1 |
| HardenedBSD | devel/py-flatland | 1.0.0 |
| GhostBSD | devel/py-flatland | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.0 | 1.0.0 | - | 0.9.1_1 | 1.0.0 |
| FreeBSD:14:quarterly | 1.0.0 | 1.0.0 | n/a | 0.9.1_1 | 1.0.0 |
| FreeBSD:15:latest | 1.0.0 | 1.0.0 | n/a | 0.9.1_1 | 0.9.1_1 |
| FreeBSD:15:quarterly | 1.0.0 | 1.0.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.0 | 1.0.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}blinker>=0: devel/py-blinker
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
| File | Size | SHA256 |
|---|---|---|
| flatland-1.0.0.tar.gz | 313289 | 179488455b906b204bb12bf6996211cea3ab6e8d12e3604511b8904e6f0d7c74 |
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.