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.3.tar.gz (8.0 MB 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.3-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_mlc_theme-1.0.3.tar.gz.

File metadata

  • Download URL: ckanext_mlc_theme-1.0.3.tar.gz
  • Upload date:
  • Size: 8.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for ckanext_mlc_theme-1.0.3.tar.gz
Algorithm Hash digest
SHA256 023baaf0177c07805883c686461d0d57551b8574d0173be1d9433914f7b46328
MD5 769d3f726633bf623d776ab42f26598a
BLAKE2b-256 fd64e2e11857f24e34c6bc4bcc7d0c6f5a97c00b7b6836ac834ad339e4c0deb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ckanext_mlc_theme-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 215dd762699c03b6d356203c1391bb029a5121e1802b4643aacf822ae3e3860a
MD5 19121dc2f78d7160091f7d013ec60a6a
BLAKE2b-256 8e750f9faae2c472be8f105ba80b189c8a76afc710ccd21c24717c37bbcff637

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

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