hooks.native_reader_hooks API#

This page documents the hooks.native_reader_hooks package.

Functions#

Function Reference#

hook_read_ascii_csv#

HydraForge_Windows11.hooks.native_reader_hooks.hook_read_ascii_csv(data)[source]#

Post-processing hook for read_ascii_csv().

This hook runs automatically after the native C++ reader returns.

Current behavior#

  • Injects a metadata field into the returned dataset

  • Marks the data source as coming from the C++ reader hook

param data:

Parsed dataset returned by the native reader.

type data:

dict

returns:

The same dataset, augmented with metadata.

rtype:

dict

hook_read_ascii_csv_rs#

HydraForge_Windows11.hooks.native_reader_hooks.hook_read_ascii_csv_rs(data)[source]#

Post-processing hook for read_ascii_csv_rs().

This hook runs automatically after the native Rust reader returns.

Current behavior#

  • Injects a metadata field into the returned dataset

  • Marks the data source as coming from the Rust reader hook

param data:

Parsed dataset returned by the native reader.

type data:

dict

returns:

The same dataset, augmented with metadata.

rtype:

dict