h5py API reference
87 public APIs from h5py (h5py/h5py) — 25 classes, 19 functions, 43 methods. Signatures extracted by static analysis of the actual source.
Repository: h5py/h5py
| Kind | Count |
|---|---|
| Classes | 25 |
| Functions | 19 |
| Methods | 43 |
API list
class
api_gen.LineRepresents one line from the api_functions.txt file.
func
ci.fix_paths.main()Copy HDF5 DLLs into installed h5py package
func
docs_api.automod.getsig(docstring)Get (sig, return) from a docstring, or None.
func
docs_api.automod.replace_param(istr)Replace parameter lists.
class
h5py._hl.attrs.AttributeManagerAllows dictionary-style access to an HDF5 object's attributes.
func
h5py._hl.attrs.AttributeManager.iter_cb(name, *args)Callback to gather attribute names
class
h5py._hl.base.EmptyProxy object to represent empty/null dataspaces (a.k.a H5S_NULL).
class
h5py._hl.base.HLObjectBase class for high-level interface objects.
method
h5py._hl.base.HLObject.attrs()Attributes attached to this object
method
h5py._hl.base.HLObject.id()Low-level identifier appropriate for this object
method
h5py._hl.base.HLObject.name()Return the full name of this object.
method
h5py._hl.base.HLObject.parent()Return the parent group of this object.
method
h5py._hl.base.HLObject.ref()An (opaque) HDF5 reference to this object
method
h5py._hl.base.HLObject.regionref()Create a region reference (Datasets only).
class
h5py._hl.base.ItemsViewHDF5Wraps e.g.
class
h5py._hl.base.ValuesViewHDF5Wraps e.g.
func
h5py._hl.base.default_lapl()Default link access property list
func
h5py._hl.base.default_lcpl()Default link creation property list
func
h5py._hl.base.is_empty_dataspace(obj)Check if an object's dataspace is empty
func
h5py._hl.compat.filename_decode(filename)Decode filename used by HDF5 library.
func
h5py._hl.compat.filename_encode(filename)Encode filename for use in the HDF5 library.
class
h5py._hl.dataset.AsStrViewWrapper to decode strings on reading the dataset
class
h5py._hl.dataset.AsTypeViewWrapper to convert data on reading from a dataset.
class
h5py._hl.dataset.ChunkIteratorClass to iterate through list of chunks of a given dataset
class
h5py._hl.dataset.CollectiveContextManages collective I/O in MPI mode
class
h5py._hl.dataset.DatasetRepresents an HDF5 dataset
method
h5py._hl.dataset.Dataset.chunks()Dataset chunks (or None)
method
h5py._hl.dataset.Dataset.compression()Compression strategy (or None)
method
h5py._hl.dataset.Dataset.compression_opts()Compression setting.
method
h5py._hl.dataset.Dataset.dtype()Numpy dtype representing the datatype
method
h5py._hl.dataset.Dataset.external()External file settings.
method
h5py._hl.dataset.Dataset.fillvalue()Fill value for this dataset (0 by default)
method
h5py._hl.dataset.Dataset.fletcher32()Fletcher32 filter is present (T/F)
method
h5py._hl.dataset.Dataset.is_virtual()Check if this is a virtual dataset
method
h5py._hl.dataset.Dataset.iter_chunks(sel=None)Return chunk iterator.
method
h5py._hl.dataset.Dataset.len()The size of the first axis.
method
h5py._hl.dataset.Dataset.scaleoffset()Scale/offset filter settings.
method
h5py._hl.dataset.Dataset.shuffle()Shuffle filter present (T/F)
class
h5py._hl.dataset.FieldsViewWrapper to extract named fields from a dataset with a struct dtype
class
h5py._hl.datatype.DatatypeRepresents an HDF5 named datatype stored in a file.
method
h5py._hl.datatype.Datatype.dtype()Numpy dtype equivalent for this datatype
class
h5py._hl.dims.DimensionManagerRepresents a collection of dimension associated with a dataset.
class
h5py._hl.dims.DimensionProxyRepresents an HDF5 "dimension".
method
h5py._hl.dims.DimensionProxy.attach_scale(dset)Attach a scale to this dimension.
method
h5py._hl.dims.DimensionProxy.detach_scale(dset)Remove a scale from this dimension.
func
h5py._hl.dims.DimensionProxy.f(dsid)Iterate over scales to find a matching name
method
h5py._hl.dims.DimensionProxy.label()Get or set the dimension scale label
class
h5py._hl.files.FileRepresents an HDF5 file.
method
h5py._hl.files.File.atomic()Set/get MPI-IO atomic mode
method
h5py._hl.files.File.attrs()Attributes attached to this object
method
h5py._hl.files.File.close()Close the file.
method
h5py._hl.files.File.driver()Low-level HDF5 file driver used to open file
method
h5py._hl.files.File.filename()File name on disk
method
h5py._hl.files.File.flush()Tell the HDF5 library to flush its buffers.
method
h5py._hl.files.File.meta_block_size()Meta block size (in bytes)
method
h5py._hl.files.File.mode()Python mode used to open file
method
h5py._hl.files.File.swmr_mode()Controls single-writer multiple-reader mode
method
h5py._hl.files.File.userblock_size()User block size (in bytes)
func
h5py._hl.files.register_driver(name, set_fapl)Register a custom driver.
func
h5py._hl.files.unregister_driver(name)Unregister a custom driver.
func
h5py._hl.filters.rq_tuple(tpl, name)Check if chunks/maxshape match dataset rank
class
h5py._hl.group.ExternalLinkRepresents an HDF5 external link.
method
h5py._hl.group.ExternalLink.path()Soft link path, i.e.
class
h5py._hl.group.GroupRepresents an HDF5 group.
method
h5py._hl.group.Group.copy(source, dest, name=None, shallow=False, expand_soft=False, expand_external=False, expand_refs=False, without_attrs=False)Copy an object or group.
method
h5py._hl.group.Group.create_dataset_like(name, other, **kwupdate)Create a dataset similar to `other`.
method
h5py._hl.group.Group.create_group(name, track_order=None, *track_times=False)Create and return a new subgroup.
method
h5py._hl.group.Group.move(source, dest)Move a link to a new location in the file.
method
h5py._hl.group.Group.visititems_links(func)Recursively visit links in this group.
class
h5py._hl.group.HardLinkRepresents a hard link in an HDF5 file.
class
h5py._hl.group.SoftLinkRepresents a symbolic ("soft") link in an HDF5 file.
method
h5py._hl.group.SoftLink.path()Soft link value.
class
h5py._hl.selections.PointSelectionRepresents a point-wise selection.
class
h5py._hl.selections.SelectionBase class for HDF5 dataspace selections.
method
h5py._hl.selections.Selection.broadcast(source_shape)Get an iterable for broadcasting
method
h5py._hl.selections.Selection.id()SpaceID instance
method
h5py._hl.selections.Selection.nselect()Number of elements currently selected
method
h5py._hl.selections.Selection.shape()Shape of whole dataspace
class
h5py._hl.selections2.ScalarReadSelectionImplements slicing for scalar datasets.
func
h5py._hl.selections2.read_dtypes(dataset_dtype, names)Returns a 2-tuple containing: 1.
func
h5py._hl.selections2.read_selections_scalar(dsid, args)Returns a 2-tuple containing: 1.
func
h5py._hl.selections2.select_read(fspace, args)Top-level dispatch function for reading.
class
h5py._hl.vds.VirtualLayoutObject for building a virtual dataset.
class
h5py._hl.vds.VirtualSourceSource definition for virtual data sets.
func
h5py.ipy_completer.load_ipython_extension(ip=None)Load completer function into IPython
func
setup_configure.load_stashed_config()Load settings dict from the pickle file
func
setup_configure.stash_config(dct)Save settings dict to the pickle file.
About this data
These signatures were extracted from the public source of h5py/h5py
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.