yieldplotlib.core.file_nodes#
Base module for all common file-type nodes.
Classes#
A generic node for handling files. |
|
Represents a CSV file and its associated data. |
|
Node for handling JSON files and their associated data. |
|
Node for handling generic pickle files and their associated data. |
|
Node for handling generic fits files and their associated data. |
Module Contents#
- class yieldplotlib.core.file_nodes.FileNode(file_path)[source]#
Bases:
yieldplotlib.core.node.NodeA generic node for handling files.
- Parameters:
file_path (pathlib.Path)
- get(key, **kwargs)[source]#
Translate the key and delegate to the subclass-specific _get method.
- Parameters:
key (str)
- class yieldplotlib.core.file_nodes.CSVFile(file_path)[source]#
Bases:
FileNodeRepresents a CSV file and its associated data.
- Parameters:
file_path (pathlib.Path)
- class yieldplotlib.core.file_nodes.JSONFile(file_path)[source]#
Bases:
FileNodeNode for handling JSON files and their associated data.
- Parameters:
file_path (pathlib.Path)
- class yieldplotlib.core.file_nodes.PickleFile(file_path)[source]#
Bases:
FileNodeNode for handling generic pickle files and their associated data.
- Parameters:
file_path (pathlib.Path)