Skip to main content

Tests

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

Homepage Mockup / Screenshot Placeholder

Dataset Search / Registry page

Dataset Search Mockup / Screenshot Placeholder

Dataset Detail page

Dataset Detail Mockup / Screenshot Placeholder


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-theming to 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

AGPL-3.0

Download files

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

Source Distribution

ckanext_mlc_theme-1.0.1.tar.gz (263.2 kB view details)

Uploaded Source

Built Distribution

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

ckanext_mlc_theme-1.0.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

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

Hashes for ckanext_mlc_theme-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9291301ff1aadc800285ad67c906d67e29d2b28ef265584522d7616a5be2d678
MD5 7cf371a159079f8a299caa94db313738
BLAKE2b-256 938577388596c89b56beaad16f594e9432f10c519b3fae8748396d21610eb566

See more details on using hashes here.

File details

Details for the file ckanext_mlc_theme-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_mlc_theme-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ff418865acd1a9465d5b36af374f1c31fff2813de6f3d7a6a6b47f6ac2c176c
MD5 182d6820dc5a114ec607351efbc7d1fe
BLAKE2b-256 5270f5ac38893b175cb9a3e3b977de0ca416b537695eb2136a11ff41247cb679

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

1.0.2

2 files

This release

1.0.1 This release

2 files

Supported by

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