ckanext-json-viewer
A CKAN extension that provides an interactive JSON viewer for resource visualization, powered by json-viewer.
Features
- Interactive JSON visualization with collapsible tree structure
- Syntax highlighting for better readability
- Easy navigation through complex JSON data
- Seamless integration with CKAN's resource views
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 and earlier | not tested |
| 2.10+ | yes |
Installation
Install from source
pip install -e .
Or use pip
pip install ckanext-json-viewer
Enable the plugin and the view in your CKAN config file:
ckan.plugins = json_viewer
ckan.views.default_views = json_viewer
Config settings
Tests
To run the tests, do:
pytest --ckan-ini=test.ini
License
Metadata
Release files for ckanext-json-viewer 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ckanext_json_viewer-1.0.4.tar.gz | 130.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_json_viewer-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 163.3 kB
Release files / ckanext_json_viewer-1.0.4.tar.gz
| Download URL | ckanext_json_viewer-1.0.4.tar.gz |
|---|---|
| Size | 130.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da2d2bf35f3cabd4b71f50eaff870f361562e02d961b3877b09eb2a76198e3f4
|
|
BLAKE2b-256 checksum How to use checksums |
35954a085129ba9536674aa6845601ffe2817015423f93f77db5fa8d11467e36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / ckanext_json_viewer-1.0.4-py3-none-any.whl
| Download URL | ckanext_json_viewer-1.0.4-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68f1fd0c567f5c0fdf41b4870c2e136ce23f7938575d9eb5d497d05ea38039be
|
|
BLAKE2b-256 checksum How to use checksums |
df4a267f8b48c727d11f2e854977df737a7bdb92423409371e478e7ecfef8281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|