pyfinite provides finite field operations and erasure correction codes (Reed-Solomon). Current version is 1.9.1; maintenance mode with rare updates.
pip install pyfiniteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: create a finite field, multiply elements, and use Reed-Solomon erasure coding.
Use RSCodec(k, n-k) where k = number of data symbols, n = total symbols. For example, 4 data + 2 parity = 6 total, call RSCodec(4,2).
Convert bytes to list of ints before passing to ffield or rscodec: list(bytes_obj).
Consider using the 'reedsolo' library for production erasure coding applications.
Use 'from pyfinite import ffield' then 'ffield.FField'.
Wrap the integer in a list: rs.Encode([value]) or pass a list of symbols.
Ensure degree >= 1: FField(degree) where degree is integer > 0.
No dependency data recorded yet.