File bindings.cpp
↰ Parent directory (src/cpp)
Python bindings for the Namespace noLZSS factorization library.
Definition (src/cpp/bindings.cpp)
Detailed Description
This file contains the Python bindings for the non-overlapping Lempel-Ziv-Storer-Szymanski factorization algorithm. The bindings provide both in-memory and file-based factorization capabilities with proper GIL management for performance.
The module exposes the following functions:
factorize(): Factorize in-memory text
factorize_file(): Factorize text from file
count_factors(): Count factors in text
count_factors_file(): Count factors in file
write_factors_binary_file(): Write factors to binary file
Includes
factorizer.hpp(File factorizer.hpp)fasta_processor.hpp(File fasta_processor.hpp)parallel_fasta_processor.hpp(File parallel_fasta_processor.hpp)pybind11/pybind11.hpybind11/pytypes.hpybind11/stl.hstdexceptstringstring_view