notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-flatland HTML form management and validation
0.9.1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.9.1Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-20 12:15:39
Last Update: 2024-09-20 12:14:32
Commit Hash: b200081
Also Listed In: python
License: MIT
WWW:
https://github.com/discorporate/flatland/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}flatland>0:devel/py-flatland@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-flatland/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-flatland
  • pkg install py311-flatland
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-flatland listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-flatland
Package flavors (<flavor>: <package>)
  • py311: py311-flatland
distinfo:
TIMESTAMP = 1726833553 SHA256 (flatland-0.9.1.tar.gz) = 4e352911690bd8c056f4a6a558dee9ac4126bedbbb53a0bc2fd107ca155dac12 SIZE (flatland-0.9.1.tar.gz) = 468887

Packages (timestamps in pop-ups are UTC):
py311-flatland
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.9.1--0.9.1---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.9.1--0.9.1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest0.9.10.9.1n/a0.9.1n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools-scm>=0 : devel/py-setuptools-scm@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  4. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-blinker>=0 : devel/py-blinker@py311
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
This port is required by:
for Run
  1. www/moin2

Configuration Options:
No options to configure
Options name:
devel_py-flatland
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/f/flatland/
  2. https://pypi.org/packages/source/f/flatland/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.1
20 Sep 2024 12:14:32
commit hash: b20008107022df3026a9e71fd468dc3625f6ac29commit hash: b20008107022df3026a9e71fd468dc3625f6ac29commit hash: b20008107022df3026a9e71fd468dc3625f6ac29commit hash: b20008107022df3026a9e71fd468dc3625f6ac29 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/py-flatland: New port

HTML form management and validation

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
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1