Skip to main content

Schema validation for MoonBit dashboard metric snapshots

This project has been quarantined.

PyPI Admins need to review this project before it can be restored. While in quarantine, the project is not installable by clients, and cannot be being modified by its maintainers.

Read more in the project in quarantine help article.

Project description

moonbit-metrics-validator

Schema validation for MoonBit dashboard metric snapshots.

Ensures that automatically fetched metric payloads conform to the expected schema before they are persisted to the database, preventing data corruption from malformed API responses.

Installation

pip install moonbit-metrics-validator

Usage

from moonbit_metrics_validator import validate_snapshot, validate_payload

# Validate a single snapshot dict
validate_snapshot(snapshot)

# Validate the full metrics payload (with snapshots list)
validate_payload(payload)

License

MIT

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

moonbit_metrics_validator-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

moonbit_metrics_validator-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file moonbit_metrics_validator-1.0.0.tar.gz.

File metadata

File hashes

Hashes for moonbit_metrics_validator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 05dd0594c4636a7b039d85d9e4f0fba967891c0274efec068ebf3d12dfa42418
MD5 50efc3de575f335adf6d7e9956ff5d75
BLAKE2b-256 922165dbfd04fc9bd3abe1bd6aa40ee6076de0f64af85a88f575186ec45c3949

See more details on using hashes here.

File details

Details for the file moonbit_metrics_validator-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for moonbit_metrics_validator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd7b3fc984b43b6f4281cf67314447557c579f4909fadd958eb3df7fa3e4ea5
MD5 9314d9b6195c1db8fa051fb054ff3822
BLAKE2b-256 2482013820e1564840bc5463e9275c5e3950ba0f6d7ff3b1d7f42fc48732650a

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