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.0rc2.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-1.3.0rc2-py3-none-any.whl (117.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dkist_quality-1.3.0rc2.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-1.3.0rc2.tar.gz
Algorithm Hash digest
SHA256 846b18c1563bcc60cf1ba7fed97f03f12945a88021636a41dafe7bbe90cf0c99
MD5 d441cab6246c034c9199b2f25a1ad1aa
BLAKE2b-256 a896492ac1fd46139da850864a7043acd09aaa789e4b32377d025070ce1661c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dkist_quality-1.3.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 dbb62d722a02f781e8fbae44524ebe56f55aa0fd48301bc08ec025a66e7e3248
MD5 a6acc7b45bb748ac333060b14f8dc2d8
BLAKE2b-256 e75408524245a98999062334fccab59ef6aeea62859576cf5e452748c3f79651

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