I would personally just use plain python for this. It's totally possible to group things together using dicts and setdefault(). (Or, since it doesn't look like speed is an issue, just loop over the whole file every time you need to get info.)
It may be though that you think a lot more in terms of "foreign keys", in which case you could create a model for it and then run queries on it. Django could also provide you with a "quick and dirty web client" if you wanted it.