exactcli
Install
pipx install sashimi
But you may use pip as well.
Config example
Config file is either .env in current directory or override it with SASHIMI_DOTENV=/path/file env variable.
config example:
SASHIMI_PROJECT=http://localhost:8000/ds/sandbox
SASHIMI_TOKEN=envtoken
These defaults will make your commands shorter.
Database support
# postgresql
pip install psycopg2
# mariadb / mysql
pip install mysqlclient
Usage
Get info about your project and datasets
exactcli --info
Upload new JSON file to project
exactcli --upload ~/repo/exact/tests/products.json --ds products --keypath products
Query it
exactcli --ds products --expr 'True' --sort price --limit 1
exactcli --ds products --expr 'brand=="Apple" and price<1000' --fields id brand title description price
exactcli --ds products --filter brand=\"Apple\" price__lt=2000
exactcli --ds products --filter 'brand="Apple"' price__lt=2000
Metadata
Release files for sashimi-cli 0.0.8
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 | |
|---|---|---|---|---|
| sashimi_cli-0.0.8.tar.gz | 1.6 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sashimi_cli-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / sashimi_cli-0.0.8.tar.gz
| Download URL | sashimi_cli-0.0.8.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7af0ddf8b092fcbb5de8e91fec8e48eb716c5b1e113643f65be8ed83f8dcc86
|
|
BLAKE2b-256 checksum How to use checksums |
6ac4d70a4d97c406493e72f9db75022869d3786db32effddcdc37c46e1a74e6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|
Release files / sashimi_cli-0.0.8-py3-none-any.whl
| Download URL | sashimi_cli-0.0.8-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a9cefd7d11b3cebf35b8ee5120036b1326c3ce9488e566eafc8e71b4dc6164f
|
|
BLAKE2b-256 checksum How to use checksums |
37ce9e797d876f36916a01d268f2ca7adf19dcd0facfbe5941b00b24099fb620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|
Security for sashimi-cli 0.0.8
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.