formats ¶
Concrete formats of
Daf
data sets.
- dafpy.formats. memory_daf ( jl_obj: Julia: MemoryDaf | None = None , * , name: str = 'memory' ) DafWriter [source] ¶
-
Simple in-memory storage. See the Julia documentation for details.
- dafpy.formats. files_daf ( path : str , mode : str = 'r' , * , name : str | None = None ) DafReadOnly | DafWriter [source] ¶
-
A
Dafstorage format in disk files. See the Julia documentation for details.
- dafpy.formats. h5df ( root: str | Julia: HDF5.File | Julia: HDF5.Group , mode: str = 'r' , * , name: str | None = None ) DafReadOnly | DafWriter [source] ¶
-
A
Dafstorage format in an HDF5 disk file. See the Julia documentation for details.Note that if you want to open the
HDF5file yourself (e.g., to access a specific group in it as aDafdata set), you will need to use the Julia API to do so, in order to pass the result here. That is, the current PythonDafAPI does not support using the PythonHDF5API. This is because theDafPython API is just a thin wrapper for the JuliaDafimplementation, which doesn’t “speak Python”.
- dafpy.formats. chain_reader ( dsets : Sequence [ DafReader ] , * , name : str | None = None ) DafReadOnly [source] ¶
-
Create a read-only chain wrapper of
DafReader, presenting them as a singleDafReader. See the Julia documentation for details.
- dafpy.formats. chain_writer ( dsets : Sequence [ DafReader ] , * , name : str | None = None ) DafWriter [source] ¶
-
Create a chain wrapper for a chain of
DafReaderdata, presenting them as a singleDafWriter. See the Julia documentation for details.
- dafpy.formats. complete_daf ( path : str , mode : str = 'r' , * , name : str | None = None ) DafReadOnly | DafWriter [source] ¶
-
Open a complete chain of
Dafrepositories by ttracing back through thebase_daf_repository. See the Julia documentation for details.