.. _file_src_cpp_bindings.cpp: File bindings.cpp ================= |exhale_lsh| :ref:`Parent directory ` (``src/cpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Python bindings for the :ref:`namespace_noLZSS` factorization library. .. contents:: Contents :local: :backlinks: none Definition (``src/cpp/bindings.cpp``) ------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_src_cpp_bindings.cpp.rst 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`` (:ref:`file_src_cpp_factorizer.hpp`) - ``fasta_processor.hpp`` (:ref:`file_src_cpp_fasta_processor.hpp`) - ``pybind11/pybind11.h`` - ``pybind11/pytypes.h`` - ``pybind11/stl.h`` - ``stdexcept`` - ``string`` - ``string_view`` - ``version.hpp`` (:ref:`file_src_cpp_version.hpp`) Functions --------- - :ref:`exhale_function_bindings_8cpp_1aff86e8e8ccd0e9441d5bb18f4997f34c`