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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dkist_quality-1.2.0rc1.tar.gz.
File metadata
- Download URL: dkist_quality-1.2.0rc1.tar.gz
- Upload date:
- Size: 117.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0139cece8cdaa014077e69c9bb87a67e3c0778382862c27b544645603181276f
|
|
| MD5 |
6d165149671c9456e48570b1949deb13
|
|
| BLAKE2b-256 |
005732ad90a7d1e381ca5dde1b3a5f3d6dbe9035e8c55a3c9d91a4e6ebf0b2cb
|
File details
Details for the file dkist_quality-1.2.0rc1-py3-none-any.whl.
File metadata
- Download URL: dkist_quality-1.2.0rc1-py3-none-any.whl
- Upload date:
- Size: 113.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ccfa9de504f6d265e0db351207bec7622e29748d1bc498ec5f0efa4072d98bd
|
|
| MD5 |
0d0216a27476cd8f68e8fece20c3579c
|
|
| BLAKE2b-256 |
f458dacbd0eea4f36641c8f9f4538793c73c8f918469ae9a43efd1a300424342
|