Metadata-Version: 2.1
Name: mongodb-toolbox
Version: 0.0.4
Summary: Tools to automate mongodb read/write operations.
Home-page: https://github.com/lorien/mongodb_toolbox
Download-URL: https://github.com/lorien/mongodb_toolbox/releases
Author: Gregory Petukhov
Author-email: lorien@lorien.name
Maintainer: Gregory Petukhov
Maintainer-email: lorien@lorien.name
License: MIT
Keywords: mongodb database
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown

# MongoDB Toolbox

Tools to automate mongodb read/write operations.

Bulk Write Helpers:

* bulk\_write() -- function to execute a list of data operations
* BulkWriter -- class for accumulating and executing data operations
* bulk\_insert\_dup\_retok -- function to write list of insert operations and return list of keys which has been inserted
* bulk\_insert\_dup -- function to write list of insert operations ignoring any duplicate key error

Misc functions:

* iterate\_collection() -- function to iterate items in collecting by loading them by chunks

## Documentation

Docs are here https://mongodb-toolbox.readthedocs.io/en/latest/
