tables_io.lazy_modules

Lazy loading modules

Attributes

tables

The Tables Module

apTable

The Astropy Tables Module

apDiffUtils

The Astropy Utils Diff Module

fits

The Astropy FITS module

h5py

The H5PY Module

pa

The PyArrow Module

pd

The Pandas Module

pq

The PyArrow Parquet Module

ds

The PyArrow Dataset Module

jnp

The JAX Numpy Module

json

The JSON Module

Classes

LazyModule

A partial implementation of a lazily imported module.

Functions

lazyImport(modulename)

Lazily load a module

Module Contents

class LazyModule(name)[source]

A partial implementation of a lazily imported module.

This isn’t a general solution, since it doesn’t actually create a module-like object, but the LazyLoader solution in importlib seems not to cope with submodules like astropy.table, or pyarrow.parquet, and always imports the full module.

__dir__()[source]

Get the attributes of the module, to support tab-autocomplete.

__getattr__(item)[source]

Get something from the module

lazyImport(modulename)[source]

Lazily load a module

tables[source]

The Tables Module

apTable[source]

The Astropy Tables Module

apDiffUtils[source]

The Astropy Utils Diff Module

fits[source]

The Astropy FITS module

h5py[source]

The H5PY Module

pa[source]

The PyArrow Module

pd[source]

The Pandas Module

pq[source]

The PyArrow Parquet Module

ds[source]

The PyArrow Dataset Module

jnp[source]

The JAX Numpy Module

json[source]

The JSON Module