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.2.0.tar.gz (117.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.2.0-py3-none-any.whl (113.5 kB view details)

Uploaded Python 3

File details

Details for the file dkist_quality-1.2.0.tar.gz.

File metadata

  • Download URL: dkist_quality-1.2.0.tar.gz
  • Upload date:
  • Size: 117.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for dkist_quality-1.2.0.tar.gz
Algorithm Hash digest
SHA256 237fd72e7248ccee17654414268d74598a62e6324a687897b82793d017398793
MD5 7d7e03479c47c482981666b049cca067
BLAKE2b-256 29cffe80cf5673e07abc098544787475fab356e0cb1f7b239130b87073a85218

See more details on using hashes here.

File details

Details for the file dkist_quality-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: dkist_quality-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 113.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for dkist_quality-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a32cb6fdfe09c81dbc5fbf2fffa42f739893be85b3070ca82cbbdcbe31b9cdf2
MD5 bf0d8078ce0dfc3b1840f68e66dde455
BLAKE2b-256 6c51292b3b1f8b4df66b070982e1c20a2960df5ab5c7a269b7cf2c5c2cf26fe4

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