some basic python data tools