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
Metadata
Release files for ckanext-mlc-theme 1.0.3
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_mlc_theme-1.0.3.tar.gz | 8.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_mlc_theme-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 MB
Release files / ckanext_mlc_theme-1.0.3.tar.gz
| Download URL | ckanext_mlc_theme-1.0.3.tar.gz |
|---|---|
| Size | 8.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
023baaf0177c07805883c686461d0d57551b8574d0173be1d9433914f7b46328
|
|
BLAKE2b-256 checksum How to use checksums |
fd64e2e11857f24e34c6bc4bcc7d0c6f5a97c00b7b6836ac834ad339e4c0deb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / ckanext_mlc_theme-1.0.3-py3-none-any.whl
| Download URL | ckanext_mlc_theme-1.0.3-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
215dd762699c03b6d356203c1391bb029a5121e1802b4643aacf822ae3e3860a
|
|
BLAKE2b-256 checksum How to use checksums |
8e750f9faae2c472be8f105ba80b189c8a76afc710ccd21c24717c37bbcff637
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|