A client CLI utility for Datasette instances
Project description
dclient
A client CLI utility for Datasette instances
Installation
Install this tool using pip
:
pip install dclient
Usage
For help, run:
dclient --help
You can also use:
python -m dclient --help
dclient query
Usage: dclient query [OPTIONS] URL SQL
Run a SQL query against a Datasette database URL
Returns a JSON array of objects
Options:
--help Show this message and exit.
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd dclient
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
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
dclient-0.1a0.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file dclient-0.1a0.tar.gz
.
File metadata
- Download URL: dclient-0.1a0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 779108de83e3904fd1574c9f9abaa8f02ae0051dd9653cde66f07e37ad93f3cc |
|
MD5 | 7e4e5fa731729f78eab837506588c1e9 |
|
BLAKE2b-256 | 1df1f057f35a0650c1bca3d0c4c294819d64557019c8df3e2cad253e01397138 |
File details
Details for the file dclient-0.1a0-py3-none-any.whl
.
File metadata
- Download URL: dclient-0.1a0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072e1128c7c7a4173f99c3b0f1f90ca8573554eec08e4e5b47770350425d4d19 |
|
MD5 | 42b9fd9db6f46a40d701ba119fd6d78a |
|
BLAKE2b-256 | 912e2709c6f3b0b044cecd8b58c7437116b69ac5eec7a92d7e1eea6690452f9f |