Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 480 Bytes

README.org

File metadata and controls

21 lines (14 loc) · 480 Bytes

Shapely produces compact human-readable representations of nested collections, with some special treatment for tensors, numpy arrays etc.

Usage:

from shapely import shape, Shape
Shape.MAXLEN = 3

coll = [list(range(100)), {i:(i+1) for i in range(25)}]
print(shape(coll))