Extension ANDS DOI


Extension Basics

Title
ANDS DOI
Name
ckanext-ands
Type
Public extension
Description
Enables submission of ANDS DOI requests for datasets and direct DOI assignment by sysadmins.
CKAN versions
Download-Url (zip)
Last commit
9 years ago (2016-06-03 02:27:31)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

ckanext-ands

Allows submission of ANDS DOI requests for datasets.

Users can submit a DOI request which only sends an email to defined admins. Sysadmins can directly add a DOI to a dataset from the Dataset’s page via ANDS API.

Requirements

Tested with CKAN 2.5.1

Installation

To install ckanext-ands:

  1. Activate your CKAN virtual environment, for example:

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

    pip install ckanext-ands
    
  3. Add ands to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini).

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

    sudo service apache2 reload
    

Config Settings

The following are required:

ckanext.ands.DOI_API_KEY = xxyyzz
ckanext.ands.shared_secret = asdfasdf
ckanext.ands.support_emails = example@test.com,example2@test.com
ckanext.ands.publisher = 'A publisher'
ckanext.ands.client_id = 123123

The following are optional (defaults are shown):

ckanext.ands.doi_prefix = 10.5072/
ckanext.ands.debug = False
ckanext.ands.debug_url = http://example.com
Version
0.0.8
Version release date
2015-01-01
Contact name
Louis des Landes
Contakt email
Contact Url


Installation Guide

Configuration hints

Requires an ANDS API Key and Shared Secret. Email addresses for DOI request notifications must be configured.

Plugins to configure (ckan.ini)
ands
CKAN Settings (ckan.ini)
# ckanext.ands.DOI_API_KEY = xxyyzz
# ckanext.ands.shared_secret = asdfasdf
# ckanext.ands.support_emails = example@test.com,example2@test.com
# ckanext.ands.publisher = 'A publisher'
# ckanext.ands.client_id = 123123
# ckanext.ands.doi_prefix = 10.5072/
# ckanext.ands.debug = False
# ckanext.ands.debug_url = http://example.com
DB migration to be executed
(not set)
<< back to Extensions