core

module of dascore.io source

Base functionality for reading, writing, determining file formats, and scanning Das Data.

Functions

Name Description
get_format Return the file’s format name and version.
is_directory_format Return True if a directory is itself one FiberIO scan unit.
make_scan_payload Build one normalized FiberIO scan payload.
read Read a fiber file.
scan Scan a potential patch source and return its patch summaries.
scan_payloads Scan a potential patch source and return full coordinate payloads.
scan_to_df Scan a path, return a dataframe of contents.
source_identity Return what a source is: its canonical path, its size and its mtime.
write Write a Patch or Spool to disk.

Classes

Name Description
FiberIO Interface for a fiber data format; subclass it to add format support.
ScanPayload The structured payload contract returned by FiberIO.scan().