Following advice / benchmarking at https://lh3.github.io/2020/05/17/fast-high-level-programming-languages try https://github.com/lmdu/pyfastx