Skip to main content

ckanext-Dataset-Reference

This CKAN extension ables CKAN users to link references to their dataset. A reference can be a publication or another dataset. The extension embeds the added references to the target dataset view as a table of citations.

There are three ways to add a reference:

  • With the DOI number or link (look at http://dx.doi.org/)
  • With pasting the BibTex (http://www.bibtex.org/) citation metadata (Not implemented yet)
  • Manually adding the target reference metadata. (Not implemented yet)

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.9 Yes
earlier No

Installation

To install ckanext-Dataset-Reference:

  1. Activate your CKAN virtual environment, for example:

    > source /usr/lib/ckan/default/bin/activate
    > pip install ckanext-Dataset-Reference
    

OR, Clone the source and install it on the virtualenv (Suggested location: /usr/lib/ckan/default/src) :

    git clone https://github.com/TIBHannover/ckanext-Dataset-Reference.git
    cd ckanext-Dataset-Reference
    pip install -e .
    pip install -r requirements.txt
  1. Add dataset_reference to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  2. Upgrade the CKAN database to add the plugin table:

     ckan -c /etc/ckan/default/ckan.ini db upgrade -p dataset_reference
    
  3. Restart CKAN and supervisor. For example if you've deployed CKAN with nginx on Ubuntu:

     sudo service nginx reload
     sudo service supervisor reload
    

Tests

To run the tests, do:

pytest --ckan-ini=test.ini  --disable-pytest-warnings  ckanext/dataset_reference/tests/

Metadata

Release files for ckanext-Dataset-Reference 2.0.2

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-Dataset-Reference 2.0.2
File Size Uploaded Provenance Actions
ckanext-Dataset-Reference-2.0.2.tar.gz 24.9 kB Without provenance Details for ckanext-Dataset-Reference-2.0.2.tar.gz

Release files / ckanext-Dataset-Reference-2.0.2.tar.gz

Download URL ckanext-Dataset-Reference-2.0.2.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ae32f1184e1c3c067f17a15f53e0d63eca3662541734518fc1a49a6c7b30838e
BLAKE2b-256 checksum
How to use checksums
c48d2f18cdd1554b6ddd0ead14a31481fa11084b179704f1476fdf5faba44a8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for ckanext-Dataset-Reference 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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