from __future__ import absolute_import

# Expose types and functions directly from the Cython/C++ module
from dynd._pydynd import w_array as array, \
        as_py, as_numpy, zeros, ones, full, empty, empty_like, range, \
        linspace, fields, groupby, elwise_map, \
        parse_json, format_json, debug_repr, \
        BroadcastError, type_of, dtype_of, dshape_of, ndim_of, \
        view, asarray

# All the builtin elementwise gfuncs
#from elwise_gfuncs import *

# All the builtin elementwise reduce gfuncs
#from elwise_reduce_gfuncs import *

from .computed_fields import add_computed_fields, make_computed_fields
from .array_functions import squeeze

from . import vm
