Python bindings with RaptorQ implementation.
You can find usage example in the /examples folder.
- Linux (x86_64, arm64)
- MacOS (x86_64m arm64)
- Windows (x86_64)
pip install pyraptorq
- Compile shared library as described in cpp-raptorq/README.md
- Create instance of
RaptorQCppEngine
with path to shared library as argument and provide it toDecoder
andEncoder
.
from pyraptorq import Encoder, Decoder, RaptorQCppEngine
engine = RaptorQCppEngine('path_to_lib')
encoder = Encoder(b'data', 2, engine)
decoder = Decoder(2, 2, 4, engine)