No project description provided
Project description
sonq means son query, is tool for son like objects, for example, json and bson. You may use sonq to query .bson or newline separated .json files directly from command line.
Install
pip install sonq
Basic Usage
List the content of a .bson file
sonq source.bson
Query a .bson file
sonq -f '{"name": "Stark"}' source.bson
Convert query results to a newline separated .json file
sonq -f '{"name": "Stark"}' -o target.json source.bson
Convert json from stdin to .bson
echo '{"name": "Stark"}' | python3 -m sonq.cmd -o target.bson -
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sonq-0.1.2.tar.gz.
File metadata
- Download URL: sonq-0.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44bb42bf9f235a04f32bb6183335e3cebdda61ae4f603dfd2dd10b660c0da8eb
|
|
| MD5 |
6663c5f0f20d986258cb85d0a384d61e
|
|
| BLAKE2b-256 |
b17fe7780671598b6bdcf147c14ddfda7a5a3b5aa4f2a4709702571214e3168e
|
File details
Details for the file sonq-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: sonq-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
911d016718d733f4e0336a05807b0bf7a306e6cbdcb95a7b2dc9975d50f916c0
|
|
| MD5 |
3952d8e15bd5516747a199998bf13f39
|
|
| BLAKE2b-256 |
9b4eb08575ee3276b1b1aa63c64c7c6baef2674b2e4b9b1f0628b611cacba8f3
|