FreeBSD Ports

devel/py-simple-parsing 0.1.9

Small utility for simplifying and cleaning up argument parsing scripts

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
92a7c28f02
License
MIT
Categories
devel, python
Package size
229.7 KiB, 1211.7 KiB installed

Description

simple-parsing allows you to transform your ugly argparse scripts into beautifully structured, strongly typed little works of art. This isn't a fancy, complicated new command-line tool either, this simply adds new features to plain-old argparse! Using dataclasses, simple-parsing makes it easier to share and reuse command-line arguments - no more copy pasting!

Supports inheritance, nesting, easy serialization to json/yaml, automatic help strings from comments, and much more!

Install

As a binary package — by origin, or by package name:

pkg install devel/py-simple-parsing
pkg install py312-simple-parsing

From the ports tree:

cd /usr/ports/devel/py-simple-parsing/ && make install clean

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

RUN_DEPENDS=	py312-simple-parsing>0:devel/py-simple-parsing

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:latest0.1.90.1.9-0.1.7_10.1.9
FreeBSD:14:quarterly0.1.90.1.9n/a0.1.7_10.1.9
FreeBSD:15:latest0.1.90.1.9n/a0.1.7_10.1.7_1
FreeBSD:15:quarterly0.1.90.1.9n/an/an/a
FreeBSD:16:latest0.1.90.1.9n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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

All build dependencies 25
All run dependencies 16

Configuration

Options name: devel_simple-parsing

OptionDefaultDescription
TOMLonTOML format or parser support
YAMLonYAML format or parser support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
simple_parsing-0.1.9.tar.gz2563300ff184ebaa6606420989ddbcb5650b21c62e2a59ec5388bc76c3343bda872cde
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
92a7c28f02 Po-Chuan Hsieh devel/py-simple-parsing: Update to 0.1.9
Changes: https://github.com/lebrice/SimpleParsing/releases