mirror of
https://github.com/simonw/dclient.git
synced 2026-07-23 09:24:31 +02:00
A client CLI utility for Datasette instances
- Python 99.7%
- Just 0.3%
| .github/workflows | ||
| dclient | ||
| docs | ||
| tests | ||
| .gitignore | ||
| Justfile | ||
| LICENSE | ||
| README.md | ||
| setup.py | ||
dclient
A client CLI utility for Datasette instances
Installation
Install this tool using pip:
pip install dclient
If you want to install it in the same virtual environment as Datasette (to use it as a plugin) you can instead run:
datasette install dclient
Running a query
dclient query https://latest.datasette.io/fixtures "select * from facetable limit 1"
Documentation
Visit dclient.datasette.io for full documentation on using this tool.
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