File: np_utils.py

package info (click to toggle)
json-tricks 3.17.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 2,319; makefile: 159
file content (15 lines) | stat: -rw-r--r-- 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

"""
This file exists for backward compatibility reasons.
"""

from .utils import hashodict, get_scalar_repr, encode_scalars_inplace
from .utils import NoNumpyException
from . import np

# try:
# 	from numpy import generic, complex64, complex128
# except ImportError:
# 	raise NoNumpyException('Could not load numpy, maybe it is not installed?')