BSD Ports

converters/py-fastbencode 0.3.11 NetBSD

Implementation of bencode with optional fast C extensions

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
gnu-gpl-v2
Categories
converters, python
Package size
239.9 KiB, 747.7 KiB installed

Description

fastbencode is an implementation of the bencode serialization format originally used by BitTorrent.

The package includes both a pure-Python version and an optional C extension based on Cython. Both provide the same functionality, but the C extension provides significantly better performance.

In the other systems

SystemPortVersion
NetBSDconverters/py-fastbencode0.3.11
DragonFlydevel/py-fastbencode0.2_1

Install

Binary package:

pkgin install py311-fastbencode

From pkgsrc:

cd /usr/pkgsrc/converters/py-fastbencode && make install clean

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-fastbencode-0.3.11, py313-fastbencode-0.3.11, py314-fastbencode-0.3.11

Commit history 2

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
180b51aefa adam py-fastbencode: updated to 0.3.11
0.3.11 Add optional max_depth argument to cap nesting depth when encoding and decoding (defaults to unlimited) Rust backend now encodes and decodes iteratively, avoiding native stack overflow on deeply nested input Add an encode/decode benchmark script Dependency updates (ruff, GitHub Actions)