Limiting tsharks /tmp file uses pipes to address the issue in 2013 question. pyshark may help with the python integration.