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).
Getting started
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.
Metadata
Release files for mongo-export-index-clean 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mongo-export-index-clean-1.0.0.tar.gz | 3.4 kB | Without provenance | Details for mongo-export-index-clean-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mongo_export_index_clean-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for mongo_export_index_clean-1.0.0-py2.py3-none-any.whl |
Total release size: 8.8 kB
Release files / mongo-export-index-clean-1.0.0.tar.gz
| Download URL | mongo-export-index-clean-1.0.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52ff15d71e7843be83c827420146a025a10556b8333bb50851f830df430ef02f
|
|
BLAKE2b-256 checksum How to use checksums |
3541f167e9607da4067645cae05f5d876c7bbef18bf3ecb98abc3ea11f90be27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mongo_export_index_clean-1.0.0-py2.py3-none-any.whl
| Download URL | mongo_export_index_clean-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
21beea19ab01960162d16a666ccc775f64909c08ab491078ed1863a84d6d6e42
|
|
BLAKE2b-256 checksum How to use checksums |
0de5aefd77bc53ffaa20c7394677df5ddc527ccb1c4e40309cd277a14668006f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mongo-export-index-clean 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.