Skip to content

Compact, human-readable representations of nested/large collections

Notifications You must be signed in to change notification settings

indigoviolet/shapely

Repository files navigation

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))

About

Compact, human-readable representations of nested/large collections

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages