DKIST library for generating quality report pdf
Project description
dkist-quality
Provides the ability to create a pdf quality report from structured quality data.
Sample Usage
from dkist_quality.report import format_report
def create_quality_report(report_data: dict | list[dict], dataset_id: str) -> bytes:
"""
Generate a quality report in pdf format.
:param report_data: Quality data for the dataset.
:param dataset_id: The dataset id.
:return: quality report in pdf format
"""
return format_report(report_data=report_data, dataset_id=dataset_id)
Developer Setup
pip install -e .[test]
pip install pre-commit
pre-commit install
License
This project is Copyright (c) NSO / AURA and licensed under the terms of the BSD 3-Clause license. This package is based upon the Openastronomy packaging guide which is licensed under the BSD 3-clause licence. See the licenses folder for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dkist_quality-1.0.1.tar.gz
(116.4 kB
view hashes)
Built Distribution
dkist_quality-1.0.1-py3-none-any.whl
(113.3 kB
view hashes)
Close
Hashes for dkist_quality-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2e5fc18a8ebf64c4f505d9a87a1691ca523e7e02bac4507c9bd8bf0f1636b9b |
|
MD5 | 7190464f6e7591b5147ac83d378243b2 |
|
BLAKE2b-256 | 2f3f8c3184c317116cd00c55ca29166bf84494cfe41e6bf6a4d6efcd1c175d35 |