sonq
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 -
Metadata
Release files for sonq 0.1.2
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 |
|---|---|---|---|---|
| sonq-0.1.2.tar.gz | 3.9 kB | Without provenance | Details for sonq-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonq-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sonq-0.1.2-py2.py3-none-any.whl |
Total release size: 9.7 kB
Release files / sonq-0.1.2.tar.gz
| Download URL | sonq-0.1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44bb42bf9f235a04f32bb6183335e3cebdda61ae4f603dfd2dd10b660c0da8eb
|
|
BLAKE2b-256 checksum How to use checksums |
b17fe7780671598b6bdcf147c14ddfda7a5a3b5aa4f2a4709702571214e3168e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Release files / sonq-0.1.2-py2.py3-none-any.whl
| Download URL | sonq-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
911d016718d733f4e0336a05807b0bf7a306e6cbdcb95a7b2dc9975d50f916c0
|
|
BLAKE2b-256 checksum How to use checksums |
9b4eb08575ee3276b1b1aa63c64c7c6baef2674b2e4b9b1f0628b611cacba8f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for sonq 0.1.2
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.