Hello Hadiyana,
If you can transform bundler output in the required format, then it's easier to follow this way, since Python is quite slow and processing hundreds of thousands of points will take quite a long time.
However, if you wish I can send you a sample Python script that should work in the described way (at least I hope so), just PM your e-mail address.