Skip to main content
https://travis-ci.org/SFB-ELAINE/ckanext-vtkjs.svg?branch=master

ckanext-vtkjs

This is a CKAN extension that provides views for STL, VTP, VTI, and VTK PolyData files, as well as ZIP archives containing OBJ files.

Requirements

Tested with CKAN 2.9.0a.

Installation

To install ckanext-vtkjs:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
  2. Install the ckanext-vtkjs Python package into your virtual environment:

    pip install ckanext-vtkjs
  3. Add vtkjs to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini). Do not add vtkjs to the list of default views - the plugin automatically adds itself as a view to any resource it can display, and adding it to the list of default views causes it to be added to some types of resources that it cannot display.

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

Config settings

None at present.

Developer installation

To install ckanext-vtkjs for development, activate your CKAN virtualenv and do:

git clone https://github.com//ckanext-vtkjs.git
cd ckanext-vtkjs
python setup.py develop
pip install -r dev-requirements.txt

Tests

To run the tests, do:

nosetests --nologcapture --with-pylons=test.ini

To run the tests and produce a coverage report, first make sure you have coverage installed in your virtualenv (pip install coverage) then run:

nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.vtkjs --cover-inclusive --cover-erase --cover-tests

Release files for ckanext-vtkjs 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ckanext-vtkjs 0.0.1
File Size Uploaded
ckanext-vtkjs-0.0.1.tar.gz 1.8 MB Details

Release files / ckanext-vtkjs-0.0.1.tar.gz

Download URL ckanext-vtkjs-0.0.1.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
f533fb69b86afdf83fe6c7e039ef4e7bfa068afcfbaf53b48c7cca3321632073
BLAKE2b-256 checksum
How to use checksums
d13b5bc9f563a7c3b58eb488096b07d1b57c579dd147808f24c3703cdb5f4ebb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page