BSD Ports

textproc/py-parse_type 0.6.6 NetBSD

Simplifies to build parse types based on the parse module

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
textproc, python
Package size
45.8 KiB, 258.8 KiB installed

Description

parse_type extends the parse module (opposite of string.format()) with the following features: * build type converters for common use cases (enum/mapping, choice) * build a type converter with a cardinality constraint (0..1, 0..*, 1..*) from the type converter with cardinality=1. * compose a type converter from other type converters * an extended parser that supports the CardinalityField naming schema and creates missing type variants (0..1, 0..*, 1..*) from the primary type converter

Install

Binary package:

pkgin install py311-parse_type

From pkgsrc:

cd /usr/pkgsrc/textproc/py-parse_type && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_640.6.6
NetBSD 10.1 aarch640.6.6
SmartOS / illumos x86_640.6.6
macOS 15 arm640.6.6

Dependencies

Run dependencies 3
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-parse_type-0.6.6, py313-parse_type-0.6.6, py314-parse_type-0.6.6