Shapely produces compact human-readable representations of nested collections, with some special treatment for tensors, numpy arrays etc.
from shapely import shape, Shape
Shape.MAXLEN = 3
coll = [list(range(100)), {i:(i+1) for i in range(25)}]
print(shape(coll))