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

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.4
File Size Uploaded Provenance Actions
ckanext_dc_view-1.0.4.tar.gz 657.6 kB Without provenance Details for ckanext_dc_view-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / ckanext_dc_view-1.0.4.tar.gz

Download URL ckanext_dc_view-1.0.4.tar.gz
Size 657.6 kB
Tags Source
SHA-256 checksum
How to use checksums
638bb2fff8de1e11e285751c971cc248dbf58f9c65cf26c9afba5913c1151766
BLAKE2b-256 checksum
How to use checksums
abd545d679d8a97fb02eec3ee40f864fbfb87cda7aac6f418c2bfb3e35211433
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.4-py3-none-any.whl

Download URL ckanext_dc_view-1.0.4-py3-none-any.whl
Size 656.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4600ad900b80982cbf2637bd4307d29f017ee4e47d7de134774306842d815f9
BLAKE2b-256 checksum
How to use checksums
bbfd5416918b65d6951f846a6b101a77b258de84a480dee4e8bb4e2af0069551
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.4

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