Instructions
This is a Python object inspector. Information is color-coded:
- Field name, list index, or dict key
- Value or summary of a variable.
- Type of a variable. Mouse hover will show full type with module name
Inspect your own Python object:
https://pypi.org/project/tree-inspector
object
-
object
SampleClass
6 fields
-
a_array
list[int]
Length 8
-
0
int
1
-
1
int
2
-
2
int
3
-
3
int
4
-
4
int
5
-
id
UUID
2 fields
-
int
int
5987577220985435455732223381950049443
-
is_safe
SafeUUID
SafeUUID.unknown
-
plain_numpy_array
ndarray[int64]
Shape (2, 10)
-
0
ndarray[int64]
Shape (10,)
-
0
int64
0
-
1
int64
1
-
2
int64
2
-
3
int64
3
-
4
int64
4
-
1
ndarray[int64]
Shape (10,)
-
0
int64
0
-
1
int64
1
-
2
int64
2
-
3
int64
3
-
4
int64
4
-
fancy_numpy_array
ndarray[[('name', '<U16'), ('grades', '<f8', (2,))]]
Shape (2,)
-
0
[('name', '<U16'), ('grades', '<f8', (2,))]
('Sarah', [8., 7.])
-
1
[('name', '<U16'), ('grades', '<f8', (2,))]
('John', [6., 7.])
-
some_tuple
tuple
('Hello', 'World', 2019)
-
some_dict
dict
Size 2