Skip to main content

A CKAN extension that lets you attach a flexible, schema-free data dictionary (“resource documentation”) to any resource, not just Datastore-backed ones.

Project description

Tests

A CKAN extension that lets you attach a flexible, schema-free data dictionary (resource documentation) to any resource, not just Datastore-backed ones. It supports custom fields via extensions, reuses CKAN’s existing data dictionary UI, and displays documentation directly on resource pages. Future versions will optionally allow attaching and validating against a defined schema for a resource.

⚠️ Warning: This extension is currently in active development. Features and APIs may change without notice.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.9 and earlier no
2.10+ yes

Installation

To install ckanext-resource-docs:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate
    
  2. Install the extension from PyPI:

    pip install ckanext-resource-docs
    
  3. Add resource_docs to the ckan.plugins setting in your CKAN config file (usually located at /etc/ckan/default/ckan.ini).

  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-resource-docs for development, activate your CKAN virtualenv and do:

git clone https://github.com/DataShades/ckanext-resource-docs.git
cd ckanext-resource-docs
pip install -e .

Tests

To run the tests, do:

pytest --ckan-ini=test.ini

License

AGPL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext_resource_docs-0.1.0.tar.gz (332.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckanext_resource_docs-0.1.0-py3-none-any.whl (335.8 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_resource_docs-0.1.0.tar.gz.

File metadata

  • Download URL: ckanext_resource_docs-0.1.0.tar.gz
  • Upload date:
  • Size: 332.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for ckanext_resource_docs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 023a42b7c6903e047e7ac16e64a0f5178aa9c656d5b26f74adf0a4a8a9a291d8
MD5 b58273abc6a7866677bdda78576bd0b5
BLAKE2b-256 e4231b77001797d27db9e4582aa0e652623d32ac4465390588b367e3626d6731

See more details on using hashes here.

File details

Details for the file ckanext_resource_docs-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_resource_docs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fba083131133f5172db49c89248d3bfd3b82de008a40f3a5d3ff6dbc67a226b1
MD5 e7c6546f6e30672111c8a5d8f4f1891a
BLAKE2b-256 0acc3dff14a43be76ec7ea9b9f8be672e135c8f6203c85942e73161f133b2563

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page