Skip to main content

ckanext-dcor_theme

PyPI Version Build Status Coverage Status

The CKAN theme of DCOR. What this plugin does:

  • remove the language selection from footer.html

  • remove links from footer.html

  • set the title of the page to “DCOR”

  • insert a custom about text

  • remove social media buttons

  • change icons / logo

  • use i18n to change the terms “Organization” -> “Circle”, “Group” -> “Collection”, etc.:

    ckan dcor-theme-i18n-branding
  • create a custom theme based on the default main.css file (hide action buttons (Fullscreen, Embed) in resource view via css, change colors) using:

    ckan dcor-theme-main-css-branding
  • patch CKAN templates with minor changes that would be too complicated to implement with jinja templating:

    ckan dcor-patch-ckan-templates

Installation

pip install ckanext-dcor_theme

Edit ckan.ini:

ckan.plugins = [...] dcor_theme

and run the dcor-i18n-hack command:

ckan -c /etc/ckan/default/ckan.ini dcor-i18n-hack

Then, edit ckan.ini again:

ckan.locale_default = en_US

Testing

If CKAN/DCOR is installed and setup for testing, this extension can be tested with pytest:

pytest ckanext

Testing is implemented via GitHub Actions. You may also set up a local docker container with CKAN and MinIO. Take a look at the GitHub Actions workflow for more information.

Metadata

Release files for ckanext-dcor-theme 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ckanext-dcor-theme 1.1.5
File Size Uploaded Provenance Actions
ckanext_dcor_theme-1.1.5.tar.gz 7.7 MB Without provenance Details for ckanext_dcor_theme-1.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-dcor-theme 1.1.5
File Interpreter ABI Platform Actions
ckanext_dcor_theme-1.1.5-py3-none-any.whl Python 3 none any Details for ckanext_dcor_theme-1.1.5-py3-none-any.whl

Total release size: 15.3 MB

Release files / ckanext_dcor_theme-1.1.5.tar.gz

Download URL ckanext_dcor_theme-1.1.5.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
f7a9bcb676098c5865e5034527b8e221937ceb415080cbae08862d1ac63e0bcf
BLAKE2b-256 checksum
How to use checksums
1d95e1e5857fd770bec5b4b5eecf22d4f428dd5bf9310931cedc19c170bd7777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ckanext_dcor_theme-1.1.5-py3-none-any.whl

Download URL ckanext_dcor_theme-1.1.5-py3-none-any.whl
Size 7.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dc16514c528af0f65d267ee4dc96bcaf1b4da937dcdcb41d70fb9d4c2c8108d5
BLAKE2b-256 checksum
How to use checksums
d76d4df0f2d4f5685e05153ee147c8c88e9aa3daa3049843a52e2abc0faf367b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for ckanext-dcor-theme 1.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page