datasette-chartjs
Chart.js integration for datasette
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-chartjs
Usage
Usage instructions go here.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
$ cd datasette-chartjs
$ python3 -mvenv venv
(venv)$ source venv/bin/activate
Or if you are using pipenv
:
$ pipenv shell
Now install the dependencies and tests:
(venv)$ pip install -e '.[dev,test]'
To run the tests:
(venv)$ pytest
The project also uses pre-commit for linting and formatting of source code:
(venv)$ pre-commit install -t pre-commit -t pre-push --install-hooks