Skip to main content

ckanext-dc_view

PyPI Version Build Status Coverage Status

A CKAN resource view for DC data. The preview includes metadata from the HDF5 attributes and a summary plot (scatter plot of brightness vs. area and image, contour, mask, and fluorescence data for one event). This plugin registers a background job for generating the overview plot after a DC resource has been created.

This extensione implements:

  • A default view for DC (mimetype) resources

  • A background job that generates the preview image

  • A background job that uploads preview images to the S3 object store

  • A route that makes the preview image available via “/dataset/{id}/resource/{resource_id}/preview.jpg”

  • CLI:

    • add CKAN command run-jobs-dc-view that runs all background jobs for all resources (if not already done)

Installation

pip install ckanext-dc_view

Add this extension to the plugins and defaul_views in ckan.ini:

ckan.plugins = [...] dc_view
ckan.views.default_views = [...] dc_view

Testing

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-dc-view 1.0.3

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-dc-view 1.0.3
File Size Uploaded Provenance Actions
ckanext_dc_view-1.0.3.tar.gz 656.6 kB Without provenance Details for ckanext_dc_view-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-dc-view 1.0.3
File Interpreter ABI Platform Actions
ckanext_dc_view-1.0.3-py3-none-any.whl Python 3 none any Details for ckanext_dc_view-1.0.3-py3-none-any.whl

Total release size: 1.3 MB

Release files / ckanext_dc_view-1.0.3.tar.gz

Download URL ckanext_dc_view-1.0.3.tar.gz
Size 656.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5e6cb887b85e01be811416d5bb6a8fd522fa9499e383ef9d8457ea87447ecbc3
BLAKE2b-256 checksum
How to use checksums
a8b8e7e061dec5b390772fab79534c75e1496f7e3395e1dd5d4d6e79d69d7b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / ckanext_dc_view-1.0.3-py3-none-any.whl

Download URL ckanext_dc_view-1.0.3-py3-none-any.whl
Size 654.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
846a11d109969ce612f9a34d9e3a43d7ff17f25143d31a255a41a63ab63b1cb2
BLAKE2b-256 checksum
How to use checksums
5400397ba48ece07316af7e09cca33fe828de6a85fdfadd83565fe5af262b137
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for ckanext-dc-view 1.0.3

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.0.3 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