Dependencies

An effort has been made to keep the number of dependencies to a minimum.

Python

Name Version License
sqlparse 0.4.0 BSD
  • sqlparse is used for SQL formatting

Python - Optional Dependencies

Name Version License
celery >=3.1,<4 BSD
django-celery >=3.3.1 BSD
Factory Boy >=3.1.0 MIT
xlsxwriter >=1.3.6 BSD
boto >=2.49 MIT
  • Factory Boy is required for tests
  • celery is required for the ‘email’ feature, and for snapshots
  • boto is required for snapshots
  • xlsxwriter is required for Excel export (csv still works fine without it)

JavaScript

Name Version License
Twitter Boostrap 3.3.6 MIT
jQuery 2.1.4 MIT
jQuery Cookie 1.4.1 MIT
jQuery UI 1.11.4 MIT
Underscore 1.7.0 MIT
Codemirror 5.15.2 MIT
floatThead 1.4.0 MIT
list.js 1.2.0 MIT
pivottable.js 2.0.2 MIT
  • All are served locally, with jQuery UI being a custom build.

pivottable.js relies on jQuery UI but only for the Sortable method.

Tests

Factory Boy is needed if you’d like to run the tests, which can you do easily:

python manage.py test

and with coverage:

coverage run --source='.' manage.py test

then:

coverage report

…97%! Huzzah!

Running Locally

There is also a test_project that you can use to kick the tires. Just create a new virtualenv, cd into test_project and run start.sh (or walk through the steps yourself) to get a test instance of the app up and running.