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-1.3.0rc1.tar.gz (120.8 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-1.3.0rc1-py3-none-any.whl (117.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dkist_quality-1.3.0rc1.tar.gz
Algorithm Hash digest
SHA256 f9ef45e451c188bf692d5d1804c565f8860b8a28355da47e54edcfc10f3aa8d8
MD5 35c79c54646f91210b1f9f1dd4ba8133
BLAKE2b-256 25f21b9e41aa9202269910556511988ee3d05c9120496a447f7397ffa468fc98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dkist_quality-1.3.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 319ad3c70200b23637f83167a0e9be76d319e13cc6469ffa2b7675b48f1db17d
MD5 7b142967506ee786216a2aef38fd7948
BLAKE2b-256 ccfb5a7db3bbacd5cb5a95e3f4777561f5bc7c79bc8feea7e91afb147452c9ac

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