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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sashimi_cli-0.0.8.tar.gz
(1.6 MB
view details)
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 sashimi_cli-0.0.8.tar.gz.
File metadata
- Download URL: sashimi_cli-0.0.8.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-httpx/0.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7af0ddf8b092fcbb5de8e91fec8e48eb716c5b1e113643f65be8ed83f8dcc86
|
|
| MD5 |
36482e7ab749af8fb9f567649900dd2b
|
|
| BLAKE2b-256 |
6ac4d70a4d97c406493e72f9db75022869d3786db32effddcdc37c46e1a74e6f
|
File details
Details for the file sashimi_cli-0.0.8-py3-none-any.whl.
File metadata
- Download URL: sashimi_cli-0.0.8-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-httpx/0.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a9cefd7d11b3cebf35b8ee5120036b1326c3ce9488e566eafc8e71b4dc6164f
|
|
| MD5 |
6fbcd2cdc7eccf82e06c84208d081407
|
|
| BLAKE2b-256 |
37ce9e797d876f36916a01d268f2ca7adf19dcd0facfbe5941b00b24099fb620
|