Open aiwebb opened 1 year ago
Oh great minds think alike! I did the same thing (let chatgpt4 translate it), ran mypyc on it so it runs at native speed and published it pypi.
I also translated the unit tests & added some more stress testing & compared it against the 2 other python libraries that do much the same thing.
https://gist.github.com/aiwebb/cea116f09b7a5413177158d6f2e88749
Couldn't find any existing Python solutions that handled the problem quite as well as this library – ijson is the closest, but unfortunately discards incomplete fields at the end – so I ported it and it's working very well. Dropping here for discoverability.