devel/py-python-box 7.4.1
Python dictionaries with advanced dot notation access
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
e35d1fc7a7- License
- MIT
- Categories
- devel, python
- Package size
- 630.6 KiB, 7474.0 KiB installed
Description
Box is a Python dictionary subclass that provides dot notation access to its keys, while behaving like a standard dict in every other respect.
It supports conversion helpers for JSON, YAML, TOML and msgpack, along with frozen, default and transformation box types.
Install
As a binary package — by origin, or by package name:
pkg install devel/py-python-box
pkg install py312-python-box
From the ports tree:
cd /usr/ports/devel/py-python-box/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-python-box>0:devel/py-python-box
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 | 7.4.1 | 7.4.1 | - | - | 7.4.1 |
| FreeBSD:14:quarterly | 7.4.1 | 7.4.1 | n/a | - | 7.4.1 |
| FreeBSD:15:latest | 7.4.1 | 7.4.1 | n/a | - | - |
| FreeBSD:15:quarterly | 7.4.1 | 7.4.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 7.4.1 | 7.4.1 | 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 1
${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Test 4
${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.0: devel/py-msgpack${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.19.1: devel/py-ruamel.yaml${PYTHON_PKGNAMEPREFIX}tomli-w>=0: textproc/py-tomli-w${PYTHON_PKGNAMEPREFIX}toon-format>=0: textproc/py-toon-format
The full lists below include those, and their dependencies in turn.
All build dependencies 17
All run dependencies 7
Required by 2
Configuration
Options name: devel_python-box
| Option | Default | Description |
|---|---|---|
| MSGPACK | off | MessagePack serialization support |
| TOML | off | TOML format or parser support |
| YAML | off | YAML format or parser support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| python_box-7.4.1.tar.gz | 49859 | e412e36c25fca8223560516d53ef6c7993591c3b0ec8bb4ec582bf7defdd79f0 |
Master sites 1
- PYPI
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
e35d1fc7a7 |
Pete Diamond | devel/py-python-box: new port Box is a Python dictionary subclass that provides dot notation access to
its keys, while behaving like a standard dict in every other respect.
It supports conversion helpers for JSON, YAML, TOML and msgpack, along
with frozen, default and transformation box types.
Co-authored-by: Michael Osipov <[email protected]>
PR: 298696 |