Skip to main content

DKIST library for generating quality report pdf

Project description

dkist-quality

codecov

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


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-2.0.0rc1.tar.gz (120.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dkist_quality-2.0.0rc1-py3-none-any.whl (117.2 kB view details)

Uploaded Python 3

File details

Details for the file dkist_quality-2.0.0rc1.tar.gz.

File metadata

  • Download URL: dkist_quality-2.0.0rc1.tar.gz
  • Upload date:
  • Size: 120.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for dkist_quality-2.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 ee8b04c819c21ba311ff080a16465b7853b4d7ca22ad7b6f0c0c7fc0de9de31c
MD5 508cafea664bc9a8cd7ceb94d2d9593c
BLAKE2b-256 a61676d3608b1f5e815d02aaa3647d15fb824dc27f841fa8985e5765fc7646ea

See more details on using hashes here.

File details

Details for the file dkist_quality-2.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for dkist_quality-2.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 e61fb6f1877aea857c8dda6218616409b5aab1fbcc9ac035a073e93e21a8596a
MD5 774175b23873208f8662775d64b32d8d
BLAKE2b-256 aa77293557661e3229970c85931976af2864a3981ec37fc7014c20a63fb1cda3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page