Converts mongo shell JSON output to a valid JSON or a Python object
Project description
mongo2json
Converts mongo shell JSON output to a valid JSON or a Python object
Installation:
pip install mongo2json
Usage:
import mongo2json
data = mongo2json.loads(open('mongo_export.json').read())
Warning! Current implementation is slow as hell!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mongo2json-1.0.0.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file mongo2json-1.0.0.tar.gz
.
File metadata
- Download URL: mongo2json-1.0.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b9201de2ca13fcbc27541208b780fd73f2528adbba8bee1263ecfd30db7c957 |
|
MD5 | bba533a8ee53f63b892fe44dc9702e97 |
|
BLAKE2b-256 | 3cc5da2502e104bf195a776ea921a1e2e7f81cc0faac8530d2b3ef1c37364b9e |
File details
Details for the file mongo2json-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: mongo2json-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e23afe51f50676a2eb8197b4293021fd6031beac7c69e6ffa5e76c9fab90c16 |
|
MD5 | 25db1934282c83c745de45bbe1a81029 |
|
BLAKE2b-256 | 4ff1911c9c7f3ff431a13288800b3946a2d89a2efc87f983ee970b41f3755386 |