In pymongo, prior to V3.0 , you use insert for both single-document and bulk inserts. If you pass in a document, it performs a single insert, and if you pass in another iterative (list, generator), it performs bulk insert.
insert_many() did not exist in pimongo before V3.0.
In pymongo V3.0, they introduced insert_many and insert_one , and the use of plain insert is deprecated.
source share