Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markush/datasette-chartjs
https://github.com/markush/datasette-chartjs
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/markush/datasette-chartjs
- Owner: MarkusH
- Created: 2020-12-07T15:55:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T01:02:42.000Z (about 1 month ago)
- Last Synced: 2024-10-14T21:23:15.337Z (24 days ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# datasette-chartjs
[![PyPI](https://img.shields.io/pypi/v/datasette-chartjs.svg)](https://pypi.org/project/datasette-chartjs/)
[![Changelog](https://img.shields.io/github/v/release/MarkusH/datasette-chartjs?include_prereleases&label=changelog)](https://github.com/MarkusH/datasette-chartjs/releases)
[![Tests](https://github.com/MarkusH/datasette-chartjs/workflows/Test/badge.svg)](https://github.com/MarkusH/datasette-chartjs/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/MarkusH/datasette-chartjs/blob/main/LICENSE)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/activateOr 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](https://pre-commit.com/) for linting and formatting of source code:
(venv)$ pre-commit install -t pre-commit -t pre-push --install-hooks