sys.getsizeof({'number_of_legs': 4, 'favourite_food': ['Lasagna', 'Fish']})
from collections import namedtuple
Animal = namedtuple('Animal', 'number_of_legs favourite_food')
sys.getsizeof(Animal(4, ['Lasagna', 'Fish']))
Grouping constants in python