Utils Compatibility¶
fsspeckit.utils is a deprecated backwards-compatible facade. It re-exports a
fixed set of helpers from their canonical domain packages so that existing code
keeps working, but it is not a supported primary import route.
New code should import from the domain packages directly. The full mapping of legacy imports to canonical imports is on the Legacy Imports page.
What utils re-exports¶
The facade re-exports these symbols from their current homes:
- Logging:
setup_logging(fromfsspeckit.common.logging) - Parallelism:
run_parallel(fromfsspeckit.common.parallel) - Partitions:
get_partitions_from_path(fromfsspeckit.common.partitions) - Sync:
sync_dir,sync_files(fromfsspeckit.common.sync) - Type conversion:
dict_to_dataframe,to_pyarrow_table,convert_large_types_to_normal,opt_dtype_pl,opt_dtype_pa,cast_schema(fromfsspeckit.datasets.typesandfsspeckit.datasets.schema) - Polars:
pl(fromfsspeckit.datasets.polars) - Datasets:
DuckDBParquetHandler(alias forDuckDBDatasetIO, fromfsspeckit.datasets.duckdb) - Progress:
Progress(fromrich.progress)
What utils does not cover¶
The facade does not re-export storage-options classes, SQL filter functions, or filesystem factories. Import those from their domain packages:
Status¶
There is no generated API page for fsspeckit.utils. It is documented only
through Legacy Imports and this page. Prefer the canonical
imports listed there for all new and maintained code.