BSD Ports

devel/py-tlv8 0.10.0nb1 NetBSD

Type-Length-Value8 (TLV8) for Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
apache-2.0
Categories
devel, python
Package size
18.5 KiB, 88.5 KiB installed

Description

Type-Length-Value8 (TLV8) for python

Type-Length-Value (TLV) are used to encode arbitrary data. In this case the type and length are represented by 1 byte each. Hence the name TLV8.

A TLV8 entry consists of the following parts: * the type: this 8 bit field denotes the type of information that is represented by the data. * the length: this 8 bit field denotes the length of the data (this does not include the 2 bytes for type and length. For data longer than 255 bytes, there is a defined procedure available. * the value: these length bytes represent the value of this TLV. The different types of data is represented differently: * bytes: this is raw binary data and will be used as is, no further interpretation takes place * tlv8: this is a specialized case of bytes values. Using this instead of pure bytes enables nesting of data and creating a hierarchy. * integer: integers are stored in little-endian byte order and are encoded with the minimal number of bytes possible (1, 2, 4 or 8) * float: floats are stored as little-endian ieee754 numbers * string: strings are always UTF-8 encoded and do not contain the terminating NULL byte

In the other systems

SystemPortVersion
NetBSDdevel/py-tlv80.10.0nb1
DragonFlyconverters/py-tlv80.10.0

Install

Binary package:

pkgin install py311-tlv8

From pkgsrc:

cd /usr/pkgsrc/devel/py-tlv8 && 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.10.0nb1
NetBSD 10.1 aarch640.10.0nb1
SmartOS / illumos x86_640.10.0nb1
macOS 15 arm640.10.0nb1

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-tlv8-0.10.0nb1, py313-tlv8-0.10.0nb1, py314-tlv8-0.10.0nb1