Metadata-Version: 2.0
Name: mongo-export-index-clean
Version: 1.0.0
Summary: Utility to clean records from a mongodb bson export file with too large fields for indexes.
Home-page: https://github.com/sverrirab/mongo-export-index-clean
Author: Sverrir Á. Berg <sab@keilir.com>
Author-email: UNKNOWN
License: Apache
Description-Content-Type: UNKNOWN
Keywords: mongo,mongodb,bson,index
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pymongo (==3.5.1)
Requires-Dist: future (==0.16.0)

mongo-export-index-clean
========================

Remove records from a MongoDB bson export ( `www.mongodb.com`_ ) that violates index size restrictions.

A change in MongoDB version 2.6 means that older exports will fail to import properly because older releases simply
ignored records with fields that exceeded the index size restrictions.

This utility takes an export and removes the records that violates the size restriction (or duplicate unique index).


.. _www.mongodb.com: https://www.mongodb.com/

Getting started
---------------

.. code:: bash

    pip install mongo-export-index-clean

    cd testdata

    mongo-export-index-clean myfile.bson

The utility will remove records  a .bad

Source code and feedback
------------------------

Fully open sourced with `Apache License`_ on `github.com/sverrirab/mongo-export-index-clean`_ including issue tracking.

.. _Apache License: https://github.com/sverrirab/mongo-export-index-clean/blob/master/LICENSE.rst
.. _github.com/sverrirab/mongo-export-index-clean: https://github.com/sverrirab/mongo-export-index-clean


