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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1.9 | 0.1.9 | - | 0.1.7_1 | 0.1.9 |
| FreeBSD:14:quarterly | 0.1.9 | 0.1.9 | n/a | 0.1.7_1 | 0.1.9 |
| FreeBSD:15:latest | 0.1.9 | 0.1.9 | n/a | 0.1.7_1 | 0.1.7_1 |
| FreeBSD:15:quarterly | 0.1.9 | 0.1.9 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1.9 | 0.1.9 | 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 2
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling${PYTHON_PKGNAMEPREFIX}uv-dynamic-versioning>=0: devel/py-uv-dynamic-versioning
Runtime 2
${PYTHON_PKGNAMEPREFIX}docstring_parser>=0.15<1: textproc/py-docstring_parser${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0: devel/py-typing-extensions
The full lists below include those, and their dependencies in turn.
All build dependencies 25
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-Jinja2
- devel/py-babel
- devel/py-build
- devel/py-dunamai
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/py-uv-dynamic-versioning
- devel/readline
- devel/uv
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-markupsafe
- textproc/py-tomlkit
All run dependencies 16
Required by 2
Configuration
Options name: devel_simple-parsing
| Option | Default | Description |
|---|---|---|
| TOML | on | TOML format or parser support |
| YAML | on | YAML format or parser support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| simple_parsing-0.1.9.tar.gz | 256330 | 0ff184ebaa6606420989ddbcb5650b21c62e2a59ec5388bc76c3343bda872cde |
Master sites 1
- PYPI