Datasette plugin for visualizing data using Vega
  • JavaScript 65.4%
  • Python 15.7%
  • CSS 12.6%
  • HTML 6.3%
Find a file
Simon Willison e6c0fec074 Packaged everything up as a Datasette plugin
I used a variant on the pattern described here to run "npm run build" when
creating the wheel:

http://cra.mr/2014/12/19/distributing-js-with-python

To generate just the static assets (in datasette_vega/static) run this:

	python3 setup.py build_static

To build the package (and automatically run the above) do this:

	python3 setup.py bdist_wheel
2018-06-25 20:06:28 -07:00
datasette_vega Packaged everything up as a Datasette plugin 2018-06-25 20:06:28 -07:00
public First working version 2018-06-25 09:16:59 -07:00
src Scan for .export-link a[href=*json] and inject necessary markup 2018-06-25 20:05:14 -07:00
.gitignore Packaged everything up as a Datasette plugin 2018-06-25 20:06:28 -07:00
package.json First working version 2018-06-25 09:16:59 -07:00
README.md First working version 2018-06-25 09:16:59 -07:00
setup.py Packaged everything up as a Datasette plugin 2018-06-25 20:06:28 -07:00

datasette-vega

A Datasette plugin that provides tools for generating charts using Vega.