Extension ARK


Extension Basics

Title
ARK
Name
ckanext-ark
Type
Public extension
Description
A CKAN extension for assigning ARK identifiers to datasets
CKAN versions
Download-Url (zip)
Last commit
9 months ago (2025-03-31 05:28:40)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

License Tests Codecov Python CKAN CKAN

ckanext-ark

This extension provides minter and resolver of the ARK Identifier. Inspired by ckanext-doi.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.8 and earlier no
2.9 yes
2.10 yes

This extension is compatible with Python 3.8, 3.9, and 3.10.

Installation

To install ckanext-ark:

  1. Activate your CKAN virtual environment, for example:
  . /usr/lib/ckan/default/bin/activate
  1. Install the ckanext-ark Python package into your virtual environment:
  pip install ckanext-ark
  1. Add ark to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  2. Add a file templates/package/read_base.html in your custom extension (or modify /usr/lib/ckan/default/src/ckan/ckan/templates/package/read_base.html if you are not using a custom extension):

  {% ckan_extends %}

  {% block secondary_content %}
    {{ super() }}
    {% snippet "ark/snippets/ark.html" %}
  {% endblock %}
  1. Restart CKAN. For example if you’ve deployed CKAN with Apache on
Version
1.0.4
Version release date
2025-03-31
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-ark:

  1. Activate your CKAN virtual environment, for example:
  . /usr/lib/ckan/default/bin/activate
  1. Install the ckanext-ark Python package into your virtual environment:
  pip install ckanext-ark
  1. Add ark to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  2. Add a file templates/package/read_base.html in your custom extension (or modify `/usr/lib/ckan/de

Plugins to configure (ckan.ini)
ark
CKAN Settings (ckan.ini)
# ckanext.ark.naan = 99999 # This NAAN is for test purpose only
DB migration to be executed
(not set)
<< back to Extensions