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
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:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate -
Install the extension from PyPI:
pip install ckanext-resource-docs
-
Add
resource_docsto theckan.pluginssetting in your CKAN config file (usually located at/etc/ckan/default/ckan.ini). -
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
023a42b7c6903e047e7ac16e64a0f5178aa9c656d5b26f74adf0a4a8a9a291d8
|
|
| MD5 |
b58273abc6a7866677bdda78576bd0b5
|
|
| BLAKE2b-256 |
e4231b77001797d27db9e4582aa0e652623d32ac4465390588b367e3626d6731
|
File details
Details for the file ckanext_resource_docs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ckanext_resource_docs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 335.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fba083131133f5172db49c89248d3bfd3b82de008a40f3a5d3ff6dbc67a226b1
|
|
| MD5 |
e7c6546f6e30672111c8a5d8f4f1891a
|
|
| BLAKE2b-256 |
0acc3dff14a43be76ec7ea9b9f8be672e135c8f6203c85942e73161f133b2563
|