Funny, we tried probably your solution for imports? urschrei/pyzotero is yours?
Failed all the time. To be fair we got a lot of 5xx, so maybe we were just out of luck.
Anyway time ran out with that project.
I can imagine many reasons why attempting to create 17k items via the web API without some kind of batch processing and/or rate limiting may not have been a successful endeavour.