MLCommons CKAN theme
This CKAN theme is designed to be used with the ckanext-theming extension.
It provides a consistent and visually appealing look and feel for the CKAN portal. Designed for the MLCommons project.
Compatibility
| CKAN version | Compatible? |
|---|---|
| 2.11 and earlier | no |
| 2.12 | yes |
[!NOTE] This extension requires ckanext-theming to run.
Screenshots
Below are placeholders for screenshots of the MLC theme in action:
Homepage
Dataset Search / Registry page
Dataset Detail page
Installation
1. Install the Extension
Activate your CKAN virtual environment and install ckanext-mlc-theme and ckanext-theming:
pip install ckanext-theming
# Install ckanext-mlc-theme from source or pip
pip install -e .
Or for development/source installation:
git clone https://github.com/DataShades/ckanext-mlc-theme.git
cd ckanext-mlc-theme
pip install -e .
2. Enable main theme plugin
Add both theming and mlc_theme to the ckan.plugins list in your ckan.ini file:
ckan.plugins = ... theming mlc_theme
ckan.ui.theme = mlcommons-theme
ckan.ui.enable_theming_views = true
[!TIP] Consider pinning
ckanext-themingto a specific version (e.g.ckanext-theming==X.Y.Z) in your project's main requirements.
3. Enable override plugin
Add mlc_theme_override to the top of the ckan.plugins list in your ckan.ini file.
This allows the theme to override third-party extension templates in a compatible way.
Development
If you'd like to run the test suite, run:
pytest
License
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_mlc_theme-1.0.1.tar.gz.
File metadata
- Download URL: ckanext_mlc_theme-1.0.1.tar.gz
- Upload date:
- Size: 263.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9291301ff1aadc800285ad67c906d67e29d2b28ef265584522d7616a5be2d678
|
|
| MD5 |
7cf371a159079f8a299caa94db313738
|
|
| BLAKE2b-256 |
938577388596c89b56beaad16f594e9432f10c519b3fae8748396d21610eb566
|
File details
Details for the file ckanext_mlc_theme-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ckanext_mlc_theme-1.0.1-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ff418865acd1a9465d5b36af374f1c31fff2813de6f3d7a6a6b47f6ac2c176c
|
|
| MD5 |
182d6820dc5a114ec607351efbc7d1fe
|
|
| BLAKE2b-256 |
5270f5ac38893b175cb9a3e3b977de0ca416b537695eb2136a11ff41247cb679
|